with Callingly and Dappier?
The Callingly API on Pipedream empowers you to automate call initiation and follow-ups, sync lead information, and manage user interactions in real-time. By leveraging Pipedream's serverless platform, you can seamlessly integrate Callingly with numerous other apps to streamline communication workflows, trigger calls based on specific actions, and analyze call data for insights.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
callingly: {
type: "app",
app: "callingly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.callingly.com/v1/clients`,
headers: {
Authorization: `Bearer ${this.callingly.$auth.api_token}`,
"Accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dappier: {
type: "app",
app: "dappier",
}
},
async run({steps, $}) {
const data = {
"query": `What is an MCP server?`,
}
return await axios($, {
method: "post",
url: `https://api.dappier.com/app/aimodel/am_01j06ytn18ejftedz6dyhz2b15`,
headers: {
Authorization: `Bearer ${this.dappier.$auth.api_key}`,
},
data,
})
},
})