Templates / AI-Powered Product Research & Price Comparison with Google Search and OpenAI

AI-Powered Product Research & Price Comparison with Google Search and OpenAI

Needs changes

by Piotr Sobolewski ✓ · 2,446 views · created 2025-07-29 · Market Research, AI RAG

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

What this workflow does

This workflow has 8 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Custom Search and Gmail.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Set Product Description (Edit Fields (Set)): sets or maps fields
  2. AI: Generate Search Queries (OpenAI): uses OpenAI
  3. Split Queries (Function): runs custom JavaScript (legacy Function node)
  4. Google Custom Search: search
  5. Combine Search Results (Edit Fields (Set)): sets or maps fields
  6. AI: Summarize Products & Prices (OpenAI): uses OpenAI
  7. Send Report Email (Gmail): uses Gmail

Services it uses

Google Custom SearchGmail

Before you upgrade to n8n 3.0

2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • OpenAI (legacy) in AI: Generate Search Queries, AI: Summarize Products & Prices: replace with OpenAI node (AI section).
  • Function (legacy) in Split Queries: 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
OpenAI (legacy)
AI: Generate Search Queries, AI: Summarize Products & Prices
OpenAI node (AI section)
Function (legacy)
Split Queries
Code node, mode 'Run Once for All Items'

Rarely used nodes in this template: n8n-nodes-base.googleCustomSearch

Nodes used (6)

From the author

How it works This intelligent workflow acts as your personal shopping assistant, helping you quickly research products and find potential purchasing options based on your detailed descriptions. It automatically: - Takes your natural language product…

Excerpt from Piotr Sobolewski'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.