with SupportBee and HelpDesk?
SupportBee's API hooks into its customer support ticketing system, allowing for programmatic ticket management, reporting, and collaboration. With Pipedream, you can leverage this API to automate responses, escalate issues based on keywords, or sync with other tools to streamline your support workflow.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
supportbee: {
type: "app",
app: "supportbee",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.supportbee.$auth.domain}.supportbee.com/users`,
headers: {
"Content-Type": `application/json`,
"Accept": `application/json`,
},
params: {
auth_token: `${this.supportbee.$auth.api_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
helpdesk: {
type: "app",
app: "helpdesk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.helpdesk.com/v1/agents`,
headers: {
"content-type": `application/json`,
},
auth: {
username: `${this.helpdesk.$auth.account_id}`,
password: `${this.helpdesk.$auth.access_token}`,
},
})
},
})