Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Emit new event for each message posted to one or more channels in a Discord server
Emit new event when a new access token activity happens. See the documentation.
Emit new event for each command posted to one or more channels in a Discord server
Emit new event when flag activity occurs. See the documentation.
Evaluates an existing feature flag for a specific user or in a general context. See the documentation.
Toggles the status of a feature flag, switching it from active to inactive, or vice versa. See the documentation
Updates an existing feature flag using a JSON object. 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 LaunchDarkly API provides programmatic control over feature flags and toggle management, allowing for real-time updates across different environments. By leveraging these capabilities with Pipedream, developers can automate feature rollouts, audience targeting, and performance monitoring. Through Pipedream's event-driven architecture, you can orchestrate workflows that react to changes in LaunchDarkly, sync feature flag data with other tools, and manage flag lifecycles with precision.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
launchdarkly: {
type: "app",
app: "launchdarkly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.launchdarkly.com/api/v2/projects`,
headers: {
"authorization": `${this.launchdarkly.$auth.access_token}`,
},
})
},
})