# Index and update web knowledge base with Jina and Gemini: n8n workflow

> Started by someone submitting a form, and works across Supabase vectors and n8n data table.

Source: https://millionrounds.com/workflow/index-and-update-web-knowledge-base-with-jina-and-gemini (Millionrounds; every figure on the page links to its filing or article)

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

# Index and update web knowledge base with Jina and Gemini

Started by someone submitting a form, and works across Supabase vectors and n8n data table. It puts Gemini behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 20 steps, 3 branches, 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%2Findex-and-update-web-knowledge-base-with-jina-and-gemini)

**20 steps** Medium: a working afternoon

**3** Branches: places the flow splits

**2** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Model 6 Logic 6 Service 6

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

- 1 **When clicking ‘Execute workflow’** Manual trigger *Starts it*
- 2 **Google Gemini Chat Model** Lm Chat Google Gemini *Model*
- 3 **Recursive Character Text Splitter** Text Splitter Recursive Character Text Splitter *Model*
- 4 **Embeddings Google Gemini** Embeddings Google Gemini *Model*
- 5 **form trigger** Form trigger *Starts it*
- 6 **concierge_sources** Data Table *Service*
- 7 **Basic LLM Chain** Chain Llm *Model*
- 8 **Default Data Loader** Document Default Data Loader *Model*
- 9 **Supabase Vector Store** Vector Store Supabase *Model*
- 10 **get_page** Data Table *Service*
- 11 **iteration** Split In Batches *Logic*
- 12 **update data** Data Table *Service*
- 13 **page exists?** If *Logic*
- 14 **Switch** Switch *Logic*
- 15 **5s** Wait *Logic*
- 16 **delete_vector** Http Request *Service*
- 17 **jina.ai** Http Request *Service*
- 18 **Insert row** Data Table *Service*
- 19 **normalizer** Set *Logic*
- 20 **inserted?** If *Logic*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 20, with 3 branches, 2 loops or waits
- **Size:** Medium: a working afternoon
- **Connects to:** Supabase vectors, n8n data table
- **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 Supabase vectors 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. 20 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 20 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%2Findex-and-update-web-knowledge-base-with-jina-and-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.

[Supabase vectors](https://millionrounds.com/workflows?service=Supabase+vectors#library)[n8n data table](https://millionrounds.com/workflows?service=n8n+data+table#library)

## Workflows like it

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

- [**Draft customer-facing changelogs from merged GitHub PRs** 20 steps · calls a model · GitHub, Gmail](https://millionrounds.com/workflow/draft-customer-facing-changelogs-from-merged-github-prs)
- [**Generate & deploy landing pages with OpenAI and Gemini** 20 steps · calls a model · n8n data table](https://millionrounds.com/workflow/generate-and-deploy-landing-pages-with-openai-and-gemini)
- [**Find and log GDPR request evidence with Groq and Data Tables** 19 steps · calls a model · n8n data table](https://millionrounds.com/workflow/find-and-log-gdpr-request-evidence-with-groq-and-data-tables)
- [**Route IAM events with OpenAI and Slack** 21 steps · calls a model · Gmail, n8n data table](https://millionrounds.com/workflow/route-iam-events-with-openai-and-slack)
- [**Score inspection defects and draft repair packets with OpenAI** 19 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/score-inspection-defects-and-draft-repair-packets-with-opena)
- [**Triage and reply to email threads with OpenAI and IMAP** 19 steps · calls a model · Email, Gmail](https://millionrounds.com/workflow/triage-and-reply-to-email-threads-with-openai-and-imap)
