Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Emit new event for each message posted to one or more channels in a Discord server
Emit new event when all messages have been sent and analysis of the results is completed.
Emit new event when a new campaign is scheduled to be launched.
Emit new event for each command posted to one or more channels in a Discord server
This method adds contacts (email address and/or mobile phone numbers) of the contact to one or several lists, and also allows you to add/change values of additional fields and tags. See the docs here
This method unsubscribes the contact email or phone number from one or several lists. See the docs here
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`,
},
})
},
})
UniSender is a platform that empowers users to execute email and SMS marketing campaigns effectively. With the UniSender API on Pipedream, you can automate the process of managing contacts, designing emails, initiating campaigns, and analyzing the results. Implementing workflows that respond to subscriber actions, synchronize customer data across platforms, or dynamically update marketing lists becomes straightforward, enhancing the efficiency and personalization of your marketing efforts.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
unisender: {
type: "app",
app: "unisender",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.unisender.com/en/api/getUserInfo`,
params: {
format: `json`,
api_key: `${this.unisender.$auth.api_key}`,
},
})
},
})