Create and test your first broadcast
In this tutorial, you create a broadcast for people on a specific plan (using a person property filter), send a test to yourself, and leave it as a checked draft before anyone else gets it. You learn how audiences, message categories, unsubscribe links, and calendar spacing keep a broadcast safe.
Before you start
- Identified people with properties – PostHog captures people from your product, and each person you want to email has an
emailproperty and a person property to filter on (such asplan). See installation. - A verified sending domain – a broadcast can't launch until its sender's domain is verified, and broadcasts can't use the test sender. See set up your domain.
- Your own inbox – you send the first test to yourself. Nobody in the audience gets a test.
Create the broadcast
Pick how you want to learn. Both paths end at a tested draft, with nothing sent to real users.
Connect your agent
Run npx @posthog/wizard mcp add to connect the PostHog MCP to Claude Code, Cursor, Codex, or another agent. Then copy this prompt into your agent:
The agent explains each part before it builds it, and saves its work as a draft. Check what you see at each checkpoint before you tell it to continue.
Checkpoint 1: The audience
What the agent explains: the audience filter decides who gets the email, so it decides how many people one mistake reaches. Broadcasts filter on person properties, property-based cohorts, or static cohorts. One email broadcast can reach up to one day of your sending allowance (or more if you set a sending rate limit).
What you should see: the person-property filter (or static cohort) you picked, and about how many people it reaches. The agent tells you if the audience is bigger than your daily allowance.
Checkpoint 2: The message category and the unsubscribe link
What the agent explains: a broadcast is marketing email. With a marketing message category, PostHog skips everyone who opted out of that category, and the broadcast follows your frequency cap. Every marketing email needs an unsubscribe link.
What you should see: the message category that the agent picked, and an Unsubscribe link block in the email footer.
Checkpoint 3: The draft and the calendar
What the agent explains: the email content, and how the calendar spaces marketing sends. A day that would give some people in this audience too many marketing emails shows as Too close to other sends.
What you should see: a preview of the email, with its subject and sender, and a send day that isn't too close to your other marketing sends. The broadcast is a saved draft, and the agent stops here.
Checkpoint 4: Send a test to yourself
Open the draft in Broadcasts. On the Review step, click Send test email, and enter your own address.
What you should see:
- The test in your inbox, with variables filled in from the person in the preview.
- The email reads well on desktop and on your phone, and each link works.
- The broadcast is still a draft. Launch it yourself only when you are ready. Your agent never sends it.
Go to Broadcasts, and click New broadcast. PostHog saves the broadcast as a draft as you go.
1. Pick the audience and the message category
On the Recipients step, pick Email. Add a person-property filter, such as plan equals free, or pick a static cohort. (Ordinary behavioral cohorts are not supported in broadcast audiences; snapshot one as a static cohort first if you want to target by past events.)
Pick a marketing Message category, so people can opt out of this kind of email.
What you should see: about how many people the broadcast reaches. If the audience is bigger than one day of your sending allowance, PostHog tells you.
2. Set a goal
This step is optional. Click Set a conversion goal, and pick the event that counts as a conversion, such as subscription_started.
What you should see: the goal event on the step. After the send, PostHog counts the recipients who do it.
3. Write the email
On the Content step, pick a sender, and write a subject. In the email editor:
- Type
/to add a block, such as a Button. - Type
{{to add a person property with Liquid, such as{{ person.properties.first_name }}. - Add the Unsubscribe link block in the footer.
What you should see: the email in the preview, with the unsubscribe link. The editor warns you if a marketing email has no unsubscribe link.
4. Check the calendar
On the Schedule step, pick Send later. The month view shows your other marketing sends. Days that would give some people too many marketing emails show as Too close to other sends. Click Use this day to pick the day that PostHog suggests.
What you should see: a send day that isn't marked Too close to other sends, with the broadcast still saved as a draft.
5. Send a test, and review your draft
On the Review step, click Send test email, and enter your own address. Read it in your inbox, on desktop and on your phone, and click each link.
What you should see: the test in your inbox, and each step marked ready on the Review step, with the broadcast still saved as a draft. Stop here for this tutorial. When you are ready to launch a real send, follow test, send, and follow up.
What you learned
- The audience filter sets how many people a broadcast reaches, and your sending allowance caps it.
- A marketing message category respects opt-outs and your frequency cap, and an unsubscribe link lets people leave.
- The calendar spaces your marketing sends, so nobody gets too many.
- A test send to yourself catches problems before the audience sees them.
Next steps
- Audiences – filters, uploaded lists, and who doesn't get a broadcast.
- Scheduling and the calendar – recurring sends, and how to change a scheduled broadcast.
- Large audiences – your sending allowance, and how to limit the sending rate.
- Deliverability and reputation – why spacing and opt-outs keep your email out of spam.
- Marketing or transactional – which kind of email to send, and why it matters.





