Block 1 - When clicking ‘Test workflow’
- Type / Role
- n8n-nodes-base.manualTrigger - manualTrigger
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
This template crawls a website from its sitemap, deduplicates URLs in Supabase, scrapes pages with Crawl4AI, cleans and validates the text, then stores content + metadata in a Supabase vector store...
n8n-nodes-base.manualtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.xml, n8n-nodes-base.splitout, n8n-nodes-base.splitinbatches, n8n-nodes-base.wait, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.documentdefaultdataloader
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Mariela Slavenova.
Original n8n.io sourceThis template crawls a website from its sitemap, deduplicates URLs in Supabase, scrapes pages with Crawl4AI, cleans and validates the text, then stores content + metadata in a Supabase vector store using OpenAI embeddings. It’s a reliable, repeatable pipeline for building searchable knowledge bases, SEO research corpora, and RAG datasets. ⸻
• Built-in de-duplication via a scrape_queue table (status: pending/completed/error).
• Resilient flow: waits, retries, and marks failed tasks.
• Costs depend on Crawl4AI usage and OpenAI embeddings.
• Replace any placeholders (API keys, tokens, URLs) before running.
• Respect website robots/ToS and applicable data laws when scraping.
1. Sitemap fetch & parse — Load sitemap.xml, extract all URLs.
2. De-dupe — Normalize URLs, check Supabase scrape_queue; insert only new ones.
3. Scrape — Send URLs to Crawl4AI; poll task status until completed.
4. Clean & score — Remove boilerplate/markup, detect content type, compute quality metrics, extract metadata (title, domain, language, length).
5. Chunk & embed — Split text, create OpenAI embeddings.
6. Store — Upsert into Supabase vector store (documents) with metadata; update job status.
• Supabase (Postgres + Vector extension enabled)
• Crawl4AI API key (or header auth)
• OpenAI API key (for embeddings)
• n8n credentials set for HTTP, Postgres/Supabase
1. Configure credentials (Supabase/Postgres, Crawl4AI, OpenAI).
2. (Optional) Run the provided SQL to create scrape_queue and documents.
3. Set your sitemap URL in the HTTP Request node.
4. Execute the workflow (manual trigger) and monitor Supabase statuses.
5. Query your documents table or vector store from your app/RAG stack.
This automation is ideal for:
Contact me for consulting and support: LinkedIn
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 40 workflow blocks. Download the JSON for the full node graph.
| Workflow | From sitemap crawling to vector storage: Creating an efficient workflow for RAG |
|---|---|
| Complexity | advanced |
| Nodes | 40 |
| Categories | Market Research, AI RAG |
| Author | Mariela Slavenova |
| Published | 18 Sept 2025 |
Use the JSON export at /data/workflows/8707/8707.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
This template crawls a website from its sitemap, deduplicates URLs in Supabase, scrapes pages with Crawl4AI, cleans and validates the text, then stores content + metadata in a Supabase vector store...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI RAG use case.