Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Creates a new newsletter and puts it in a queue to send. See the docs here
Creates or updates a contact if already exists. See the docs here
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`,
},
})
},
})
GetResponse API integrates email marketing and online campaign management tools into your applications for creating and managing mailing lists, newsletters, automated campaigns, and more. With Pipedream, this functionality expands, allowing you to automate workflows between GetResponse and various apps. Integration can trigger actions like updating contacts, processing event-driven emails, or syncing subscriber lists across platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
getresponse: {
type: "app",
app: "getresponse",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.getresponse.com/v3/accounts`,
headers: {
"X-Auth-Token": `api-key ${this.getresponse.$auth.api_key}`,
},
})
},
})