with Belco and Workflow Max?
Emit new conversation event when a new conversation is created. See the documentation
Add a note to a conversation specified by ID. See the documentation
Creates a new Client Group in Workflow Max. See the documentation
Deletes the specified client group. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
belco: {
type: "app",
app: "belco",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.belco.io/v1/users`,
headers: {
Authorization: `Bearer ${this.belco.$auth.api_token}`,
"accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
workflow_max: {
type: "app",
app: "workflow_max",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.workflowmax.com/me`,
headers: {
Authorization: `Bearer ${this.workflow_max.$auth.oauth_access_token}`,
"account_id": `${this.workflow_max.$auth.account_id}`,
},
})
},
})