with Discord and Autobound?
Write personalized content using Autobound. See the documentation
Send a simple or structured message (using embeds) to a Discord channel
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`,
},
})
},
})
The Autobound API enables sales teams to enhance outreach by providing targeted sales communications. By leveraging data like industry news, hiring changes, and company growth, Autobound helps to personalize sales pitches and increase the relevance of your messages. With Pipedream, you can automate workflows using the Autobound API, connecting sales insights with other apps to create powerful sales automation systems, track engagement, and streamline communications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
autobound: {
type: "app",
app: "autobound",
}
},
async run({steps, $}) {
const data = {
"contactEmail": "michael@pipedream.com",
"userEmail": "sergio@pipekit.pro",
"contentType": "email"
}
return await axios($, {
method: "post",
url: `https://api.autobound.ai/api/external/generate-content/v3.1`,
headers: {
"X-API-KEY": `${this.autobound.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})