with Customer.io and Appcues?
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
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}`,
},
})
},
})
The Appcues API enables developers to enrich and automate the user onboarding and engagement processes. By interfacing with Appcues, you can programmatically manage flows, segments, and events, and integrate user experience data into other systems for analysis or action. This supports creating customized, scalable user journeys and leveraging user interactions for informed decision-making across your business applications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
appcues: {
type: "app",
app: "appcues",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.appcues.com/v2/accounts/${this.appcues.$auth.account_id}/flows`,
auth: {
username: `${this.appcues.$auth.api_key}`,
password: `${this.appcues.$auth.api_secret}`,
},
})
},
})