Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Creates a new user record in the website database. See the documentation
Updates a post in your website database. 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 Brilliant Directories API lets you tap into the functionality of your directory software, enabling you to automate tasks, manage listings, users, and more. With Pipedream, you can build serverless workflows integrating the Brilliant Directories API to streamline operations, sync data across platforms, and react to events in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
brilliant_directories: {
type: "app",
app: "brilliant_directories",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.brilliant_directories.$auth.website_domain}/api/v2/user/get`,
headers: {
"accept": `application/json`,
"X-Api-Key": `${this.brilliant_directories.$auth.api_key}`,
},
})
},
})