{"product_id":"n8n-workflow-index-web-pages-to-supabase-with-jina-gemini","title":"n8n Workflow: Index Web Pages to Supabase with Jina + Gemini","description":"\u003ch3\u003eIndex your web pages into a Supabase vector store—automatically with Jina + Google Gemini (n8n workflow)\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow fetches readable text from web pages using \u003cstrong\u003ejina.ai\u003c\/strong\u003e, cleans and restructures it with \u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e, generates embeddings, and stores the results in your \u003cstrong\u003eSupabase\u003c\/strong\u003e vector table—while tracking each URL’s indexing status in an \u003cstrong\u003en8n Data Table\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTriggers\u003c\/strong\u003e either from the built-in n8n form (enter a URL and type) or by manually running the workflow to process records in the Data Table marked as \u003cem\u003enot indexed\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDe-duplicates\u003c\/strong\u003e by checking whether the submitted URL already exists in the n8n Data Table; if it does, the workflow \u003cstrong\u003edeletes matching documents in Supabase\u003c\/strong\u003e via the Supabase REST API.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches raw page content\u003c\/strong\u003e using \u003cstrong\u003ejina.ai\u003c\/strong\u003e to extract the page’s readable text.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCleans and restructures\u003c\/strong\u003e the extracted text with \u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e (without rewriting—focused on cleaning\/reformatting).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eChunks, embeds, and inserts\u003c\/strong\u003e the cleaned content into Supabase: it splits text into chunks, attaches metadata (including \u003cstrong\u003eurl\u003c\/strong\u003e and \u003cstrong\u003etype\u003c\/strong\u003e), generates \u003cstrong\u003eGoogle Gemini embeddings\u003c\/strong\u003e, and inserts documents into the Supabase vector store table.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUpdates indexing status\u003c\/strong\u003e in the n8n Data Table with the cleaned text and sets the status to \u003cem\u003eindexed\u003c\/em\u003e, then waits briefly before continuing batch processing.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eBuild a \u003cstrong\u003eSaaS knowledge base\u003c\/strong\u003e from product pages or documentation URLs and keep it updated.\u003c\/li\u003e\n  \u003cli\u003eRun \u003cstrong\u003ebatch indexing\u003c\/strong\u003e for multiple URLs stored in an n8n Data Table until everything is marked indexed.\u003c\/li\u003e\n  \u003cli\u003eRefresh embeddings for specific pages by re-running with a URL and type.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations\/Credentials:\u003c\/strong\u003e Google Gemini (PaLM) API and Supabase\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n components:\u003c\/strong\u003e if, set, wait, switch, data table, form trigger\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSupabase REST API:\u003c\/strong\u003e delete request (replace \u003cem\u003eYOUR_PROJECT_REF\u003c\/em\u003e and ensure the REST endpoint can delete rows)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003ePerfect for n8n users and automation engineers who want a reliable \u003cstrong\u003eweb page indexing to Supabase\u003c\/strong\u003e pipeline using \u003cstrong\u003ejina.ai\u003c\/strong\u003e + \u003cstrong\u003eGemini\u003c\/strong\u003e embeddings.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45814416834739,"sku":"N8N-18021","price":66.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/wQfAHtni5suTKH6_Txkc3_C8XN0ah5.png?v=1786439025","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-index-web-pages-to-supabase-with-jina-gemini","provider":"N8N Commerce","version":"1.0","type":"link"}