Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Initiates a process to add a new contact to your Pidj account. See the documentation.
Triggers a pre-configured text survey to a specific contact. Requires the contact's information and the survey ID. See the documentation.
Sends a text message to a specified phone number from your pidj account. 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 Pidj API allows users to manage and automate SMS communication directly through their platform. Integrating Pidj with Pipedream offers a powerful way to streamline communications, synchronize data across apps, and trigger SMS actions based on specific conditions. With Pipedream, you can effortlessly connect Pidj to other apps, creating sophisticated, multi-step workflows that react in real-time to events across your software stack.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pidj: {
type: "app",
app: "pidj",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://gopidj.com/api/2020/contacts`,
auth: {
username: `${this.pidj.$auth.account_key}`,
password: `${this.pidj.$auth.token}`,
},
})
},
})