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 when a user has completed all tasks in a checklist. See the documentation
Creates or updates a user in Userflow. If the user does not already exist in Userflow, it will be created. If it already exists, the given attributes will be merged into the existing user's attributes. See the documentation
Finds an existing user by user ID or email, optionally filtering by group ID. 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 Userflow API allows you to automate and integrate the process of creating and managing in-app guides and walkthroughs. Using the API within Pipedream, you can programmatically trigger events, update user attributes, and manage flows, thereby creating a personalized user experience within your application. This opens up possibilities for syncing user data, customizing user onboarding experiences, and tracking user progress without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
userflow: {
type: "app",
app: "userflow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.userflow.com/users`,
headers: {
Authorization: `Bearer ${this.userflow.$auth.api_key}`,
"Userflow-Version": `2020-01-03`,
},
})
},
})