# Install PostHog SDKs for Workflows - Docs

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](/docs/product-analytics.md) – 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:

`npx @posthog/wizard@latest`

[Learn more](/wizard.md)

It also works with [LLM coding agents](/blog/envoy-wizard-llm-agent.md) like Cursor and Bolt.

### Platforms

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/Android_robot_bec2fb7318.svg)Android](/docs/product-analytics/installation/android.md)

-   [API](/docs/product-analytics/installation/api.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/elixir.svg)Elixir](/docs/product-analytics/installation/elixir.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/flutter.svg)Flutter](/docs/product-analytics/installation/flutter.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/go.svg)Go](/docs/product-analytics/installation/go.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/ios.svg)iOS](/docs/product-analytics/installation/ios.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/nodejs.svg)Node.js](/docs/product-analytics/installation/nodejs.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/php.svg)PHP](/docs/product-analytics/installation/php.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/python.svg)Python](/docs/product-analytics/installation/python.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/react.svg)React](/docs/product-analytics/installation/react.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/react.svg)React Native](/docs/product-analytics/installation/react-native.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/ruby.svg)Ruby](/docs/product-analytics/installation/ruby.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/js.svg)Web](/docs/product-analytics/installation/web.md)

### Frameworks

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/docs/integrate/frameworks/angular.svg)Angular](/docs/libraries/angular.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/astro_icon_dark_23a13977ad.svg)Astro](/docs/libraries/astro.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/docs/integrate/frameworks/django.svg)Django](/docs/libraries/django.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/docs/integrate/frameworks/laravel.svg)Laravel](/docs/libraries/laravel.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/frameworks/nextjs.svg)Next.js](/docs/libraries/next-js.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/frameworks/nuxt.svg)Nuxt.js](/docs/libraries/nuxt-js.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/remix_letter_glowing_49183adce2.svg)Remix](/docs/libraries/remix.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/docs/integrate/frameworks/svelte.svg)Svelte](/docs/libraries/svelte.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/frameworks/vue.svg)Vue](/docs/libraries/vue-js.md)

**Do I need an SDK?**

Without an SDK, you can still trigger Workflows programmatically using [webhooks](/docs/workflows/workflow-builder.md#triggers). 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](/docs/workflows/workflow-builder.md#triggers) to send emails, Slack messages, SMS via Twilio, or call webhooks.

To get started:

1.  [Configure a channel](/docs/workflows/configure-channels.md)
2.  Head to the [workflow builder](/docs/workflows/workflow-builder.md) to create your first automation

### Community questions

Ask a question

### Was this page useful?

HelpfulCould be better