Automation library · Content

SEO keyword analysis and filter with OpenAI and Google Drive

Started by an event in a connected app, and works across Google Drive and Google Sheets. It hands the judgement calls to OpenAI. 21 steps, 2 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

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

The flow

Starts it 1Model 2Logic 13Service 5

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

  1. 1When clicking ‘Test workflow’Manual triggerStarts it
  2. 2OpenAI Chat ModelLm Chat Open AiModel
  3. 3get the keyword dataGoogle DriveService
  4. 4get the rule dataGoogle DriveService
  5. 5AI ClassifierText ClassifierModel
  6. 6transform the data1Extract From FileService
  7. 7transform the dataExtract From FileService
  8. 8Code fix the AI analysisCodeLogic
  9. 9data formattingSetLogic
  10. 10filter by volume and kdIfLogic
  11. 11Merge with initial dataMergeLogic
  12. 12data processingAggregateLogic
  13. 13Filter the right dataFilterLogic
  14. 14Merge the filter catagoryMergeLogic
  15. 15add the merge fieldSetLogic
  16. 16data processing2SetLogic
  17. 17output the resultsGoogle SheetsService
  18. 18add a merge fieldSetLogic
  19. 19Merge rule and keywordMergeLogic
  20. 20filter the keyword by normal ruleCodeLogic
  21. 21filter the data for deep ruleIfLogic

How it's built

Starts on
An event in a connected app
Steps
21, with 2 branches
Size
Large: read it before trusting it with anything live
Connects to
Google Drive, Google Sheets
Model
OpenAI

Questions

What does it need to run?

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

How long does it take to set up?

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