A broadcast is one-shot: once it's sent, there's no taking it back. So the order is fixed:
1. Check how many people it'll reach first
estimate_broadcast_audience (Admin: Broadcasts → Audience estimate). Audience can be filtered by tag / language / whether they've purchased / dynamic segment.If it comes back with 0 people, the filter is probably wrong — get this number right before you write the copy.
Dynamic segments: automatically group people by condition, like "purchased, hasn't come back in 30 days" or "lead score above 60." Have AI call list_segments to see existing segments and their counts, upsert_segment to create a new one (a bad rule gets flagged right away with where it's wrong, and once saved it tells you immediately how many people it matched), and delete_segment to remove one (you can't delete a segment that an unsent broadcast is still using). When sending a broadcast, put the segment id into the audience.Note: segments are evaluated against customer profiles, which only exist for customers who've chatted with AI support or have a lead-score record. Customers who've only ever left an email with no other interaction won't be in any segment — use tags to reach everyone.
Admin and super-admin emails are excluded by default, so a broadcast never accidentally goes out to your own team.
2. Create a draft, not a send
create_broadcast only creates a draft. Call it with preview on and it writes nothing to the database, while telling you right away how many people this will reach.
language:auto(follows each recipient's own language, recommended) /zh-hans/en- Fill in
scheduledAtand it becomes scheduled — it sends automatically at that time without asking again. Leave it blank if you're not sure yet.
Want to double-check what you wrote after the fact? get_broadcast (pass the broadcast id) reads back the full body, subject, A/B second subject line, and audience conditions — the broadcast list only shows stats, not the content, to keep it from getting cluttered.
3. Send yourself a test first
send_broadcast_test sends this broadcast to an email address you specify, with "[TEST]" added to the front of the subject. Everything else looks exactly like the real send — branding, logo, merge variables and all. Check it over before sending for real.
4. Confirm, then send
send_broadcast is the real send. Once sent, the admin panel delivers it in batches a few minutes apart — use the broadcast list to track delivery, opens, and clicks.
Want to stop partway through? set_broadcast_status with pause pauses it (the rest holds off), resume continues it, and cancel cancels what's left. Anything already sent can't be recalled.
Deleting one you created by mistake
delete_broadcast (Admin: Broadcast list → Delete).
| Status | Can you delete it? |
|---|---|
| Draft | ✅ Yes |
| Scheduled (hasn't fired yet) | ✅ Yes — deleting it cancels the send |
| Sending / Sent | ❌ No |
Once something's been sent, it becomes a historical record — who it went to, how many opened it, which links got clicked, all live attached to it — and deleting it would break those numbers.If you just don't want it cluttering the top of the list, rename it instead; the record stays either way.
Why broadcasts must go through your own Resend account
See "Configuring Email Sending." Short version: broadcasts are the single biggest risk to your sender reputation, so each site needs its own account.