Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Locates a specific contact in the database using the email. 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 Contact Enhance API allows you to enrich contact data by providing detailed information on individuals or companies based on email, domain, or other identifying data. With this API integrated into Pipedream, it's possible to automate enriching contact lists, validate and score leads for marketing, and augment customer profiles for better personalization. Pipedream's serverless platform enables these tasks to be set up with minimal coding, leveraging a vast array of triggers and actions from various apps to create powerful workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
contact_enhance: {
type: "app",
app: "contact_enhance",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://contactenhance-91b9c0ef8a71.herokuapp.com/contacts`,
headers: {
"Content-Type": `application/json`,
"Authorization": `${this.contact_enhance.$auth.api_key}`,
},
params: {
email: `email@example.com`,
},
})
},
})