Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Creates a new document in your account from an uploaded file or a URL. See the documentation for file. See the documentation for URL
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 Click2Mail API enables automated mailing solutions, letting you integrate direct mail processes within your digital workflows. On Pipedream, you can harness this API to craft serverless workflows that interact with other apps and services. Create, manage, and send postal mail without leaving your digital ecosystem. Automate mail for marketing, invoicing, or any correspondence that requires a physical mail presence.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
click2mail2: {
type: "app",
app: "click2mail2",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.click2mail2.$auth.subdomain}.click2mail.com/molpro/credit`,
headers: {
"Accept": `application/json`,
},
auth: {
username: `${this.click2mail2.$auth.username}`,
password: `${this.click2mail2.$auth.password}`,
},
})
},
})