Templates / Scrape product prices and send GPT-4o-mini insights to Google Sheets and Gmail

Scrape product prices and send GPT-4o-mini insights to Google Sheets and Gmail

Needs changes

by Incrementors ✓ · 58 views · created 2026-06-16 · Market Research, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 15 nodes and runs on a schedule (every day at 09:00). Along the way it connects Google Sheets, OpenAI Chat Model and Gmail. It also calls books.toscrape.com over HTTP.

How it runs

Trigger: On a schedule (every day at 09:00).

  1. 2. HTTP — Fetch Website HTML (HTTP Request): calls books.toscrape.com
  2. 3. HTML — Extract All Products (HTML): parses or builds HTML
  3. 4. Split Out — One Product at a Time (Split Out): splits a list into separate items
  4. 5. HTML — Extract Title and Price (HTML): parses or builds HTML
  5. 6. Sort — By Price Descending (Sort): sorts the items
  6. 7. Code — Add Date and Clean Price (Code): runs custom JavaScript code
  7. 8. Google Sheets — Save Products (Google Sheets): append
  8. 9. Code — Compile for AI and Stats (Code): runs custom JavaScript code
  9. 11. Convert to CSV File (Convert to File): converts data to a file
  10. 10. AI Agent — Price Analysis (AI Agent): runs an AI agent, with model: OpenAI — GPT-4o-mini Model

…plus 3 more steps. See the full node list below.

Services it uses

Google SheetsOpenAI Chat ModelGmail

HTTP calls to: books.toscrape.com

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in 10. AI Agent — Price Analysis (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
10. AI Agent — Price Analysis (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (12)

From the author

Quick Overview This workflow runs daily at 9 AM to scrape product titles and prices from a target website, store the results in Google Sheets, generate price statistics and an OpenAI GPT-4o-mini market insight, and email a formatted report with a CSV…

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