with Discord and FinerWorks?
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`,
},
})
},
})
FinerWorks is an online platform that allows users to print and drop ship fine art prints and other related products. With the FinerWorks API, you can automate the process of creating orders, managing items, and integrating print-on-demand services into your business. When used in Pipedream, it unlocks possibilities for streamlining how orders are processed, integrating with other services like payment gateways or customer relationship management systems, and automating notifications for order updates.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
finerworks: {
type: "app",
app: "finerworks",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.finerworks.com/v3/list_order_status_definitions`,
headers: {
"web_api_key": `${this.finerworks.$auth.web_api_key}`,
"app_key": `${this.finerworks.$auth.app_key}`,
},
})
},
})