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 for each command posted to one or more channels in a Discord server
Emit new event when a campaign contact is sent. You should set up a webhook in the Quentn UI workflow builder to send a POST request to this source by drag and drop the API Send
element.
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`,
},
})
},
})
Quentn is a marketing automation platform that enables users to streamline communication with their leads and customers. With the Quentn API on Pipedream, you can automate tasks like managing contacts, sending personalized emails, and triggering actions based on customer behaviors. It allows for a more targeted approach to marketing by engaging with your audience at critical points in the customer journey, all while saving time with automated workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
quentn: {
type: "app",
app: "quentn",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.quentn.$auth.system_id}.${this.quentn.$auth.server_id}.quentn.com/public/api/V1/terms`,
headers: {
Authorization: `Bearer ${this.quentn.$auth.api_key}`,
},
})
},
})