Action types

Human approval for AI email and campaign sends

Let the agent draft, segment and schedule at full tilt. The send to a real list waits for a named person, so a broken merge tag or a mis-sized blast never reaches your subscribers.

email.sendcampaign.schedulecb.guard({ action }, fn)request_clearance
✦✦✦ AI agents email.send cleared

The problem

There's no recall button for email. An agent that builds campaigns is fine until it fires email.send, and then a wrong subject line, a merge tag that greets 80,000 people as {{first_name}}, a promo code live a day early, or a test meant for 500 that goes to the whole 240k list is already in inboxes. You can't unsend it. The impressions are made, the spam complaints roll in, and your domain reputation eats the cost whether the model wrote it or you did.

Most teams react by yanking the agent back to drafts and having a human rebuild every campaign in the ESP by hand, which is most of the work the agent was meant to take off your plate. The thing worth holding isn't the copy or the A/B variants. It's the one irreversible step: dispatch to a live audience.

How ClearedBy handles it

  1. 01

    The agent asks before it dispatches

    Your agent builds the campaign as usual, then calls request_clearance with the actual send: list or segment, recipient count, subject, schedule, and a rendered preview. The send.email call blocks until there's a verdict.

  2. 02

    Your policy clears the safe ones, holds the rest

    Seed lists, internal test segments and anything under your recipient threshold clear in milliseconds. A live-audience blast, a list 50x bigger than this agent's norm, a send outside your window, or one carrying an active discount code gets held for a named reviewer.

  3. 03

    A person signs the send off

    The reviewer opens the rendered email, the exact segment and the headcount in a fast queue, on desktop, mobile or Slack. They clear it, fix the schedule, or send it back for a rewrite. Only after that does the agent get a short-lived credential to actually dispatch.

  4. 04

    The verdict gets sealed

    Cleared, auto-cleared or rejected, every send drops into a tamper-evident, hash-linked record bound to the person who signed it: what went out, to which segment, how many recipients, and who approved it.

What the gate sees
email.send · "Summer sale — 30% off" · segment all-subscribers (214,802 recipients) · marketing-bot → held: 100x larger than this agent's typical send · routed to P. Adeyemi

FAQ

Does the reviewer see the real email, or just a summary?

The real thing. The hold carries the rendered HTML, the resolved subject line, the target segment and the recipient count, so the person is signing off on what subscribers will actually see, not a one-line description of it.

Will the ai-email-send-approval gate work with our ESP, like Klaviyo or Mailchimp?

Yes. ClearedBy gates the agent's send action, not your provider. Wrap the dispatch with guard() or have the agent request approval first, whatever ESP sits behind it.

Can small sends clear automatically while big blasts always wait?

That's the usual setup. Internal and seed lists and segments under your threshold clear instantly; anything above the line or aimed at a production list is held for a person every time.

What stops the agent from sending anyway while it's queued?

It can't. The credential to dispatch is only issued after a human clears the send, and it's short-lived, so a campaign sitting in the queue has no route to the outbox.

Won't a hold make us miss a scheduled send time?

Holds land in Slack and a mobile queue and usually clear in seconds. Set a buffer or an escalation so a time-sensitive campaign is reviewed before its window opens rather than after it's closed.

Related use cases

Let your agents run. Inside the rules you set.

Let the agent draft, segment and schedule at full tilt. The send to a real list waits for a named person, so a broken merge tag or a mis-sized blast never reaches your subscribers.