Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Sends a message to a verified WhatsApp number. 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 WhatsAble API enables automated interactions with WhatsApp, allowing you to send messages, create groups, and manage contacts programmatically. Integrating WhatsAble with Pipedream, you can craft serverless workflows that react to various triggers and perform actions on WhatsApp, like sending notifications or processing incoming messages. Pipedream's capability to connect with hundreds of apps opens up a multitude of automation possibilities, streamlining communication tasks and linking WhatsApp with your digital ecosystem.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
whatsable: {
type: "app",
app: "whatsable",
}
},
async run({steps, $}) {
const data = {
"to": `{{your_verified_phone_number}}`, // Replace with Verified WhatsApp numbers
"text": `Hello`,
}
return await axios($, {
method: "post",
url: `https://dashboard.whatsable.app/api/whatsapp/messages/send`,
headers: {
"Authorization": `${this.whatsable.$auth.api_key}`,
},
data,
})
},
})