Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Execute a runbook and receive a session ID to track the runbook's execution. See the documentation
Execute a task with a set of parameter values and receive a run ID to track the task's execution. See the documentation
Submit a prompt with a set of parameter values. 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 Airplane API facilitates the creation and management of tasks and runs within the Airplane toolkit, which is geared towards automating developer operations and internal tools. In Pipedream, you can leverage this API to automate workflows, integrate with various services, and handle background tasks. By connecting Airplane to other apps on Pipedream, you can streamline processes like deploying code, managing feature flags, or orchestrating complex workflows that interact with other APIs and services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
airplane: {
type: "app",
app: "airplane",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.airplane.dev/v0/runs/list`,
headers: {
"X-Airplane-API-Key": `${this.airplane.$auth.api_key}`,
},
})
},
})