With the Customer.io API, you can build a variety of applications and integrations to help you better engage with your customers. Some examples of what you can build include:
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}`,
},
})
},
})
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 uses API keys for authentication. When you connect your Customer.io account, Pipedream securely stores the keys so you can easily authenticate to Customer.io APIs in both code and no-code steps.
To connect your Customer.io account to Pipedream, sign in to your Customer.io account and navigate to Data & Integrations > Integrations > API, then copy your site_id
and api_key
fields and paste them below.