Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Sends a new Push notification to the user. 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 Push by Techulus API offers a straightforward way to send notifications directly to your devices. With this functionality within Pipedream, you can craft workflows that alert you or someone else when certain events happen in your apps or in your code. Think of it as wiring a custom doorbell for the digital events that matter to you. Whether you're tracking sales on your e-commerce platform, monitoring website uptime, or just want to get pinged when your long-running script finishes, Push by Techulus nudges you in real time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
push_by_techulus: {
type: "app",
app: "push_by_techulus",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://push.techulus.com/api/v1/notify/${this.push_by_techulus.$auth.api_key}`,
headers: {
"x-api-key": `${this.push_by_techulus.$auth.api_key}`,
"Content-Type": `application/json`,
},
params: {
title: `Welcome to Push by Techulus`,
body: `This is your first notification`,
},
})
},
})