Bright Data, Gemini and Pinecone vector dataset preparation
This n8n workflow fetches target web pages via Bright Data HTTP requests and cleans messy HTML markup before indexing. Google Gemini information extraction and structured JSON formatting shape clean text records. Chunks are embedded with Gemini into Pinecone while formatted summaries post to a webhook endpoint.
- Catalogue ID
- #0933
- Functional nodes
- 16
- Connections
- 17
- Trigger
- manualTrigger
- AI layer
- AI-assisted
Business problem solved
Feeding raw web markup, navigation bars and footer links straight into vector storage degrades RAG accuracy. Teams need clean extraction and strict JSON schemas before writing knowledge datasets.
Trigger
A manual trigger sets the target URL and notification webhook to run extraction and vector indexing.
Connected systems
- Bright Data HTTP API
- Google Gemini
- Pinecone vector store
- Structured output parser
- Webhook notification
- Self-hosted n8n
Every workflow is deployed on your own server with documentation, a run log and an error queue.
Workflow architecture
- 1. When clicking Test workflow (Trigger) (connects to Set Fields - URL and…)
- 2. AI Agent (AI layer) (connects to Pinecone Vector Store, Webhook for structured AI…)
- 3. Pinecone Vector Store (AI layer)
- 4. Embeddings Google Gemini (AI layer) (connects to Pinecone Vector Store)
- 5. Default Data Loader (AI layer) (connects to Pinecone Vector Store)
- 6. Recursive Character Text… (AI layer) (connects to Default Data Loader)
- 7. Google Gemini Chat Model1 (AI layer) (connects to AI Agent)
- 8. Google Gemini Chat Model2 (AI layer) (connects to Structured JSON Data…)
- 9. Google Gemini Chat Model (AI layer) (connects to Information Extractor with…)
- 10. Structured Output Parser (AI layer) (connects to AI Agent)
- 11. Set Fields - URL and… (Service and data) (connects to Make a web request, Webhook for structured data, Webhook for structured AI…)
- 12. Make a web request (Service and data) (connects to Structured JSON Data…, Information Extractor with…)
- 13. Structured JSON Data… (AI layer) (connects to Webhook for structured data)
- 14. Webhook for structured data (Service and data)
- 15. Webhook for structured AI… (Service and data)
- 16. Information Extractor with… (AI layer) (connects to AI Agent)
- Trigger
- AI layer
- Logic and routing
- Service and data
Node positions and directed links are generated from the verified catalogue record.
Workflow steps
- 01
Target web fetch via Bright Data
Input parameters define the source page and destination webhook before Bright Data retrieves page content over HTTP.
- 02
Gemini extraction and JSON structuring
The information extractor and LLM chain strip layout noise and shape structured JSON records via Google Gemini.
- 03
Recursive splitting and Pinecone upsert
Cleaned content is chunked, embedded with the Gemini embedding model and written into the Pinecone index.
- 04
Schema formatting and webhook dispatch
An AI agent with a structured output parser compiles dataset metadata and posts completion notices to your webhook.
Error queue and human approval
Built-in state in the catalogue workflow
The verified catalogue workflow contains zero node-level error flags across its 16 functional nodes and 17 connections.
Production layer added by ALTAI
During live deployment, ALTAI adds an allowlisted domain guard, scheduled incremental updates, extraction failure alerting and duplicate record protection.
Bright Data Gemini Pinecone datasets Frequently asked questions
Raw HTML introduces navigation boilerplate and scripts into embeddings. Structured extraction keeps only substantive content inside your index.
Yes. The HTTP request step adapts easily to internal portals, sitemaps or authorised APIs.
Yes. Live deployments swap the manual trigger for a schedule trigger with change hashing to skip unchanged pages.
Related n8n workflows
Web article scraping Milvus RAG agent
Scrapes article links with HTML CSS selectors, cleans page body markup, writes chunks into Milvus and serves chat Q&A through OpenAI.
GitHub OpenAPI spec RAG workflow
Fetches the GitHub OpenAPI V3 spec via HTTP, embeds endpoints into Pinecone and answers developer API questions with OpenAI and memory.
Drive and Pinecone Gemini RAG workflow
Tracks created and updated Google Drive files, embeds chunks with Google Gemini into Pinecone and serves grounded team chat answers.

We write the proposal after we have found the problem together
In a thirty-minute call we listen to how you work and talk through where time and customers are slipping away. If you do not need a digital fix, we will tell you that too.
30 minutes · no preparation needed
The call and the week of discovery are both free.Read the terms