Customer.io

Send Automated Messages. Deliver Results.

Integrate the Customer.io API with the Bash API

Setup the Customer.io API trigger to run a workflow which integrates with the Bash API. Pipedream's integration platform allows you to integrate Customer.io and Bash remarkably fast. Free for developers.

Add Customers to Segment with the Customer.io API

Add people to a manual segment by ID. You are limited to 1000 customer IDs per request. See the docs here

 
Try it
Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it
Create or Update Customer with the Customer.io API

Creates or update a customer. See the docs here

 
Try it
Send Event To with the Customer.io API

Sends an event to Customer.io. See the docs here

 
Try it
Send Event To Customer io with the Customer.io API

Sends, tracks a customer event to Customer io. See the docs here

 
Try it

Overview of Customer.io

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.

Connect Customer.io

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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}`,
      },
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id

# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS