Monitor viral competitor Instagram posts with Apify, Groq, Google Sheets and Slack
Ready for 3.0What this workflow does
This AI workflow has 21 nodes and runs on a schedule (every day at 07:00) (plus 1 other trigger). Along the way it connects Groq Chat Model, Google Sheets and Slack.
How it runs
Trigger: On a schedule (every day at 07:00) (plus 1 other trigger).
- Config (Edit Fields (Set)): sets 4 fields: competitorHandles, postsPerProfile, viralMultiplier…
- Accounts, one per item (Code): runs custom JavaScript code
- Loop over accounts (Loop Over Items (Split in Batches)): loops over the items in batches
- Post rows only (skip profile and summary rows) (If): checks a condition and branches into true / false
- Fetch this account's latest posts (HTTP Request): calls an HTTP API (POST)
- Only posts we have not seen before (Remove Duplicates): removes duplicate items
- Any new posts? (If): checks a condition and branches into true / false
- Flag the breakout posts (Code): runs custom JavaScript code
- Read the caption with AI (Information Extractor): extracts structured fields from text with AI, with model: Groq Chat Model
- Build one row per post (Code): runs custom JavaScript code
…plus 6 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.
- Still check Always Output Data on multi-output nodes (If/Switch) now adds an empty item only when every output is empty (Post rows only (skip profile and summary rows)).
Nodes used (14)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Remove Duplicates
n8n-nodes-base.removeDuplicates - No Operation, do nothing
n8n-nodes-base.noOp - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - Google Sheets
n8n-nodes-base.googleSheets - Aggregate
n8n-nodes-base.aggregate - Slack
n8n-nodes-base.slack
From the author
Quick overview Every morning this workflow reads the newest posts from the competitor accounts you name, works out which ones beat that account's own normal engagement, has an AI read the caption, appends them to a Google Sheet and pings Slack only when…