Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Adds a new lead or modifies an existing lead on your campaign. See the documentation.
Remove a lead from your campaign. 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 KickoffLabs API enables you to automate your referral marketing campaigns by integrating with their service. With this API, you can programmatically manage campaigns, leads, and rewards, allowing you to dynamically respond to new sign-ups or reward achievements. By connecting the KickoffLabs API to Pipedream, you can create powerful workflows that react to events in real-time, synchronize data across multiple services, or even trigger custom logic tailored to your marketing strategy.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kickofflabs: {
type: "app",
app: "kickofflabs",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.kickofflabs.com/v1/${this.kickofflabs.$auth.campaign_id}/subscribe`,
headers: {
"Content-Type": `application/json`,
},
params: {
email: `sergio@pipekit.pro`,
api_key: `${this.kickofflabs.$auth.api_key}`,
},
})
},
})