Actions19
Analytics → Get
AI-generatedSummary
Fetches engagement metrics from the Post Mate API for a configurable trailing window of days.
Inputs
- Window (days) — Number of trailing days of analytics to retrieve, sent as the window_days query parameter. Range 1–180, default 30.
Output shape
One output item per input item, with the JSON body returned by GET /api/v1/analytics as its json. If the API returns an array, each element becomes its own item.
The response fields are not defined in the node, so they depend on the Post Mate API. Requires Post Mate API credentials (Bearer API key, optional base URL). With Continue On Fail enabled, a failed item returns {error: message} instead of stopping the workflow.
Examples
Example 1: Pull the last 7 days of engagement metrics for a weekly report.
Resource: Analytics, Operation: Get, Window (days): 7
Example 2: Get the default 30-day engagement summary.
Resource: Analytics, Operation: Get, Window (days): 30 (default)