Customer.io

Send Automated Messages. Deliver Results.

Integrate the Customer.io API with the Filter API

Setup the Customer.io API trigger to run a workflow which integrates with the Filter API. Pipedream's integration platform allows you to integrate Customer.io and Filter 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
Continue execution if a condition Is met with the Filter API

Continue workflow execution only if a condition is met

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

Creates or update a customer. See the docs here

 
Try it
End execution if a condition is met with the Filter API

End workflow execution if a condition is met

 
Try it
Send Event To with the Customer.io API

Sends an 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}`,
      },
    })
  },
})

Overview of Filter

The Filter API in Pipedream allows for real-time data processing within workflows. It's designed to evaluate data against predefined conditions, enabling workflows to branch or perform specific actions based on those conditions. This API is instrumental in creating efficient, targeted automations that respond dynamically to diverse datasets. Using the Filter API, you can refine streams of data, ensuring that subsequent steps in your Pipedream workflow only execute when the data meets your specified criteria. This cuts down on unnecessary processing and facilitates the creation of more intelligent, context-aware systems.

Connect Filter

1
2
3
4
5
6
7
8
9
10
export default defineComponent({
  async run({ steps, $ }) {
    let condition = false
    if (condition == false) {
      $.flow.exit("Ending workflow early because the condition is false")
    } else {
        $.export("$summary", "Continuing workflow, since condition for ending was not met.")
    }
  },
})