{"id":"32","name":"Create a customer and add them to a segment in Customer.io","nodes":[{"name":"On clicking 'execute'","type":"n8n-nodes-base.manualTrigger","position":[440,260],"parameters":{},"typeVersion":1,"id":"81399e65-f538-46c8-8552-c9475c268af6","notes":"This manualTrigger node performs automated tasks as part of the workflow."},{"name":"CustomerIo","type":"n8n-nodes-base.customerIo","position":[650,260],"parameters":{"id":"2","additionalFields":{"customProperties":{"customProperty":[{"key":"YOUR_CREDENTIAL_HERE","value":"n8n"}]}}},"credentials":{"customerIoApi":"cust"},"typeVersion":1,"id":"9d81afc9-f27a-4e2d-91ae-8af6e8d7d74d","notes":"This customerIo node performs automated tasks as part of the workflow."},{"name":"CustomerIo1","type":"n8n-nodes-base.customerIo","position":[840,260],"parameters":{"resource":"segment","customerIds":"={{$node[\"CustomerIo\"].json[\"id\"]}}"},"credentials":{"customerIoApi":"cust"},"typeVersion":1,"id":"6a158d0b-8475-49d3-9c6d-c289fe6fe88b","notes":"This customerIo node performs automated tasks as part of the workflow."},{"id":"error-7377bb00","name":"Error Handler","type":"n8n-nodes-base.stopAndError","typeVersion":1,"position":[1000,400],"parameters":{"message":"Workflow execution error","options":{}}}],"active":false,"settings":{"executionOrder":"v1","saveManualExecutions":true,"callerPolicy":"workflowsFromSameOwner","errorWorkflow":null,"timezone":"UTC","executionTimeout":3600,"maxExecutions":1000,"retryOnFail":true,"retryCount":3,"retryDelay":1000},"connections":{},"description":"Automated workflow: Create a customer and add them to a segment in Customer.io. This workflow processes data and performs automated tasks.","meta":{"instanceId":"workflow-990cec08","versionId":"1.0.0","createdAt":"2025-09-29T07:07:49.257185","updatedAt":"2025-09-29T07:07:49.257201","owner":"n8n-user","license":"MIT","category":"automation","status":"active","priority":"high","environment":"production"},"notes":"Excellent quality workflow: Create a customer and add them to a segment in Customer.io. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."}