with Brosix and HelpDesk?
Brosix is a secure instant messaging platform designed for enterprise communication. With the Brosix API on Pipedream, you can automate various messaging tasks, synchronize communication data across platforms, and trigger workflows from specific events within Brosix. Pipedream's serverless execution model and event-driven architecture enable you to integrate Brosix with numerous other services, enhancing collaboration and productivity without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
brosix: {
type: "app",
app: "brosix",
}
},
async run({steps, $}) {
const data = {
"apikey ": `${this.brosix.$auth.api_key}`,
"msg": `Thees I Like`,
}
return await axios($, {
method: "post",
url: `https://box-n2.brosix.com/api/v1/message/send/`,
data,
})
},
})
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}`,
},
})
},
})