Automation library · Documents and files

Build a Reels swipe file from Instagram with Apify and Groq

Started by a clock, and works across Google Sheets and Telegram. It hands the judgement calls to Groq. 18 steps, 2 branches, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: Groq

18 stepsMedium: a working afternoon
2Branches: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 2Model 2Logic 11Service 3

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

  1. 1Every Monday morningSchedule triggerStarts it
  2. 2When clicking 'Test workflow'Manual triggerStarts it
  3. 3Groq chat modelLm Chat GroqModel
  4. 4ConfigSetLogic
  5. 5Label the hook and rewrite itInformation ExtractorModel
  6. 6Creators, one per itemCodeLogic
  7. 7Build one row per reelCodeLogic
  8. 8Loop over creatorsSplit In BatchesLogic
  9. 9Column orderSetLogic
  10. 10Reel rows only (skip the run summary)IfLogic
  11. 11Transcribe this creator's reelsHttp RequestService
  12. 12Append the new rows to Google SheetsGoogle SheetsService
  13. 13Only reels we have not seen beforeRemove DuplicatesLogic
  14. 14Collect the new reelsAggregateLogic
  15. 15Any new reels?IfLogic
  16. 16Write the Telegram digestCodeLogic
  17. 17Nothing new this weekNo OpLogic
  18. 18Send the digest to TelegramTelegramService

How it's built

Starts on
A clock
Steps
18, with 2 branches, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Google Sheets, Telegram
Model
Groq

Questions

What does it need to run?

An n8n account, plus your own Google Sheets and Telegram 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?

Plan an afternoon. 18 steps is enough that you should read each one before running it.

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 18 steps before you point it at anything that matters.