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 for new agreements with the specified status(es) 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 Concord API provides access to a contract management platform that lets users automate the creation, negotiation, signing, and management of contracts. With the API, you can leverage Concord's features in a programmatic way, allowing for integration with external systems and automation of workflows. Using Pipedream, you can connect Concord's capabilities to a multitude of other services, trigger workflows based on events within Concord, or perform operations in Concord in response to triggers from other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
concord: {
type: "app",
app: "concord",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.concord.$auth.environment}.concordnow.com/api/rest/1/user/me`,
headers: {
"X-API-KEY": `${this.concord.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})