Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
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`,
},
})
},
})
Sendfox is an email marketing tool designed for content creators. You can automate your email marketing operations by programmatically managing contacts, campaigns, and lists. Pipedream leverages this by allowing you to connect Sendfox with numerous other apps, providing a seamless integration platform to streamline your email marketing workflows. Automate the process of gathering leads from various platforms, syncing your subscriber lists, or triggering personalized email sequences based on specific actions or events.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sendfox_personal_access_token: {
type: "app",
app: "sendfox_personal_access_token",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sendfox.com/me`,
headers: {
Authorization: `Bearer ${this.sendfox_personal_access_token.$auth.access_token}`,
},
})
},
})