Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Uploads a PDF document to the print-autopilot queue. 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 PrintAutopilot API facilitates the automation of print-on-demand services, allowing you to seamlessly create, manage, and track custom print orders right from within your Pipedream workflows. With this API, you can trigger printing and shipping of products like t-shirts, mugs, and posters as soon as a customer places an order, or batch process orders to optimize fulfillment. In Pipedream, harness these capabilities to build integrated workflows that connect PrintAutopilot with eCommerce platforms, CRM systems, or customer support tools to streamline your print-on-demand business.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
printautopilot: {
type: "app",
app: "printautopilot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://printautopilot.com/api/print-jobs`,
headers: {
Authorization: `Bearer ${this.printautopilot.$auth.connection_token}`,
"Accept": `application/json`,
},
})
},
})