MARKETING

Spam-Complaint Feedback Loop: Quarantine Segment and Open a Diagnosis Ticket

On each inbound spam-complaint webhook it tallies complaints per campaign and domain, and once a campaign crosses the complaint-rate limit it quarantines the affected segment.

CategoryMarketing
Enginesim
Difficultyintermediate
Triggerwebhook
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerSpam-complaint (FBL) webhook receivedHTTP webhook
  • ActionUpdate complaint + send counts per campaignPostgreSQLPostgres
  • LogicComplaint rate over limit?
  • ActionQuarantine remaining campaign segmentPostgreSQLPostgres
  • ActionOpen Linear diagnosis ticketLinearLinear
  • OutputNotify team in SlackSlack

What it does

This sentinel consumes Feedback Loop (FBL) complaint events as they arrive by webhook. It updates a running complaint count per campaign and recipient domain, then evaluates whether the campaign's complaint rate has exceeded the safe ceiling (default 0.1%). When it has, the workflow tags the campaign's remaining audience as quarantined, opens a Linear ticket pre-filled with the campaign, domain, and complaint trend, and posts a heads-up to Slack so a human can investigate creative or list-source problems.

When to use it

Use this when complaints, not bounces, are your early-warning signal. Mailbox providers throttle senders on complaint rate long before bounces spike, so catching a single campaign's complaint surge in real time protects inbox placement for everything else.

How it works

  1. 1An inbound webhook delivers a spam-complaint (FBL) event.
  2. 2Postgres increments complaint and send counts for the campaign and domain, returning the current rate.
  3. 3A logic step checks whether the complaint rate is over the limit.
  4. 4Postgres marks the remaining campaign segment as quarantined.
  5. 5Linear opens a diagnosis ticket with the campaign, domain, and complaint figures.
  6. 6Slack notifies the marketing team with a link to the ticket.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect HTTP webhookTrigger any URL on agent actions.
  2. 2
    Connect PostgresAny Postgres URL — query, write, migrate.
  3. 3
    Connect LinearIssues, projects, cycles, triage.
  4. 4
    Connect SlackChannels, DMs, threads, mentions.
  5. 5
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  6. 6
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  7. 7
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.