Automation library · Chat assistants

Analyze Pinterest keyword shelves with Bright Data and OpenAI

Started by a clock, and works across Google Docs, Slack and n8n data table. It hands the judgement calls to OpenAI. 25 steps, 2 branches, 2 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

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

The flow

Starts it 3Model 2Logic 10Service 10

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

  1. 1Every Monday At TenSchedule triggerStarts it
  2. 2Run A Check NowManual triggerStarts it
  3. 3Pin Reader ModelLm Chat Open AiModel
  4. 4When The Check FailsError triggerStarts it
  5. 5SettingsSetLogic
  6. 6What The Ranking Pins ShareChain LlmModel
  7. 7Post The ErrorSlackService
  8. 8Read The Last RunData TableService
  9. 9Write The BriefCodeLogic
  10. 10Plan The SearchesCodeLogic
  11. 11Make A DocGoogle DocsService
  12. 12Ask Pinterest For The PinsHttp RequestService
  13. 13Fill The DocGoogle DocsService
  14. 14Give Pinterest A MomentWaitLogic
  15. 15Remember The KeywordData TableService
  16. 16Check The Crawl StateHttp RequestService
  17. 17Loop Over The KeywordsSplit In BatchesLogic
  18. 18Poll Again Or ContinueCodeLogic
  19. 19Build The DigestCodeLogic
  20. 20Pins Ready?IfLogic
  21. 21Post The DigestSlackService
  22. 22Download The PinsHttp RequestService
  23. 23Read Who RanksCodeLogic
  24. 24Did Anything Rank?IfLogic
  25. 25Say Nothing Came BackSlackService

How it's built

Starts on
A clock
Steps
25, with 2 branches, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Docs, Slack, n8n data table
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Google Docs and Slack 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 25 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 25 steps before you point it at anything that matters.