PostHog product analytics automation
Fires on every pageview ($pageview).
1 field
Fires when a user leaves a page ($pageleave).
Fires on any autocaptured interaction ($autocapture).
Fires when PostHog detects a rageclick ($rageclick).
Fires when a person is identified ($identify).
Fires when a group is identified ($groupidentify).
Fires when person properties are set ($set).
Fires when a feature flag is evaluated ($feature_flag_called).
Fires when a survey is shown to a user (survey shown).
Fires when a survey response is submitted (survey sent).
Fires when a survey is dismissed (survey dismissed).
Fires when an exception/error is captured ($exception).
Fires on a web-vitals measurement ($web_vitals).
Fires on a mobile screen view ($screen).
Fires on a custom event you name (or every event with '*').
2 fields
Capture a single event.
4 fields
Capture a batch of events.
Identify a person and set their properties ($identify).
3 fields
Set properties on a group ($groupidentify).
Evaluate feature flags for a person.
Run a HogQL / structured query via the Query API (the universal read primitive).
List recent events.
5 fields
Call any authenticated PostHog REST endpoint (covers the huge long tail).
Wire PostHog into a coding agent and let it use these operations as tools.
Start building workflows in minutes with our visual builder. No code required.