This repository contains a production-ready Rudderstack destination for sending user events, profile data, and company information from Rudderstack to Chameleon.
Note: This integration sends data FROM Rudderstack TO Chameleon. For sending data from Chameleon to other systems, use Chameleon's client-side JavaScript integration with your analytics tools.
- Rudderstack Events → Events captured by your Rudderstack installation
- Transformer → Converts events to Chameleon's expected format
- Chameleon API → Data sent via HTTP POST to Chameleon's webhook endpoints
- Chameleon → Updates user profiles, companies, and tracks events
Integration Type: Server-to-server HTTP API destination
Authentication: X-Account-Secret header
Base URL: https://api.chameleon.io/v3/observe/hooks/
Supported Events & Endpoints:
| Rudderstack Event | Chameleon Endpoint | Purpose |
|---|---|---|
identify |
POST /profiles |
Create/update user profiles with traits |
track |
POST /events |
Track custom events for goals & segmentation |
group |
POST /companies |
Create/update company/organization data |
Not Supported: page events (Chameleon doesn't support page tracking via API)
- Once this destination is merged into Rudderstack, configure it in your dashboard
- Add your Chameleon Account Secret from Settings > API Tokens
- Enable the events you want to send (identify, track, group)
- Test the integration with sample events
- Account Secret: Required - Get from Chameleon dashboard
- User Identification: Use consistent
userIdbetween Rudderstack and Chameleon - Company Association: Use
company_uidin traits to link users to companies
- ✅ Destination transformer - Complete with proper error handling
- ✅ Event support - identify, track, group (page removed)
- ✅ Authentication - X-Account-Secret header integration
- ✅ API endpoints - Correct Chameleon webhook URLs
- ✅ Test suite - 90%+ coverage with real API scenarios
- ✅ Documentation - Complete setup and troubleshooting guides
- ✅ Production ready - Follows Rudderstack standards exactly
├── transformer/ # Main integration code
│ ├── src/v0/destinations/chameleon/
│ │ ├── config.js # Endpoint routing & mappings
│ │ ├── transform.js # Event transformation logic
│ │ └── data/ # JSON field mappings
│ ├── __tests__/ # Comprehensive test suite
│ └── README.md # Technical documentation
├── COLLABORATION_STRATEGY.md # Team workflow guide
└── README.md # This file
- Team Collaboration: Use this repo for internal development
- Testing: Run integration tests with your Chameleon account
- Rudderstack PR: Submit to
rudderlabs/rudder-transformerwhen ready - Production: Available to all Rudderstack users once merged