Automation library · Alerts and monitoring

Monitor viral competitor Instagram posts with Apify and Groq

Started by a clock, and works across Google Sheets and Slack. It hands the judgement calls to Groq. 21 steps, 3 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Groq

21 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 2Model 2Logic 14Service 3

The steps in the order they run, from what starts it.

  1. 1Every morningSchedule triggerStarts it
  2. 2When clicking 'Test workflow'Manual triggerStarts it
  3. 3Groq chat modelLm Chat GroqModel
  4. 4ConfigSetLogic
  5. 5Read the caption with AIInformation ExtractorModel
  6. 6Accounts, one per itemCodeLogic
  7. 7Build one row per postCodeLogic
  8. 8Loop over accountsSplit In BatchesLogic
  9. 9Column orderSetLogic
  10. 10Post rows only (skip profile and summary rows)IfLogic
  11. 11Fetch this account's latest postsHttp RequestService
  12. 12Append the new rows to Google SheetsGoogle SheetsService
  13. 13Only posts we have not seen beforeRemove DuplicatesLogic
  14. 14Did anything go viral?IfLogic
  15. 15Any new posts?IfLogic
  16. 16Collect the viral postsAggregateLogic
  17. 17No breakout posts todayNo OpLogic
  18. 18Flag the breakout postsCodeLogic
  19. 19Nothing new todayNo OpLogic
  20. 20Write the Slack alertCodeLogic
  21. 21Alert Slack about the breakout postsSlackService

How it's built

Starts on
A clock
Steps
21, with 3 branches, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Sheets, Slack
Model
Groq

Questions

What does it need to run?

An n8n account, plus your own Google Sheets and Slack accounts, and a key for Groq. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls Groq. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 21 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 21 steps before you point it at anything that matters.