When a campaign is sent, the API dispatches a Celery background task that orchestrates the entire delivery pipeline. This page explains the full flow.Documentation Index
Fetch the complete documentation index at: https://docs.montereyfinancial.dev/llms.txt
Use this file to discover all available pages before exploring further.
Execution pipeline
Recipient resolution
The campaign’s configured MSSQL query runs against the legacy ERP database to fetch recipient records. Each record includes an email address and any merge field data needed for personalization.
Bounce suppression
Historical bounce records are checked against the recipient list. Any email address with a hard bounce is suppressed to protect sender reputation. Each suppression is logged with a reason.
Template sync
The campaign’s template (and any A/B variant templates) are synced to Campaigner via the
CreativeSyncService, ensuring the latest content is available for delivery.IFUR file generation
An IFUR (Individual Follow-Up Request) file is generated containing per-recipient merge data formatted for MegaSys automation.
MegaSys upload
The IFUR file is uploaded to MegaSys via Windows desktop automation, triggering the email send through Campaigner.
Campaign runs
Each send creates a campaign run that captures the execution metadata:| Endpoint | Purpose |
|---|---|
GET /campaign-runs/ | List runs (filter by campaign or workspace) |
GET /campaign-runs/{id} | Get run details |
Recipient logs
Recipient logs record the per-recipient send decision:| Endpoint | Purpose |
|---|---|
GET /campaign-recipient-logs/ | List logs with filters for campaign, variant, run, decision status, suppression reason |
GET /campaign-recipient-logs/{id} | Get a single log entry |
sent, suppressed, and errored. Suppressed logs include a reason (e.g., hard_bounce, unsubscribed).

