What this layer controls
- Who is in which segment, and why
- Which journey a contact is on, and where they are in it
- Suppression, frequency caps and quiet hours
- Whether a campaign can be reviewed before it sends, and rolled back after
What it looks like when it is wrong
These are the symptoms that show up in a marketing report or a Monday meeting. Each one has a technical cause in this layer, and each is cheaper to fix before it has a quarter of history behind it.
- A contact receives the same offer from three journeys
- Nobody can explain why a contact is in a segment
- Per-contact pricing quietly caps how finely you segment
- A journey change cannot be reviewed like code, so nobody knows what shipped
- Unsubscribes are honoured in one channel and ignored in another
An open-source stack for this layer
Every project below is open source and self-hostable, with the licence the project publishes today. This is a reference build, not a recommendation to run all of it: pick the layers your stack is missing.
| Layer | Project | Licence | What it does |
|---|---|---|---|
| Automation platform | Mautic | GPL-3.0 | Contacts, segments, campaigns, forms and tracking, with no per-contact fee. |
| Sending | Listmonk or Postal | AGPL-3.0 / MIT | Newsletter and transactional delivery from your own infrastructure, with bounce handling. |
| Orchestration | Apache Airflow | Apache-2.0 | Scheduled jobs: segment refreshes, suppression sync, cohort exports. |
| Event source | PostHog or your own event API | MIT (core) | Emits the behavioural events that start journeys. |
| Identity | Your CRM as the source of truth | n/a | One canonical contact id across automation, CRM and billing. |
Evaluation checklist
Answer each of these about your current stack. A ‘no’ is a work item, and the count is a fair summary of the layer’s health.
- Is every journey defined as a reviewable artefact with a version?
- Is there a global suppression list enforced at send time, not at build time?
- Can a contact’s full message history be reconstructed in one query?
- Are frequency caps and quiet hours enforced centrally?
- Does each journey have an exit condition, or can contacts loop?
- Is the segment definition visible to the person who receives the message?
What to instrument
Numbers that make the layer’s health visible before a customer complains.
- Duplicate contacts per canonical id (target: zero)
- Journey exit rate vs completion rate
- Unsubscribe and complaint rate per journey
- Time from event to first message
Where this fits
Scope. This page describes the category and an open-source way to build it. It does not publish 5 Kings’ internal method, client data or vendor terms, and it is not an endorsement of every project listed: check the licence and the maintenance activity against your own constraints before you adopt one.