Install PostHog SDKs for Workflows

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:

Learn more

It also works with LLM coding agents like Cursor and Bolt.

Platforms

Frameworks

Do I need an SDK?

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, or onboarding_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:

  1. Configure a channel
  2. Head to the workflow builder to create your first automation

Community questions

Was this page useful?

Questions about this page? or post a community question.