---
name: "multi-channel-orchestrator"
description: "Build a multi-channel outreach orchestrator: define one sequence across email, LinkedIn and call tasks with day offsets and daily caps, write every channel's events to one log, apply cross-channel suppression (reply, bounce, opt-out, booked meeting, and account-level holds), generate a daily task list with one touch per person per day, send email through the sending tool and give LinkedIn and call steps to humans as tasks, and review weekly. Use when channels run in separate tools or people get duplicate touches."
---

# Multi-channel orchestrator

## Goal
One conversation with each prospect, however many channels it uses. Never contact someone who replied, bounced, opted out or already has a meeting, on any channel. Part of GTM engineering. Fed by: signal-detection-engine, icp-scoring-model, waterfall-enrichment-router, research-agent, champion-tracker, inbox-infrastructure-stack. Feeds: reply-classifier, deliverability-monitor, attribution-ledger, experiment-harness.

## When to use
- Email, LinkedIn and calls are run separately.
- People get contacted twice in a day or after they replied.
- Reps cannot see what already happened with an account.

## Inputs
- Prospects with start dates, and verified email, LinkedIn and phone where you have them.
- A sequence design.
- Event logs from every channel.
- Daily capacity per channel.

## Data model
`prospects`: `prospect_id, name, account_domain, email, linkedin_url, phone, start_date, tier`
`sequence.json`: `steps[step, day, channel], daily_caps, stop_events, account_hold_events`
`events`: `prospect_id, account_domain, date, type, detail`
`tasks`: `prospect_id, name, channel, step, due_date, task, status`
`suppressed`: `prospect_id, reason`
Event types: `step_done`, `replied`, `bounced`, `opt_out`, `meeting_booked`, `opportunity_open`, `positive_signal`.

## Step 1. Design the sequence
4 to 6 steps across 2 or 3 channels over 2 to 3 weeks. Each step has a purpose: introduce, add context, a human touch, a last note. Space steps by days, not hours. Write what each step says in one line. Only steps a person must do (LinkedIn actions, calls) are marked as human tasks.

## Step 2. One event log
Every tool writes to the same events table: sends, replies, bounces, opt-outs, meetings, task completions. If a tool has no webhook, import its export every day. The orchestrator reads only this log, never a tool's private state.

## Step 3. Suppress first
Before building tasks, drop a prospect when any of these exist:
- Any `replied`, `bounced`, `opt_out` or `meeting_booked` for that prospect, on any channel.
- Any account-level hold (`meeting_booked` or `opportunity_open` for anyone at the account).
- The prospect is on the global suppression list.
`opt_out` stops every channel at once and is never undone by a later event or import.

## Step 4. Build today's tasks
Run `scripts/orchestrate.py today sequence.json prospects.csv events.csv --today <date>`. For each remaining prospect, find the next step not yet marked `step_done` whose due date (start date plus the step's day) has arrived. One touch per person per day. Per channel, stop at the daily cap and fill slots by tier and signal score.

## Step 5. Hand off
- Email tasks go to the sending tool, which sends from the inboxes in inbox-infrastructure-stack and obeys their caps.
- LinkedIn tasks go to a person's task list with the message suggestion. A person takes the action inside the platform's rules. No bots, no scraping, no mass automation.
- Call tasks go to the rep with the research brief (research-agent).
After each action write `step_done` with the step number.

## Step 6. Review weekly
Replies and meetings by channel and by step. Suppression counts and reasons. Prospects with two touches in a day (should be zero). Cap utilisation. Change one thing per week and test it with the experiment-harness.

## Tool options
A sequencing tool for email with webhook events. A CRM for tasks, call logging and account holds. A script like the one here for the daily list when tools cannot do cross-channel suppression. A warehouse table for the event log. LinkedIn work stays manual or in the platform's own sanctioned tools.

## Output
`tasks.csv` with `status` of `task` or `suppressed`, and the suppression reason.

## Success metrics
- Share of touches that were suppressed correctly (audit a sample).
- Duplicate touches per week (target zero).
- Reply rate and meeting rate per channel and step.
- Time from a reply to every other channel stopping.

## Guardrails
- Opt-outs are honoured immediately on every channel and are permanent.
- Only contact people you have a lawful basis to contact, with real sender identity and an easy way to opt out.
- LinkedIn and other platforms: follow their terms. Humans do the actions.
- Call rules (do-not-call lists, hours, recording consent) apply in each region.
- Do not run parallel threads into one account without the account owner's agreement.
