Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Add people to a manual segment by ID. You are limited to 1000 customer IDs per request. See the docs here
Sends, tracks a customer event to Customer io. See the docs here
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`,
},
})
},
})
Customer.io is a versatile automation tool that allows you to harness the power of email, SMS, and push notifications to create personalized customer experiences. With its comprehensive API, Customer.io enables you to track customer interactions, segment audiences, and trigger targeted communications based on user behavior and data. By leveraging Pipedream, you can easily connect Customer.io to various other services and APIs to automate complex workflows, synthesize data, and respond to events in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
customer_io: {
type: "app",
app: "customer_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://track.customer.io/api/v1/accounts/region`,
auth: {
username: `${this.customer_io.$auth.site_id}`,
password: `${this.customer_io.$auth.api_key}`,
},
})
},
})