Fetch all page content from website and store with Gemini embedding in Pinecone
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs when someone submits an n8n form. Along the way it connects Embeddings Google Gemini and Pinecone Vector Store.
How it runs
Trigger: When someone submits an n8n form.
- Switch: routes items into branches
- Split Pages URL (Code): runs custom JavaScript code
- Fetch Sitemap (HTTP Request): calls an HTTP API
- Merge: merges the data from its input branches
- XML: converts between XML and JSON
- Remove Duplicate URLs (Remove Duplicates): removes duplicate items
- Extract Page URLs (Code): runs custom JavaScript code
- Loop Over Page URLs (Loop Over Items (Split in Batches)): loops over the items in batches
- Extract Content (HTML): parses or builds HTML
- Fetch Page HTML For content (HTTP Request): calls an HTTP API
…plus 2 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (13)
- Code
n8n-nodes-base.code - XML
n8n-nodes-base.xml - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Remove Duplicates
n8n-nodes-base.removeDuplicates - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTML
n8n-nodes-base.html - Wait
n8n-nodes-base.wait - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Embeddings Google Gemini
@n8n/n8n-nodes-langchain.embeddingsGoogleGemini - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - n8n Form Trigger
n8n-nodes-base.formTrigger - Switch
n8n-nodes-base.switch
From the author
Fetch and Extract all Website Pages Content and Store in Pinecone Vector Database as KnowledgeBase with Google Gemini Embeddings Use cases are many: Populate a custom chatbot's knowledge base, create a powerful search index for your website, or build a…