Skip to content

The node allows you to automate work in, and integrate with other applications. n8n has built-in support for a wide range of features, including creating and updating customers, tracking events, and getting campaigns.

On this page, you'll find a list of operations the node supports and links to more resources.


Refer to credentials for guidance on setting up authentication.

Examples and templates

For usage examples and templates to help you get started, take a look at n8n's integrations list.

Basic Operations#

  • Customer
    • Create/Update a customer.
    • Delete a customer.
  • Event
    • Track a customer event.
    • Track an anonymous event.
  • Campaign
    • Get
    • Get All
    • Get Metrics
  • Segment
    • Add Customer
    • Remove Customer

Example Usage#

This workflow allows you to create a customer and add them to a segment in You can also find the workflow on This example usage workflow would use the following nodes. - Start -

The final workflow should look like the following image.

A workflow with the node

1. Start node#

The start node exists by default when you create a new workflow.

2. CustomerIo node (upsert: customer)#

  1. First of all, you'll have to enter credentials for the node. You can find out how to do that here.
  2. Enter a customer id in the ID field.
  3. Click on the Add Field button and select 'Custom Properties' from the dropdown list.
  4. Click on the Choose Option To Add button.
  5. Enter name in the Key field.
  6. Enter the name of the customer in the Value field.
  7. Click on Execute Node to run the node.

Using the node to create a new customer

3. CustomerIo1 node (add: segment)#

  1. Select the credentials that you entered in the previous node.
  2. Select 'Segment' from the Resource field.
  3. Click on the gears icon next to the Customer IDs field and click on Add Expression.
  4. Select the following in the Variable Selector section: Nodes > CustomerIo > Output Data > JSON > id. You can also add the following expression: {{$node["CustomerIo"].json["id"]}}.
  5. Click on Execute Node to run the node.

Using the node to add the customer to a segment