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 a new event is received from a HookDeck source.
Emit new event for each command posted to one or more channels in a Discord server
This endpoint lists all events, or a subset of events. See the documentation.
This endpoint lists all request, or a subset of requests. Requests are sorted by ingested_at
date. See the documentation.
This endpoint retries the events associated with a request. See the documentation.
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 Hookdeck API facilitates the management of webhooks, providing reliable webhook delivery, monitoring, and debugging solutions. With this API on Pipedream, you can automate workflows concerning incoming webhook data—transforming, routing, and ensuring they trigger the subsequent actions without fail. This could range from logging data for analysis, conditionally processing and forwarding webhook events to other endpoints, or integrating with third-party services for extended automation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hookdeck: {
type: "app",
app: "hookdeck",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.hookdeck.com/2023-01-01/events`,
headers: {
Authorization: `Bearer ${this.hookdeck.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})