with Acquire and Discord?
The Acquire API integrates customer support tools into your apps, enabling live chat, voice and video calls, co-browsing, and AI chatbots. With Pipedream, you can automate customer interaction workflows, sync support tickets with other platforms, or trigger actions based on customer behavior. Pipedream's serverless platform allows you to connect Acquire with hundreds of other apps for seamless automation, all with minimal coding.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
acquire: {
type: "app",
app: "acquire",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.acquire.$auth.account_id}.acquire.io/api/v1/account/department`,
headers: {
Authorization: `Bearer ${this.acquire.$auth.api_key}`,
},
})
},
})
The Discord API interacts seamlessly with Pipedream, empowering you to craft customized automations and workflows for your Discord server. With this powerful integration, you can automate tasks like message posting, user management, and notifications, based on a myriad of triggers and actions from different apps. These automations can enhance the Discord experience for community moderators and members, by synchronizing with external tools, organizing community engagement, and streamlining notifications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discord: {
type: "app",
app: "discord",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://discord.com/api/users/@me`,
headers: {
Authorization: `Bearer ${this.discord.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})