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 ncScale API offers scalable solutions for handling complex data transformations, computations, and integrations. By leveraging this API on Pipedream, you can automate and streamline processes like real-time data analysis, dynamic resource allocation, and system monitoring. Pipedream's serverless platform allows you to trigger workflows with HTTP requests, emails, and over 800+ integrations, making it highly versatile for incorporating ncScale's capabilities into a variety of systems.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ncscale: {
type: "app",
app: "ncscale",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.ncscale.$auth.subdomain}.ncscale.io/v1/tools`,
headers: {
Authorization: `Bearer ${this.ncscale.$auth.api_token}`,
"Accept": `application/json`,
},
})
},
})