> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt # Create and test your first broadcast Canonical URL: https://posthog.com/docs/workflows/tutorials/first-broadcast > **Cloud region:** This page uses US Cloud hosts. For an EU Cloud project, use `https://eu.posthog.com` instead of `https://app.posthog.com` (app host for links). ## On this page - [Before you start](#before-you-start) - [Create the broadcast](#create-the-broadcast) - [What you learned](#what-you-learned) - [Next steps](#next-steps) 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](https://posthog.com/docs/workflows/installation/quick-start.md#capture-events-from-your-app). - **A verified sending domain** – a broadcast can't launch until its sender's domain is verified, and broadcasts can't use the [test sender](https://posthog.com/docs/workflows/email/test-sender.md). See [set up your domain](https://posthog.com/docs/workflows/domain.md). - **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. ## With your agent ### Connect your agent Run `npx @posthog/wizard mcp add` to connect the [PostHog MCP](https://posthog.com/docs/workflows/mcp.md) to Claude Code, Cursor, Codex, or another agent. Then copy this prompt into your agent: Guided tutorial promptwith the [PostHog MCP](https://posthog.com/docs/workflows/mcp.md)[building-workflows](https://posthog.com/docs/workflows/skills.md) “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.” Copy 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](https://posthog.com/docs/workflows/reference/limits.md#sending-tiers) (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](https://posthog.com/docs/workflows/email/opt-outs.md), PostHog skips everyone who opted out of that category, and the broadcast follows your [frequency cap](https://posthog.com/docs/workflows/email/frequency-cap.md). Every marketing email needs an [unsubscribe link](https://posthog.com/docs/workflows/email/unsubscribes.md). **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**](https://app.posthog.com/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. ## By hand Go to [**Broadcasts**](https://app.posthog.com/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](https://posthog.com/docs/workflows/email/opt-outs.md) 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](https://posthog.com/docs/workflows/reference/limits.md#sending-tiers), 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](https://posthog.com/docs/workflows/email-editor.md): - Type `/` to add a block, such as a **Button**. - Type `{{` to add a person property with [Liquid](https://posthog.com/docs/workflows/email/liquid.md), 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](https://posthog.com/docs/workflows/broadcasts/test-and-send.md). ## 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](https://posthog.com/docs/workflows/broadcasts/audiences.md) – filters, uploaded lists, and who doesn't get a broadcast. - [Scheduling and the calendar](https://posthog.com/docs/workflows/broadcasts/scheduling.md) – recurring sends, and how to change a scheduled broadcast. - [Large audiences](https://posthog.com/docs/workflows/broadcasts/large-audiences.md) – your sending allowance, and how to limit the sending rate. - [Deliverability and reputation](https://posthog.com/docs/workflows/concepts/deliverability-and-reputation.md) – why spacing and opt-outs keep your email out of spam. - [Marketing or transactional](https://posthog.com/docs/workflows/concepts/marketing-vs-transactional.md) – which kind of email to send, and why it matters.