Automation library · Research and reporting

Scrape product prices and send GPT-4o-mini insights

Started by a clock, and works across Gmail and Google Sheets. It hands the judgement calls to OpenAI. 15 steps: a working afternoon to understand properly.

MediumCalls a model: OpenAI

15 stepsMedium: a working afternoon
0Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Model 2Logic 8Service 4

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

  1. 11. Schedule Trigger, Daily 9AMSchedule triggerStarts it
  2. 2OpenAI, GPT-4o-mini ModelLm Chat Open AiModel
  3. 32. HTTP, Fetch Website HTMLHttp RequestService
  4. 410. AI Agent, Price AnalysisAgentModel
  5. 53. HTML, Extract All ProductsHtmlLogic
  6. 612. Merge, Combine AI and CSVMergeLogic
  7. 74. Split Out, One Product at a TimeSplit OutLogic
  8. 813. Code, Merge CSV and AI for EmailCodeLogic
  9. 95. HTML, Extract Title and PriceHtmlLogic
  10. 1014. Gmail, Send Report and CSVGmailService
  11. 116. Sort, By Price DescendingSortLogic
  12. 127. Code, Add Date and Clean PriceCodeLogic
  13. 138. Google Sheets, Save ProductsGoogle SheetsService
  14. 149. Code, Compile for AI and StatsCodeLogic
  15. 1511. Convert to CSV FileConvert To FileService

How it's built

Starts on
A clock
Steps
15
Size
Medium: a working afternoon
Connects to
Gmail, Google Sheets
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Gmail 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 a clock.

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?

Plan an afternoon. 15 steps is enough that you should read each one before running it.

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 15 steps before you point it at anything that matters.