Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Adds a new contact or updates an existing one if the email address already exists in the Dex system. See the documentation
Generates a new reminder within the Dex system. See the documentation
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`,
},
})
},
})
The Dex API offers a path to streamline and automate your relationship management by allowing you to sync, update, and interact with your personal Dex CRM data programmatically. On Pipedream, you can leverage this API to create powerful automations that keep your network vibrant and your connections strong, without manual effort. By integrating Dex with other apps on Pipedream, you can tailor workflows that sync contact info, set reminders for follow-ups, or trigger personalized communications based on various criteria.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dex: {
type: "app",
app: "dex",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.getdex.com/api/rest/contacts`,
headers: {
"x-hasura-dex-api-key": `${this.dex.$auth.api_key}`,
},
})
},
})