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 for each command posted to one or more channels in a Discord server
Emit new event each time a new card is linked to the Fidel API.
Creates a new card-linked program in the Fidel API. See the documentation
Allows for the removal of a previously linked card from the Fidel API. See the documentation
Links a new card to the Fidel API for monitoring transactions. 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 Fidel API allows you to link credit and debit cards to specific offers or programs, track transactions in real-time, and receive event-driven data. It's a powerful tool for creating loyalty and reward programs, providing insights into customer spending patterns, and automating financial operations. With Pipedream, you can craft workflows that leverage Fidel API's capabilities to trigger actions, sync data, and connect with other apps for enhanced automation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fidel_api: {
type: "app",
app: "fidel_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.fidel.uk/v1/programs`,
headers: {
"Content-Type": `application/json`,
"Fidel-Key": `${this.fidel_api.$auth.api_key}`,
},
})
},
})