Overview

The PostHog integration allows you to trigger workflows in Morf using events received from PostHog.

Getting Started

To start receiving events from PostHog, you’ll need to configure a webhook destination in your PostHog settings.

  1. In Morf, create a new workflow and select PostHog as the trigger.
  2. Click on the Trigger node in your workflow.
  3. (Optional) Under the Configure tab, the Event Types field lets you specify which PostHog events should trigger the workflow.
    • By default, all standard PostHog events are selected.
    • You can deselect all values to accept any event, or choose specific events you want to respond to.
  4. Go to the Connect tab and copy the Webhook URL.
  5. In PostHog, navigate to Data pipelines (under the Tools section in the sidebar).
  6. Click New destination.
  7. Select HTTP Webhook and click Create.
  8. Paste the webhook URL you copied from Morf into the Webhook URL field.
  9. Click Create and enable.

Once your workflow is deployed, it will automatically execute whenever a matching event is received from PostHog.