Search & enrich: Smart keyword analysis with Decodo + OpenAI GPT-4.1-mini
Needs changesWhat this workflow does
This AI workflow has 12 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI Chat Model and Decodo (community).
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Set the Input Fields (Edit Fields (Set)): sets 2 fields: search_query, geo
- Google Search with Decodo (Decodo): google search
- Return the Organic Search Results (Code): runs custom JavaScript code
- Create a Binary Response (Function): runs custom JavaScript (legacy Function node)
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Write the Structured Google Search Results to Disk (Read/Write Files from Disk): writes a file to disk
- Extract Keywords and Topics (Information Extractor): extracts structured fields from text with AI, with model: OpenAI Chat Model
- If row exists (Data table): row exists
- If: checks a condition and branches into true / false
- Insert row on Data Table (Data table): uses Data table
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- Function (legacy) in Create a Binary Response: replace with Code node, mode 'Run Once for All Items'.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| Function (legacy) Create a Binary Response | Code node, mode 'Run Once for All Items' |
Nodes used (11)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Function
n8n-nodes-base.function - Read/Write Files from Disk
n8n-nodes-base.readWriteFile - Decodo
@decodo/n8n-nodes-decodo.decodo - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Code
n8n-nodes-base.code - Data table
n8n-nodes-base.dataTable - If
n8n-nodes-base.if
From the author
Disclaimer Please note - This workflow is only available on n8n self-hosted as it's making use of the community node for the Decodo Web Scraping This workflow automates intelligent keyword and topic extraction from Google Search results, combining Decodo’s…