Install PostHog SDKs for Workflows
Contents
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.
Install with the AI wizard
The fastest way to get started is with our installation wizard. Run this command in your project directory:
It also works with LLM coding agents like Cursor and Bolt.
Platforms
Frameworks
Without an SDK, you can still trigger Workflows programmatically using webhooks. With an SDK installed, you can also trigger Workflows when:
- A user performs any autocaptured event, such as pageviews, clicks, and form submissions
- You send custom events from your app like
signed_up,purchase_completed, oronboarding_finished
Set up Workflows
Now that PostHog is installed, any captured or custom event can be used as a workflow trigger to send emails, Slack messages, SMS via Twilio, or call webhooks.
To get started:
- Configure a channel
- Head to the workflow builder to create your first automation