How product data powers messaging
Most email tools live outside your product. They hold their own copy of your users, and you keep that copy up to date with CSV uploads, sync jobs, or a reverse ETL pipeline. The tool only knows what you remember to send it, and only as fresh as the last sync.
PostHog Workflows runs inside the same system that captures your product data. A message and the product behavior around it share one person, one event stream, and one place to analyze them. This page explains what that changes.
Shared person profiles and live events
The events that your PostHog SDKs capture, such as signed_up, uploaded_file, or subscription_cancelled, are the same events that trigger automations. Person properties, such as plan or company_size, property-based cohorts, static cohorts, and realtime cohorts (where available) define broadcast audiences, and person properties are available to Liquid templates in broadcast and automation emails.
There is no copy to keep in sync. Some consequences:
- Triggers react to behavior when it happens. An automation on
uploaded_filestarts when the event arrives, not after the next nightly import. - Property-based audiences stay current. A broadcast filtered by person properties or a property-based cohort checks who matches at the moment of the send. To target an ordinary behavioral cohort in a broadcast, save it as a static cohort first.
- Personalization uses real usage. A broadcast or automation email can mention the plan a person is on, or any other person property, because those properties are already on the person. A transactional email gets its content from your code instead.
Closed-loop attribution
Every email that PostHog sends can become events in PostHog. With engagement events on, PostHog records:
$workflows_email_sentand$workflows_email_delivered$workflows_email_openedand$workflows_email_link_clicked$workflows_email_bouncedand$workflows_email_blocked, for bounces and spam complaints$workflows_email_unsubscribed(address-scoped: recorded with the email address as its distinct ID)
Broadcasts and automations already send to a person, so their send-scoped events (sent, delivered, opened, clicked, bounced, blocked, failed) land on that person. For a transactional email sent from code, pass a distinctId. Without one, PostHog records the email on a person whose distinct ID is the email address, so the email events and the product events end up on two different people. Unsubscribe and tracking-consent events always belong to the email address and use the email address as their distinct ID, so join or count them by $email when users are identified by an account ID. See engagement event properties.
When both sides share a person, the email events sit on the person's timeline next to their product events. You can use them like any other event:
- A funnel from
$workflows_email_deliveredtopassword_reset_completedshows whether people who got the email finished the task. - A behavioral cohort of people with no
$workflows_email_openedin 90 days (saved as a static cohort) shows who to leave out of the next broadcast. - An automation triggered by
$workflows_email_link_clickedon your pricing link follows up on interest.
From an email to what the person did
You can open one send and see its timeline: sent, delivered, opened, and clicked. Transactional sends open from the Log tab, and broadcast and automation emails have the same view. Next to the timeline, PostHog shows what the person did in your product in the 7 days before and after the send, with a link to their Session Replay.
This answers questions that open and click rates can't. Did the person who clicked "Set up your first dashboard" actually build one? Did they get stuck on the setup screen? Did the onboarding email arrive after they already finished onboarding? See what each person did.
Conversion goals and exit conditions
Opens and clicks measure attention, not outcomes. An automation can measure the outcome directly with a conversion goal: an event or a person property change that means "this worked", such as subscription_started or plan is growth.
Because the goal uses your product data, two things follow:
- You measure real results. PostHog records each conversion as a
$workflows_conversionevent, so the automation's success rate is a product metric, not an email metric. - People exit when they convert. With the exit condition set to the conversion goal, a person leaves the automation the moment they convert. Someone who upgraded does not get the next "Ready to upgrade?" nudge.
The Self-driving optimization loop
When messaging and product data live in one place, PostHog can close the loop for you. Self-driving automations watch how each step of an automation performs, such as the open and click rates of each email, and its conversions when the automation has a conversion goal.
When a step underperforms, PostHog proposes one concrete change, such as a new subject line or new copy, with the numbers behind it. Nothing changes until you approve the suggestion as a draft and publish the automation. After you publish, PostHog compares the step before and after the change.
The loop depends on the shared data. A suggestion that aims at conversions needs to know who converted, and that knowledge comes from your product events, not from the email tool.





