Actions24
- User Actions
- Publish Actions
- Media Actions
- Comment Actions
- Messaging Actions
- Auth (Token) Actions
User → Get Account Insights
AI-generatedSummary
Fetches account-level insight metrics for the authenticated Instagram account from graph.instagram.com (GET /{version}/me/insights) and returns each metric object as a separate output item.
Inputs
- Metrics — Comma-separated metric names sent as the
metricquery param. Defaults to reach,accounts_engaged,total_interactions,profile_views. Other examples: follower_count, website_clicks. - Period — Aggregation period: day (default), week, days_28, or lifetime.
- Insight Options — Optional collection. Metric Type (e.g. total_value, which some metrics require), Breakdown (e.g. follow_type, media_product_type, contact_button_type), Since (Unix) and Until (Unix). Empty or 0 values are omitted from the request.
- Graph API Version — API version in the request path. Defaults to v21.0.
- Access Token (Override) — If set, this token is used instead of the Instagram Login API credential. Use an expression to query different accounts per input item.
Output shape
One output item per entry in the API response's data array, normally one per requested metric. Each item holds fields such as name, period, values or total_value, title and id. Each item is paired with its input item.
If the response has no
dataarray, the whole response is returned as a single item. The operation runs once per input item. With Continue On Fail enabled, a failed item yields{error: message}instead of stopping the workflow. The API itself rejects unsupported metric, period, metric_type or breakdown combinations, and the node does no validation.
Examples
Example 1: Daily reach and engagement snapshot
Metrics: reach,accounts_engaged,total_interactions,profile_views; Period: Day; Insight Options: Metric Type = total_value.
Example 2: Follower activity over a date range
Metrics: follower_count; Period: Day; Insight Options: Since and Until set to Unix timestamps.
Example 3: Multi-account reporting
Default metrics; Access Token (Override) set to {{ $json.account_token }} so each input item queries its own account.