Customer.io Hello World
Overview
Create a minimal working Customer.io example that identifies a user and triggers an event.
Prerequisites
-
Completed customerio-install-auth skill
-
Customer.io SDK installed
-
Valid Site ID and API Key configured
Instructions
Step 1: Create Basic Integration
Step 2: Run the Example
Step 3: Verify in Dashboard
For detailed implementation code and configurations, load the reference guide: Read(${CLAUDE_SKILL_DIR}/references/implementation-guide.md)
-
Go to Customer.io dashboard
-
Navigate to People section
-
Search for "user-123" or "hello@example.com"
-
Verify user profile shows attributes
-
Check Activity tab for "hello_world" event
Output
-
User created/updated in Customer.io
-
Event recorded in user's activity log
-
Console output confirming success
Error Handling
Error Cause Solution
401 Unauthorized Invalid credentials Verify Site ID and API Key
400 Bad Request Invalid data format Check attribute names and types
User not found Identify not called Always identify before tracking events
Event not showing Dashboard delay Wait 1-2 minutes and refresh
Examples
Python Hello World
With Anonymous User
Resources
-
Identify API
-
Track API
Next Steps
After verifying hello world works, proceed to customerio-local-dev-loop to set up your development workflow.