Introduction
Trigger personalized email campaigns and customer journeys based on payment events. Send welcome emails for new customers, subscription updates, and payment failure notifications automatically through Customer.io.This integration requires your Customer.io Site ID and API Key.
Getting Started
1
Open the Webhook Section
In your Dodo Payments dashboard, navigate to Webhooks → + Add Endpoint and expand the integrations dropdown.

2
Select Customer.io
Choose the Customer.io integration card.
3
Enter Credentials
Provide your Customer.io Site ID and API Key in the configuration.
4
Configure Transformation
Edit the transformation code to format events for Customer.io’s Track API.
5
Test & Create
Test with sample payloads and click Create to activate the sync.
6
Done!
🎉 Payment events will now trigger Customer.io email automations.
Transformation Code Examples
Track Payment Events
track_payments.js
Track Subscription Lifecycle
track_subscriptions.js
Track Customer Attributes
track_attributes.js
Tips
- Use consistent event names that match your Customer.io campaigns
- Include relevant attributes for personalization
- Set proper customer identifiers for accurate tracking
- Use meaningful event names for campaign triggers
Troubleshooting
Events not triggering campaigns
Events not triggering campaigns
- Verify Site ID and API Key are correct
- Check that event names match your Customer.io campaigns
- Ensure customer identifiers are properly set
- Review Customer.io API rate limits
Transformation errors
Transformation errors
- Validate JSON structure matches Customer.io API format
- Check that all required fields are present
- Ensure event names and attributes are properly formatted