Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Creates a new user. Your user management settings determine how you should setup your user model. See the documentation
Creates a new invitation for the given email address and sends the invitation email. Keep in mind that you cannot create an invitation if there is already one for the given email address. Also, trying to create an invitation for an email address that already exists in your application will result to an error. See the documentation
Retrieve a list of the user's organization memberships. 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 Clerk API lets you manage user authentication and create secure, delightful user experiences in your apps. Within Pipedream's serverless platform, you can harness this API to automate workflows that trigger on user events, sync user data across apps, and maintain robust user management without the heavy lifting of building authentication infrastructure from scratch.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clerk: {
type: "app",
app: "clerk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.clerk.com/v1/users`,
headers: {
Authorization: `Bearer ${this.clerk.$auth.secret_key}`,
},
})
},
})