Customer.io All Customers (Custom) Help

Hi,

I’m trying to cleanup customer.io from emails who shouldn’t be there and only add to the cost.

My first step is to connect to customer IO and get all customers with a particular filter.

I’ve created a custom HTTP request (the POST /v1/customers is not available in n8n) and I get the following data when executing:

[{
	"identifiers": [{
			"cio_id": "cdcd0700bc01bd01",
			"id": "ab96b0007d3e7957136a555971c27453",
			"email": "[email protected]"
		},
		{
			"cio_id": "cdcd0700bd01be01",
			"id": "821f274833e15135aabc6938e973ea0b",
			"email": "[email protected]"
		}
	]
}]
...
...
...

I’ve tried the items list to iterate through the items but it doesn’t seem to work.
Operation: Split Out Items
Field to Split Out: {{ $json["identifiers"] }}[]

I get:

ERROR: Couldn’t find the field '[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],

Trying to migrate from Make.com and I just expected this to be a little easier for someone technical.

Any tips?

Thanks
Joao

Information on your n8n setup

  • **n8n version: Desktop **
  • Database you’re using (default: SQLite):

Try with just « identifiers » not in a formula but as a plain text

ha! It worked! How did you do that!?

Thank you!!!
Joao

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.