Automation library · Research and reporting

Collect viral Instagram AI art with OpenAI and Telegram

Started by a clock, and works across Apify, Google Sheets, Slack and Telegram. It hands the judgement calls to OpenAI. 28 steps, 3 branches, 2 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

28 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
2Loops or waits
4Services it connects to

The flow

Starts it 3Model 4Logic 9Service 12

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

  1. 1Daily Collection TriggerSchedule triggerStarts it
  2. 2Weekly Report TriggerSchedule triggerStarts it
  3. 3AI Image AnalysisLm Chat Open AiModel
  4. 4Generate ReportLm Chat Open AiModel
  5. 5Error TriggerError triggerStarts it
  6. 6Scrape Instagram PostsApifyService
  7. 7Get Weekly DataGoogle SheetsService
  8. 8Analyze ArtworkChain LlmModel
  9. 9Create Trend ReportChain LlmModel
  10. 10Send Error AlertTelegramService
  11. 11Save to DatabaseGoogle SheetsService
  12. 12Calculate Weekly StatsCodeLogic
  13. 13Parse AI AnalysisCodeLogic
  14. 14Send Report to TelegramTelegramService
  15. 15Send Report to SlackSlackService
  16. 16Get Existing PostsGoogle SheetsService
  17. 17Translate to JapaneseDeep LService
  18. 18Check DuplicatesMergeLogic
  19. 19Download ImageHttp RequestService
  20. 20Filter New Viral PostsIfLogic
  21. 21Telegram Enabled?IfLogic
  22. 22Slack Enabled?IfLogic
  23. 23Calculate Engagement ScoreSetLogic
  24. 24Send to Telegram1TelegramService
  25. 25Send to SlackSlackService
  26. 26Loop Over ItemsSplit In BatchesLogic
  27. 27Update Post StatusGoogle SheetsService
  28. 28Rate Limit WaitWaitLogic

How it's built

Starts on
A clock
Steps
28, with 3 branches, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Apify, Google Sheets, Slack, Telegram
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Apify, Google Sheets, Slack and Telegram accounts, and a key for OpenAI. 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 OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 28 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 28 steps before you point it at anything that matters.