πŸ“Š Monitor viral competitor Instagram posts with Apify, Groq, Google Sheets and Slack

⚑ 66 views Β· πŸ“Š Market Research & Insights

πŸ’‘ Pro Tip β€” Heads up β€” if this workflow’s Instagram scraping breaks (it happens whenever Meta updates their frontend), ScraperNode is a community node that handles profiles, posts, reels, and comments without any HTML parsing.

View All Scrapers

Description

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 something breaks out.

How it works

  1. A Schedule Trigger fires daily. One Config node holds the handles, posts per profile, viral multiplier and Slack channel.
  2. It loops over the handles, running the Instagram Profile Posts Scraper on Apify for each and keeping the post rows only.
  3. Remove Duplicates drops every post seen in an earlier execution, so each morning brings yesterday’s posts only.
  4. A Code node adds engagement (likes plus comments) and compares each post with the median for its own account, so big and small accounts are judged fairly. At or above the multiplier is flagged viral.
  5. An Information Extractor reads the caption for theme, tone, format and CTA.
  6. Google Sheets appends a row per post. Slack is pinged only if something broke out.

Setup

  1. Create an HTTP Header Auth credential (name Authorization, value Bearer YOUR_APIFY_TOKEN) and select it on the HTTP Request node.
  2. Add a Groq credential on the chat model node - a drop-in swap for OpenAI or Anthropic.
  3. Connect Google Sheets and Slack, then list the accounts to watch.

Requirements

Customization

Additional info

Social media managers watching competitor accounts who want to hear about the posts that broke out, not about every post.

πŸ”— Nodes Used

Google Sheets, HTTP Request, Slack, Schedule Trigger, Groq Chat Model, Information Extractor

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup