with Pilvio and ServiceNow?
The Pilvio API is a powerful tool that allows users to manage virtual phone systems. With it, you can create and manage phone numbers, handle inbound and outbound calls, send and receive SMS messages, and implement IVR (Interactive Voice Response) systems. When combined with Pipedream's capabilities, the Pilvio API can automate various aspects of communication workflows, effectively integrating telephony features into your business processes or applications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pilvio: {
type: "app",
app: "pilvio",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.pilw.io/v1/user-resource/user`,
headers: {
"apikey": `${this.pilvio.$auth.api_token}`,
},
})
},
})
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}`,
},
})
},
})