Templates / Search & enrich: Smart keyword analysis with Decodo + OpenAI GPT-4.1-mini

Search & enrich: Smart keyword analysis with Decodo + OpenAI GPT-4.1-mini

Needs changes

by Ranjan Dailata ✓ · 351 views · created 2025-11-09 · Market Research, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.

What 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”.

  1. Set the Input Fields (Edit Fields (Set)): sets 2 fields: search_query, geo
  2. Google Search with Decodo (Decodo): google search
  3. Return the Organic Search Results (Code): runs custom JavaScript code
  4. Create a Binary Response (Function): runs custom JavaScript (legacy Function node)
  5. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  6. Write the Structured Google Search Results to Disk (Read/Write Files from Disk): writes a file to disk
  7. Extract Keywords and Topics (Information Extractor): extracts structured fields from text with AI, with model: OpenAI Chat Model
  8. If row exists (Data table): row exists
  9. If: checks a condition and branches into true / false
  10. Insert row on Data Table (Data table): uses Data table

Services it uses

OpenAI Chat ModelDecodo (community)

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.0Replace with
Function (legacy)
Create a Binary Response
Code node, mode 'Run Once for All Items'

Nodes used (11)

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…

Excerpt from Ranjan Dailata's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.