Google Analytics Action Block
The Google Analytics Action Block lets you query GA4 reporting data (Data API v1beta) and send server-side events (Measurement Protocol) from your workflows.
⚠️
Reporting actions use your connected Google account (OAuth). Send Event instead needs a GA4 Measurement ID and API Secret — find these in your Google Analytics property under Admin > Data Streams.
Supported Actions
- Run Report - Query GA4 data with dimensions, metrics, date range, an optional dimension filter (JSON), and a row limit. Rows are returned as flat objects.
- Run Realtime Report - Same as Run Report but against the realtime API (no date range).
- Get Metadata - List all dimension and metric names available on a property.
- List Properties - List every GA4 property the connected account can access.
- Send Event - Fire GA4 events (JSON array of
{name, params}) via the Measurement Protocol.
Configuration
- Property ID - GA4 property ID (numbers only) for the reporting actions.
- Dimensions / Metrics - Comma-separated API names (e.g.
date,city/sessions,activeUsers). - Start / End Date -
YYYY-MM-DD,NdaysAgo, ortoday(Run Report only). - Dimension Filter - Optional GA4
FilterExpressionJSON. - Measurement ID / API Secret / Client ID / Events - Send Event fields; Events is a JSON array like
[{"name":"purchase","params":{"value":9.99}}].
Use Cases
- Track server-side events from chatbot interactions that cannot be captured client-side.
- Send conversion events when workflows complete key business actions.
- Build a unified analytics pipeline that logs workflow events to GA4.