with Chaport and Synthflow?
The Chaport API lets you harness the power of live chat automation, enabling seamless communication between customers and support agents. With Pipedream, you can connect the Chaport API to a vast array of services to automate notifications, sync chat data, and streamline customer interactions. Whether you're triggering workflows from new messages or updating CRM records, Chaport via Pipedream makes it possible to create custom automation that extends the utility of live chat across your business ecosystem.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
chaport: {
type: "app",
app: "chaport",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.chaport.com/api/v1/operators`,
headers: {
Authorization: `Bearer ${this.chaport.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
synthflow: {
type: "app",
app: "synthflow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.synthflow.ai/v2/assistants`,
headers: {
Authorization: `Bearer ${this.synthflow.$auth.api_key}`,
},
})
},
})