Forms & Surveys
Monitor viral competitor Instagram posts with Apify, Groq, Google Sheets and Slack
On a schedule, it processes form answers with Groq and OpenAI / ChatGPT using Groq, Google Sheets, Slack, Apify.
What it does
# Monitor competitor Instagram accounts daily and alert Slack on viral posts with AI caption analysis in Google Sheets 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. ### Who it's for Social media managers watching competitor accounts who want to hear about the posts that broke out, not about every post. ### 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 An Apify account, a chat model account, Google Sheets and Slack. Posts are charged only when delivered. ### Customization Raise viralMultiplier to 3 for a quieter alert. Chain the run into the Instagram Reel Transcript Scraper to transcribe video posts too.
The steps
- Every morning
- When clicking 'Test workflow'
- Config
- Accounts, one per item
- Loop over accounts
- Fetch this account's latest posts
- Post rows only (skip profile and summary rows)
- Only posts we have not seen before
- Any new posts?
- Nothing new today
- Flag the breakout posts
- Read the caption with AI
- Groq chat model
- Build one row per post
21 steps in total.
Similar automations
Forms & SurveysBuild a Reels swipe file from Instagram with Apify, Groq, Sheets and Telegram18 stepsContent Writing & GenerationGenerate Viral YouTube Titles and Thumbnails with Apify and AI32 stepsForms & SurveysScore and cluster Google keywords with Apify, Groq, Google Sheets and Slack17 stepsSocial Media PublishingClone Viral TikToks and Auto-Post to 9 Platforms with Blotato37 steps