# Analyze Pinterest keyword shelves with Bright Data and OpenAI: n8n workflow

> Started by a clock, and works across Google Docs, Slack and n8n data table. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/analyze-pinterest-keyword-shelves-with-bright-data-and-opena (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Chat assistants](https://millionrounds.com/workflows?category=Chat+assistants#library)

# 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.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fanalyze-pinterest-keyword-shelves-with-bright-data-and-opena)

**25 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**2** Loops or waits

**3** Services it connects to

## The flow

Starts it 3 Model 2 Logic 10 Service 10

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

- 1 **Every Monday At Ten** Schedule trigger *Starts it*
- 2 **Run A Check Now** Manual trigger *Starts it*
- 3 **Pin Reader Model** Lm Chat Open Ai *Model*
- 4 **When The Check Fails** Error trigger *Starts it*
- 5 **Settings** Set *Logic*
- 6 **What The Ranking Pins Share** Chain Llm *Model*
- 7 **Post The Error** Slack *Service*
- 8 **Read The Last Run** Data Table *Service*
- 9 **Write The Brief** Code *Logic*
- 10 **Plan The Searches** Code *Logic*
- 11 **Make A Doc** Google Docs *Service*
- 12 **Ask Pinterest For The Pins** Http Request *Service*
- 13 **Fill The Doc** Google Docs *Service*
- 14 **Give Pinterest A Moment** Wait *Logic*
- 15 **Remember The Keyword** Data Table *Service*
- 16 **Check The Crawl State** Http Request *Service*
- 17 **Loop Over The Keywords** Split In Batches *Logic*
- 18 **Poll Again Or Continue** Code *Logic*
- 19 **Build The Digest** Code *Logic*
- 20 **Pins Ready?** If *Logic*
- 21 **Post The Digest** Slack *Service*
- 22 **Download The Pins** Http Request *Service*
- 23 **Read Who Ranks** Code *Logic*
- 24 **Did Anything Rank?** If *Logic*
- 25 **Say Nothing Came Back** Slack *Service*

## 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.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fanalyze-pinterest-keyword-shelves-with-bright-data-and-opena)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Google Docs](https://millionrounds.com/workflows?service=Google+Docs#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)[n8n data table](https://millionrounds.com/workflows?service=n8n+data+table#library)

## Workflows like it

Also chat assistants, with the same services where possible, closest in size first.

- [**AI email triage and smart auto-responder with OpenAI and Gmail** 25 steps · calls a model · Email, Gmail](https://millionrounds.com/workflow/ai-email-triage-and-smart-auto-responder-with-openai-and-gma-3)
- [**AI email triage and smart auto-responder with OpenAI and Gmail** 25 steps · calls a model · Email, Gmail](https://millionrounds.com/workflow/ai-email-triage-and-smart-auto-responder-with-openai-and-gma-2)
- [**AI email triage and smart auto-responder with OpenAI and Gmail** 25 steps · calls a model · Email, Gmail](https://millionrounds.com/workflow/ai-email-triage-and-smart-auto-responder-with-openai-and-gma)
- [**Analyze legislative policies and route compliance actions** 25 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/analyze-legislative-policies-and-route-compliance-actions)
- [**Review GitHub pull requests with Mistral** 25 steps · calls a model · Discord, GitHub](https://millionrounds.com/workflow/review-github-pull-requests-with-mistral)
- [**Review legal policies with OpenAI and Gmail** 25 steps · calls a model · Gmail, Slack](https://millionrounds.com/workflow/review-legal-policies-with-openai-and-gmail)
