customerio-reference-architecture

Featured

Implement Customer.io enterprise reference architecture. Use when designing integration layers, event-driven architectures, or enterprise-grade Customer.io setups. Trigger: "customer.io architecture", "customer.io design", "customer.io enterprise", "customer.io integration pattern".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Customer.io Reference Architecture ## Overview Enterprise-grade reference architecture for Customer.io: a service layer separating Track and App API concerns, event-driven processing with message queues, repository pattern for user-to-CIO sync, webhook event bus, and infrastructure as code. ## Architecture Principles 1. **Two Clients, Two Concerns** — `TrackClient` for behavioral data in, `APIClient` for messages out 2. **Event-Driven** — Message queues decouple your app from Customer.io API availability 3. **Idempotent Operations** — All writes safely retryable via content hashing 4. **Service Layer** — Business logic never calls Customer.io SDK directly 5. **Observability** — Every operation emits timing and error metrics ## Architecture Diagram ``` ┌─────────────┐ ┌───────────────────┐ ┌──────────────┐ │ Application │───>│ MessagingService │───>│ Track API │ │ Routes │ │ (service layer) │ │ identify() │ └─────────────┘ │ │ │ track() │ │ - identify users │ └──────────────┘ │ - track events │ │ - send txn emails │ ┌──────────────┐ │ │───>│ App API │ └───────────────────┘ │ sendEmail() │ │ │ broadcast() │ │ └──────────────┘ v ┌───────────────────┐ ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category