# Auto-generate product comparison pages with OpenAI: n8n workflow

> Started by an event in a connected app, and works across Google Sheets. It puts OpenAI behind a retrieval step, so answers are drawn from documents you...

Source: https://millionrounds.com/workflow/auto-generate-product-comparison-pages-with-openai (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Data collection](https://millionrounds.com/workflows?category=Data+collection#library)

# Auto-generate product comparison pages with OpenAI

Started by an event in a connected app, and works across Google Sheets. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 32 steps: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fauto-generate-product-comparison-pages-with-openai)

**32 steps** Large: read it before trusting it with anything live

**0** Branches: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 15 Logic 4 Service 12

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

- 1 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 2 **Simple Memory** Memory Buffer Window *Model*
- 3 **OpenAI Chat Model1** Lm Chat Open Ai *Model*
- 4 **Simple Memory1** Memory Buffer Window *Model*
- 5 **OpenAI Chat Model2** Lm Chat Open Ai *Model*
- 6 **Simple Memory2** Memory Buffer Window *Model*
- 7 **OpenAI Chat Model3** Lm Chat Open Ai *Model*
- 8 **Simple Memory3** Memory Buffer Window *Model*
- 9 **OpenAI Chat Model4** Lm Chat Open Ai *Model*
- 10 **Simple Memory4** Memory Buffer Window *Model*
- 11 **When clicking ‘Test workflow’** Manual trigger *Starts it*
- 12 **AI Agent** Agent *Model*
- 13 **AI Agent1** Agent *Model*
- 14 **AI Agent2** Agent *Model*
- 15 **User Ratings Maker** Agent *Model*
- 16 **AI Agent3** Agent *Model*
- 17 **Products** Google Sheets *Service*
- 18 **Google Sheets6** Google Sheets *Service*
- 19 **Google Sheets7** Google Sheets *Service*
- 20 **Google Sheets8** Google Sheets *Service*
- 21 **Google Sheets** Google Sheets *Service*
- 22 **Google Sheets1** Google Sheets *Service*
- 23 **Code1** Code *Logic*
- 24 **Features** Google Sheets *Service*
- 25 **Pricing** Google Sheets *Service*
- 26 **User Ratings** Google Sheets *Service*
- 27 **Merge2** Merge *Logic*
- 28 **Product Overview** Google Sheets *Service*
- 29 **Names and slugs** Google Sheets *Service*
- 30 **Merge** Merge *Logic*
- 31 **Code** Code *Logic*
- 32 **Dorik CMS** Http Request *Service*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 32
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Sheets
- **Model:** OpenAI
- **Retrieval:** Answers are drawn from documents you supply, not from the model alone

## Questions

What does it need to run?

An n8n account, plus your own Google Sheets account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls OpenAI. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 32 steps it is large: read it before trusting it with anything live.

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

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fauto-generate-product-comparison-pages-with-openai)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)

## Workflows like it

Also data collection, with the same services where possible, closest in size first.

- [**AI-powered auto-generate exam questions** 32 steps · calls a model · Google Docs, Google Sheets](https://millionrounds.com/workflow/ai-powered-auto-generate-exam-questions)
- [**Macro tracker with Groq and OpenAI** 32 steps · calls a model · Google Sheets, Qdrant](https://millionrounds.com/workflow/macro-tracker-with-groq-and-openai)
- [**Track fitness class attendance and retention** 32 steps · calls a model · Discord, Gmail](https://millionrounds.com/workflow/track-fitness-class-attendance-and-retention)
- [**24/7 shorts automation system for busy people with OpenRouter** 33 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/24-7-shorts-automation-system-for-busy-people-with-openroute)
- [**Automate Google My Business responses with Gemini** 31 steps · calls a model · Google Business Profile, Google Sheets](https://millionrounds.com/workflow/automate-google-my-business-responses-with-gemini)
- [**Generate Suno AI music from Discord forms with Gemini** 31 steps · calls a model · Discord, Google Sheets](https://millionrounds.com/workflow/generate-suno-ai-music-from-discord-forms-with-gemini)
