Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Adds a new subscriber or updates existing subscriber's details for a specific list. See the documentation
Creates a new draft campaign ready to be filled in with details. See the documentation
Removes a subscriber from a specified list. 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 Sendy API allows you to programmatically manage email campaigns, subscribers, and lists. With Pipedream's capabilities, you can leverage Sendy API to create custom workflows that respond to events, synchronize data across platforms, and automate email marketing tasks. Pipedream provides a serverless platform where you can connect Sendy with hundreds of other apps without writing complex code, harnessing the power of Sendy's features with event-driven programming and API integration.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sendy: {
type: "app",
app: "sendy",
}
},
async run({steps, $}) {
const data = {
"api_key": `${this.sendy.$auth.api_key}`,
}
return await axios($, {
method: "post",
url: `https://sendy.email/dev2/api/brands/get-brands.php`,
headers: {
"Content-Type": `application/x-www-form-urlencoded`,
},
data,
})
},
})