Automation library · AI assistants

Google SERP + trends and recommendations with Bright Data

Started by an event in a connected app. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to Gemini. 20 steps, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: Gemini

20 stepsMedium: a working afternoon
0Branches: places the flow splits
1Loop or waits
0Services by connector: it calls them over plain HTTP

The flow

Starts it 1Model 9Logic 5Service 5

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

  1. 1When clicking ‘Test workflow’Manual triggerStarts it
  2. 2Google Gemini Chat Model for Google SearchLm Chat Google GeminiModel
  3. 3Structured Output Parser for Google SearchOutput Parser StructuredModel
  4. 4Google Gemini Chat Model for Trend DataLm Chat Google GeminiModel
  5. 5Google Gemini Chat Model for RecommendationLm Chat Google GeminiModel
  6. 6Structured Output Parser for RecommendationOutput Parser StructuredModel
  7. 7Structured Output Parser for Trend DataOutput Parser StructuredModel
  8. 8Set input fieldsSetLogic
  9. 9Google Search Data ExtractorChain LlmModel
  10. 10Trends Data ExtractorChain LlmModel
  11. 11Recommendation Data ExtractorChain LlmModel
  12. 12Perform Bright Data Web RequestHttp RequestService
  13. 13CodeCodeLogic
  14. 14Code for TrendsCodeLogic
  15. 15Code for RecommendationsCodeLogic
  16. 16Loop Over ItemsSplit In BatchesLogic
  17. 17Convert to File for TrendsConvert To FileService
  18. 18Convert to File for RecommendationsConvert To FileService
  19. 19Write the trends csv file to diskRead Write FileService
  20. 20Write the recommendations csv file to diskRead Write FileService

How it's built

Starts on
An event in a connected app
Steps
20, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Nothing by connector; it calls services over plain HTTP
Model
Gemini

Questions

What does it need to run?

An n8n account, and a key for Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

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

How long does it take to set up?

Plan an afternoon. 20 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 20 steps before you point it at anything that matters.