Send daily Instagram insights email reports with Meta Graph API and Gmail
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.
What this workflow does
This workflow has 14 nodes and runs on a schedule (every day at 23:00). Along the way it connects Gmail.
How it runs
Trigger: On a schedule (every day at 23:00).
- 📝 Instagram Page Credentials (Edit Fields (Set)): sets 4 fields: accessToken, pageId, apiVersion…
- 🗓️ Extract Date From Trigger (Edit Fields (Set)): sets 3 fields: targetYear, targetMonth, targetDay
- ⚙️ Config: Page & Date (Edit Fields (Set)): sets 8 fields: accessToken, pageId, pageName…
- Get Instagram Profile (HTTP Request): calls an HTTP API
- Get Instagram Media (HTTP Request): calls an HTTP API
- 📋 Filter & Split Posts (Code): runs custom JavaScript code
- ❓ Has Posts (If): checks a condition and branches into true / false
- 🌐 Get Post Insights (HTTP Request): calls an HTTP API
- 🔀 Combine Posts (Merge): merges the data from its input branches
- 🔗 Merge Insights (Code): runs custom JavaScript code
…plus 3 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Check at runtime on n8n 3.0
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Merge
n8n-nodes-base.merge
From the author
Quick overview This workflow runs daily and pulls an Instagram Business account’s profile, posts, and per-post insights from the Meta Graph API, then compiles a mobile-friendly HTML summary and sends the report to a recipient via Gmail. How it works 1. Runs…