Automate workflows with product data
Workflows is one of the tools that makes your product self-driving: the actions agents take to close the loop. Trigger Slack messages, emails, or events based on live user behavior.
Install with AI in a single prompt
Paste into your terminal or code editor and make AI do the work.
What does it do?
Workflows is PostHog's no-code, drag-and-drop tool for automating processes and sending messages to your users. You decide when a workflow is triggered, who it reaches, and what happens at each step – triggers, delays, audience splits, message sends, and PostHog actions.
Because workflows run on the same events and person properties you already send to PostHog, you can act on real product behavior instead of a separate marketing dataset. Any real-time destination in PostHog can be dropped into a workflow as a dispatch step, so one tool covers both messaging and automation.
Who is it for?
Workflows is used across teams depending on your role.
How do I use it?
There are a few ways to explore Workflows.
Build and ship a workflow without leaving your editor
Create a draft, edit its graph, test it, publish it, and read its stats and logs from Claude Code, Cursor, and other AI tools.
Top features
Workflow automation builder
No YAML, no syncing, no API juggling.
AI prompts
Ask PostHog AI to generate email templates and set up multi-step workflows from the triggers, conditions, and actions you describe. Works in PostHog AI (in-app chat), PostHog Desktop (our AI code editor), and in your product editor (using the MCP). Already signed in? Click a prompt to try it.
Create workflowsworkflows-create
Create email templatesworkflows-create-email-template
- “Create a welcome email for new users who just signed up”
- “Write a re-engagement email for users who haven't logged in for 30 days”
- “Generate an email template for announcing a new feature”
- “Create an onboarding drip email series for trial users”
- “Create a welcome email template with a hero image, greeting with the user's name, and a CTA button”
Inspect templatesworkflows-show-email-template
Update templatesworkflows-update-email-template
Install
Workflows is a no-code product – you can create and launch Workflows without installing any SDK. However, installing a PostHog SDK unlocks event-based triggers, letting you start Workflows when users perform specific actions in your app. These are the same SDKs used for Product Analytics – if you already have PostHog installed, you're good to go.
Web frameworks
Popular
All
Feature comparison
Questions?
Answers
There are a few ways you can get answers to specific questions about Workflows.
- Check the docs
We have an entire docs-wizard dedicated to docs gardening.
- Search the community forums
69 discussions about Workflows, there's a good chance your answer is already answered!
- Ask PostHog AI
It's an incredibly useful AI chat that understands the product, docs, community questions, our codebase, GitHub issues, and industry knowledge.
- Talk to a human
Dedicated humans are standing by and ready to assist. Best for questions about volume pricing, terms, and sexy legal stuff.
Works with other PostHog tools
Use Workflows with these other PostHog apps to maximize shareholder value.
Works with...
Experiments
Automatically follow up with users from test variants: send feedback surveys, activate successful groups, or roll out winning experiences.
Product Analytics
Trigger automations from real user behavior. Every click, session, or conversion can start a workflow.
Feature Flags
React when a feature is turned on, off, or rolled out to a specific segment. Target messages or follow-ups based on flag variations.
Error Tracking
Trigger alerts or messages when errors spike, or notify engineering teams directly in Slack when exceptions occur.
Get started – free
No credit card required. You get the first 10,000 emails free every month, then pricing starts at $0.003/email and reduces with volume.