Workflows screenshot
the automator hedgehog
Workflows

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.

Get started - free

Install with AI in a single prompt

Paste into your terminal or code editor and make AI do the work.

Learn more

MCPWatch a demoTalk to a human

What does it do?

A hedgehog automating workflows

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.

Role
Use cases
Product Leads / Technical PMs
Consolidate Zapier or Customer.io into PostHog – activation, retention, and lifecycle flows on the same events you already track
Product Marketers
Lifecycle marketing and campaign automation with email, SMS, webhooks, and destinations driven by product usage data
Growth Engineers
Onboarding drips, upgrade nudges, and re-engagement sequences triggered by real user behavior
Product Engineers
Event-triggered automations – Slack alerts, property updates, and follow-ups without a separate automation vendor
Automation-minded teams
Zapier/n8n-style flows triggered by product events, with destinations and basic workflow logic in one place

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.

Create and edit workflows
workflows-create makes a draft; workflows-patch-graph and workflows-update change it; workflows-discard-draft throws the draft away.
Test and publish
workflows-test-run runs a workflow without sending to real recipients; workflows-publish makes the draft live.
Debug a run
workflows-list-invocations, workflows-get-invocation, workflows-logs, and workflows-list-batch-jobs show what happened on a given run.
Check performance
workflows-stats reports on one workflow and workflows-global-stats across all of them.

Install the PostHog MCP

Learn more
npx @posthog/wizard mcp add

Supports Next.js, React, Python, and

Top features

Workflow automation builder

Workflow automation builder

No YAML, no syncing, no API juggling.

Drag-and-drop steps
Build onboarding, activation, and retention flows in minutes
Event and cohort triggers
Start workflows from real product behavior
Data-native
Use the events, actions, and properties already tracked in PostHog
Testing & execution logs
Preview how a workflow behaves for a real user and view detailed run history

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.

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.

Feature comparison

Zapier
Make
Customer.io
Brevo
Visual workflow builder
Drag-and-drop interface for building workflows
AI workflow assistant
Build and edit workflows using natural language
Early access
Campaign tracking
Track open rates, click rates, link clicks, and conversions
Real-time triggers
Trigger workflows in real-time based on user events
Webhook-based
Webhook-based
Email editor/sender built-in
Built-in email editor and sending capabilities
Cohort/segment-based targeting
Target users based on cohorts and segments
Native product event triggers
Trigger workflows from native product events
User identity & profiles
Access to user identity and profile data
User properties updating
Update user properties within workflows
Branching/conditional logic
Create conditional branches in workflows
Automations without data syncing
Run automations without needing to sync data externally
Unified analytics + automation
Analytics and automation in one platform
Experiments/feature flag triggers
Trigger workflows from experiments and feature flags
Webhook actions
Send webhook requests as workflow actions
Predictable run-based pricing
Pay based on workflow runs
Channels
Reach users on different platforms
Email
Send emails to users
Webhooks
Send messages to webhooks
SMS
Send SMS messages to users
Via integration
Push notifications
Send mobile push notifications to users
Via integration
Via integration
Professional
WhatsApp
Send messages to users via WhatsApp
Via integration
Via integration
Professional

Questions?

Answers

There are a few ways you can get answers to specific questions about Workflows.

  1. Check the docs

    We have an entire docs-wizard dedicated to docs gardening.

  2. Search the community forums

    69 discussions about Workflows, there's a good chance your answer is already answered!

  3. Ask PostHog AI

    It's an incredibly useful AI chat that understands the product, docs, community questions, our codebase, GitHub issues, and industry knowledge.

  4. Talk to a human

    Dedicated humans are standing by and ready to assist. Best for questions about volume pricing, terms, and sexy legal stuff.

Recent discussions

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.

Install with AI

Run this command in your terminal or AI editor.
npx -y @posthog/wizard@latest

Supports Next.js, React, Python, and

Install without AI

Sign up for a free account and follow the install instructions for your stack.

Get started - free