with Mailersend and Discord Bot?
Emit new event when the recipient clicks a link in your email. See the documentation
Emit new event for each message posted to one or more channels
Emit new event when your email is successfully delivered with no errors. See the documentation
Emit new event when your email is not delivered. See the documentation
Emit new event when the recipient receives your email and opens it. See the documentation
Assign a role to a user. Remember that your bot requires the MANAGE_ROLES
permission. See the docs here
Create a new invite for the channel. See the docs here
The MailerSend API integrates with Pipedream to create powerful email automation workflows, enabling you to send transactional emails, create and manage templates, and track email activities like opens or clicks. With these capabilities, you can automate routine communications, personalize mass mailings based on user actions or data, and gain insights into your email campaign performances, all within the context of a serverless Pipedream workflow.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailersend: {
type: "app",
app: "mailersend",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mailersend.com/v1/domains`,
headers: {
Authorization: `Bearer ${this.mailersend.$auth.api_token}`,
},
})
},
})
The Discord Bot API unlocks the power to interact with Discord users and channels programmatically, making it possible to automate messages, manage servers, and integrate with other services. With Pipedream's serverless platform, you can create complex workflows that respond to events in Discord, process data, and trigger actions in other apps. This opens up opportunities for community engagement, content moderation, analytics, and more, without the overhead of managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discord_bot: {
type: "app",
app: "discord_bot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://discord.com/api/users/@me`,
headers: {
"Authorization": `Bot ${this.discord_bot.$auth.bot_token}`,
},
})
},
})