Skip to content
Book a call
All protocolsEmail sequence
protocol/email-sequence@1.0v1.010 steps · 5 gates · 3 client decisions

Email sequence

Plan, build and pace a multi-email sequence that gives every send its own reason to buy, previewed, canaried and launched only on the client's go.

Operator commands ↓

When to use

Use for a launch, a seasonal sale or an evergreen nurture in which several emails reach every eligible contact on a schedule. It covers the whole path from a contact file to a paced live send, including the deliverability checks that protect the sending domain.

Pipeline

Pipeline of Email sequence10 steps from Scope and sending readiness to Run and post-flight audit, with 5 gates, 3 of them client decisions, delivering a live, paced email sequence.Gate: Sending readinessGate: Build checksGate: Permission decisionGate: Preview approvalGate: Go-live approval01Scope and sendingreadinessOPERATOR02Intake dossierAGENT03Arc and cadenceAGENT04Design systemAGENT05Build and checkAGENT06Import contactsOPERATOR07Stage draft andpreviewsAGENT08Pace and forecastOPERATOR09Canary, then liveOPERATOR10Run and post-flightauditAGENTDELIVERSA live, paced emailsequenceSending readinessBuild checksPermission decisionPreview approvalGo-live approval01Scope and sending readinessOPERATOR02Intake dossierAGENT03Arc and cadenceAGENT04Design systemAGENT05Build and checkAGENT06Import contactsOPERATOR07Stage draft and previewsAGENT08Pace and forecastOPERATOR09Canary, then liveOPERATOR10Run and post-flight auditAGENTA live, paced email sequence
Step Client step Check Client decision Deliverable

Inputs

What the work needs before it starts. Every required input is in hand before step one.

NameTypeRequiredDescription
sending_domainconfigurationRequiredAn active sending domain with a webhook signing key and delivery events registered.
legal_identitytextRequiredThe legal company name and mailing address for the compliance footer, supplied by the client.
contact_fileCSV | XLSX | sheetRequiredThe contact list, with the basis on which its contacts may receive marketing email.
permission_decisioncolumn | attested | unknownRequiredA per-row consent column, a statement from the client, or unknown. Decided by the client, never inferred.
offerfactsRequiredThe offer, its dates, stock and any codes.
voice_samplesemailsOptionalPast emails and notes on the brand's voice.
reviewstextOptionalCustomer reviews that may be quoted, verbatim.
pacenumbersOptionalStart rate, hourly ramp, daily cap and sending hours, supplied by the client.

Outputs

NameTypeDescription
intake_dossierdocumentPast emails, voice, offer, stock and reviews in one place.
sequence_plantableThe arc: each email's reason to buy, the delay before it and the exit rules.
emailsHTML + plain textEach email built from the reusable design system, with a plain-text twin.
check_reportJSONSize, subject, preview text, claims, links and layout results for every email.
public_previewslinksSample previews of every email for the client's review.
forecastreportReach per email at the client's pace, with any shortfall named.
live_workflowworkflowThe launched, paced workflow with its post-flight audit.

Steps

  1. Step 1: Scope and sending readiness

    Operator

    Confirm the workspace, then check that the sending domain is active, the signing key is saved, delivery events are registered and the legal name and address are on file.

    Tool
    cli.ts context
    Artifact
    Readiness check

    GateSending readiness· decided by System

    The domain is active, delivery events are signed, and the compliance footer carries the client-supplied legal name and address.

  2. Step 2: Intake dossier

    Agent

    Collect past emails, the brand's voice, the offer and its dates, stock and verbatim reviews.

    Artifact
    Intake dossier
  3. Step 3: Arc and cadence

    Agent

    Give each email a different reason to buy, set the delay before each send, and define the exits: purchase, unsubscribe or suppression.

    Artifact
    Sequence plan with a delay table
  4. Step 4: Design system

    Agent

    Compose each email from reusable story blocks at 600 px wide, with one call to action and a plain-text twin.

    Artifact
    Email HTML and plain-text twins
  5. Step 5: Build and check

    Agent

    Check every email: body under 80 KB, subject up to 60 characters, preview text up to 110, claims checked against the offer, every link answering 200 with tracking parameters, no unknown merge tags, and no overflow from 320 to 640 px wide.

    Tool
    Email check suite
    Artifact
    Check report

    GateBuild checks· decided by System

    Every check passes on every email. A failure is fixed in the source, never waived.

  6. Step 6: Import contacts

    Operator

    Inspect the file locally, map its columns, record the client's permission decision, run the import dry, then import. New addresses are checked for deliverability before their first email.

    Tool
    cli.ts import inspect · import run
    Artifact
    Import receipt with counts

    GatePermission decision· decided by Client

    The client decides the permission basis for every import. It is never inferred from the file.

  7. Step 7: Stage draft and previews

    Agent

    Create the workflow as a draft, add each email with its delay and dates, and share public sample previews. Creating and publishing a workflow never sends email.

    Tool
    cli.ts workflow create · add-step · preview-link
    Artifact
    Draft workflow and preview links

    GatePreview approval· decided by Client

    The client approves every email from its preview before the workflow is activated.

  8. Step 8: Pace and forecast

    Operator

    Apply the client's start rate, ramp, caps and sending hours, then forecast the reach of every email. A target date is never a reason to raise a cap.

    Tool
    cli.ts forecast · plan
    Artifact
    Forecast per email
  9. Step 9: Canary, then live

    Operator

    Activate the workflow, send email one to at most five of the client's own seed inboxes, confirm placement and rendering, then go live only on the client's explicit instruction.

    Tool
    cli.ts workflow launch --canary · --live
    Artifact
    Live, paced workflow

    GateGo-live approval· decided by Client

    Nothing is sent to the list until the client approves the launch in so many words, and the canary must be accepted first. Paid sending volume is set only by the client's numbers.

  10. Step 10: Run and post-flight audit

    Agent

    Watch the first hour of sending, settle uncertain sends only from the provider's logs, stop contacts who bought elsewhere, and run the post-flight audit after any change.

    Tool
    cli.ts workflow status · contacts
    Artifact
    Post-flight audit

Gates

A gate must pass before the next step starts. Filled gates are the client's decisions; nothing is spent, published or sent before them.

GateDecided byRule
Sending readinessSystemThe domain is active, delivery events are signed, and the compliance footer carries the client-supplied legal name and address.
Build checksSystemEvery check passes on every email. A failure is fixed in the source, never waived.
Permission decisionClientThe client decides the permission basis for every import. It is never inferred from the file.
Preview approvalClientThe client approves every email from its preview before the workflow is activated.
Go-live approvalClientNothing is sent to the list until the client approves the launch in so many words, and the canary must be accepted first. Paid sending volume is set only by the client's numbers.

Failure modes

SymptomPrevention
An email step is duplicated after a lost answerAfter any error, read the workflow back before retrying. A published duplicate cannot be removed.
A contact may receive the same email twiceAn uncertain send is never resent. It is settled from the provider's logs, or marked not sent by the operator after checking them.
The live send starts faster than plannedThe warm-up clock runs whenever a workflow is active. Pause it between the canary and go-live.
Customers who bought on another store keep receiving sale emailsPurchases on an external store are not seen automatically. Buyers are stopped from an exported order file, or excluded by imported order counts.
A dated email reaches people after the sale has endedEvery dated email carries a send-after time and an expiry. Anyone not reached in time skips it.
Bounces damage the sending domainNew addresses are checked before their first email, and addresses rated uncertain wait until everyone else has been emailed.

Operator commands

Run by our operators and coding agents inside our own tooling. These are workflow commands, not public API endpoints. Every paid, publishing or sending command runs only after the client's approval.

Operator commandOpen a session

CLI="npx tsx --tsconfig scripts/comms/v2/tsconfig.json scripts/comms/v2/cli.ts --host <admin-host> --state <session-file>"
$CLI context    # read back the workspace name before anything else

Operator commandImport contacts

$CLI import inspect --file <contacts.csv>
$CLI import run --file <contacts.csv> --mapping <mapping.json> --permission column --dry-run
$CLI import run --file <contacts.csv> --mapping <mapping.json> --permission column

Operator commandBuild the sequence and share previews

$CLI workflow create --name "<campaign name>" --consent opted_in
$CLI workflow add-step <workflow-id> --subject "<subject>" --body-file email-1.html --delay 0
$CLI workflow add-step <workflow-id> --subject "<subject>" --body-file email-2.html --delay 16h-24h
$CLI workflow preview-link <workflow-id>

Operator commandForecast and launch, only on the client's go

$CLI forecast --sender <sender-id> --workflow <workflow-id> --target-days 4
$CLI workflow activate <workflow-id>
$CLI workflow launch <workflow-id> --canary <seed-contacts>
$CLI workflow launch <workflow-id> --live

Operator commandAccounts that send from Klaviyo (drafts only)

node scripts/klaviyo/klaviyo.mjs audiences --counts
node scripts/klaviyo/klaviyo.mjs push-email --manifest <manifest.json> --id <email-id> --from-email <sender> --include <list-id>