with Timekit and ServiceNow?
Emit new event when a booking has a specific state. See the docs
Timekit is a flexible booking and resource management API that enables developers to create and manage appointments and calendars. With Timekit, you can automate the scheduling process, sync calendars, manage bookings, and craft customized booking experiences. Using Pipedream, you can leverage Timekit to create efficient workflows that automate scheduling-related tasks, trigger actions based on calendar events, and integrate with various other services for a seamless operational ecosystem.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
timekit: {
type: "app",
app: "timekit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.timekit.io/v2/users`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: ``,
password: `${this.timekit.$auth.api_key}`,
},
})
},
})
The ServiceNow API lets developers access and manipulate records, manage workflows, and integrate with other services on its IT service management platform. These capabilities support automating tasks, syncing data across platforms, and boosting operational efficiencies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
servicenow: {
type: "app",
app: "servicenow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.servicenow.$auth.instance_name}.service-now.com/api/now/table/incident`,
headers: {
Authorization: `Bearer ${this.servicenow.$auth.oauth_access_token}`,
},
})
},
})