Call center software for customer-centric teams
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The Aircall API allows developers to integrate Aircall's features into their
own applications. With the API, developers can manage account settings, make
and receive phone calls, send and receive text messages, and more.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
aircall: {
type: "app",
app: "aircall",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.aircall.io/v1/integrations/me`,
headers: {
Authorization: `Bearer ${this.aircall.$auth.oauth_access_token}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})