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 email property and a person property to filter on (such as plan). 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:

Guided tutorial promptbuilding-workflows
“Walk me step by step through creating my first PostHog broadcast as a draft for users filtered by a person property (such as plan equals free) or a static cohort I pick. Before each step, explain audience filtering, marketing message categories, unsubscribe links, and calendar frequency spacing. Draft the email with designing-email-templates and stop at a saved draft, and do not launch or send it to real users.”

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.

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.

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

Still have questions?

Was this page useful?