Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
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 7todos API empowers you to streamline the task management process by allowing you to create, read, update, and delete todos within your 7todos lists. With Pipedream, you can leverage these capabilities to automate workflows, sync tasks across multiple platforms, set reminders, or even analyze task completion rates. By connecting 7todos to other apps, you can create a seamless ecosystem for personal productivity or team collaboration.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
seventodos: {
type: "app",
app: "seventodos",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://7todos.com/api/v1/auth`,
headers: {
"key": `${this.seventodos.$auth.key}`,
"workspaceId": `${this.seventodos.$auth.workspaceId}`,
},
})
},
})