# Fetch all page content from website and store with Gemini: n8n workflow

> Started by someone submitting a form, and works across Pinecone. It puts Gemini behind a retrieval step, so answers are drawn from documents you supply...

Source: https://millionrounds.com/workflow/fetch-all-page-content-from-website-and-store-with-gemini (Millionrounds; every figure on the page links to its filing or article)

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

# Fetch all page content from website and store with Gemini

Started by someone submitting a form, and works across Pinecone. It puts Gemini behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 15 steps, 1 branch, 2 loops or waits: a working afternoon to understand properly.

Medium Calls a model: Gemini Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ffetch-all-page-content-from-website-and-store-with-gemini)

**15 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**2** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 3 Logic 9 Service 2

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

- 1 **Data Loader** Document Default Data Loader *Model*
- 2 **Gemini Embeddings** Embeddings Google Gemini *Model*
- 3 **Input Sitemap or page urls** Form trigger *Starts it*
- 4 **Pinecone KnowledgeBase** Vector Store Pinecone *Model*
- 5 **Switch** Switch *Logic*
- 6 **Split Pages URL** Code *Logic*
- 7 **Fetch Sitemap** Http Request *Service*
- 8 **Merge URLs** Merge *Logic*
- 9 **XML Conversion** Xml *Logic*
- 10 **Remove Duplicate URLs** Remove Duplicates *Logic*
- 11 **Extract Page URLs** Code *Logic*
- 12 **Loop Over Page URLs** Split In Batches *Logic*
- 13 **Extract Content** Html *Logic*
- 14 **Fetch Page HTML For content** Http Request *Service*
- 15 **Wait 5 sec** Wait *Logic*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 15, with 1 branch, 2 loops or waits
- **Size:** Medium: a working afternoon
- **Connects to:** Pinecone
- **Model:** Gemini
- **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 Pinecone account, and a key for Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

Yes. It calls Gemini. 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?

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.

## 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%2Ffetch-all-page-content-from-website-and-store-with-gemini)
- **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.

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

## Workflows like it

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

- [**AI-powered SEO content optimization with SERP and Slack** 14 steps · calls a model · Google Sheets, Pinecone](https://millionrounds.com/workflow/ai-powered-seo-content-optimization-with-serp-and-slack)
- [**Publish weekly family history stories with OpenAI and Pinecone** 13 steps · calls a model · Pinecone, WordPress](https://millionrounds.com/workflow/publish-weekly-family-history-stories-with-openai-and-pineco)
- [**Audio transcription & chat bot with AssemblyAI and Gemini** 18 steps · calls a model · Google Sheets, Pinecone](https://millionrounds.com/workflow/audio-transcription-and-chat-bot-with-assemblyai-and-gemini)
- [**AI News to LinkedIn: Daily Content Engine with Slack Approval** 19 steps · calls a model · Google Sheets, LinkedIn](https://millionrounds.com/workflow/ai-news-to-linkedin-daily-content-engine-with-slack-approval)
- [**Website content chatbot with Pinecone and Airtable** 19 steps · calls a model · Airtable, Pinecone](https://millionrounds.com/workflow/website-content-chatbot-with-pinecone-and-airtable)
- [**Create research-backed blog content with Slack and Perplexity** 9 steps · calls a model · Google Docs, Pinecone](https://millionrounds.com/workflow/create-research-backed-blog-content-with-slack-and-perplexit)
