Monitor Instagram hashtag trends and email HTML reports with Apify and Gmail
Ready for 3.0What this workflow does
This workflow has 8 nodes and runs on a schedule (every day). Along the way it connects Gmail. It also calls api.apify.com over HTTP.
How it runs
Trigger: On a schedule (every day).
- Read Queries from Table (Data table): get
- Loop Over Queries (Loop Over Items (Split in Batches)): loops over the items in batches
- Fetch Instagram Posts via Apify (HTTP Request): calls api.apify.com (POST)
- Sort Instagram Results (Code): runs custom JavaScript code
- Rank Instagram Posts (Code): runs custom JavaScript code
- Send Instagram Report Email (Gmail): uses Gmail
- Save Results to Data Table (Data table): uses Data table
Services it uses
HTTP calls to: api.apify.com
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.
Nodes used (6)
- Code
n8n-nodes-base.code - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Data table
n8n-nodes-base.dataTable - Gmail
n8n-nodes-base.gmail - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest
From the author
📺 Full walkthrough video: https://www.youtube.com/watch?v=Me4d4BILvHk What it does This workflow automatically monitors trending content on Instagram using keywords you define. It scrapes the most engaging posts, calculates an engagement score based on likes…