with Booking Experts and ServiceNow?
Emit new event for each booking updated. See the documentation
Emit new event when an inventory object is updated. See the documentation
Emit new event for each new booking created. See the documentation
Emit new event when a new inventory object is created. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
booking_experts: {
type: "app",
app: "booking_experts",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.bookingexperts.com/v3/users`,
headers: {
"x-api-key": `${this.booking_experts.$auth.api_key}`,
"accept": `application/vnd.api+json`,
},
})
},
})
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}`,
},
})
},
})