Templates / Convert documentation URLs to Markdown for RAG with Apify

Convert documentation URLs to Markdown for RAG with Apify

Unknown

by Hydrocore · 0 views · created 2026-11-06 · Document Extraction, AI RAG

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 27 nodes and runs when someone submits an n8n form (“Ingest documentation for RAG”) (plus 4 other triggers). Along the way it connects Embeddings OpenAI, OpenAI Chat Model and Apify (community).

How it runs

Trigger: When someone submits an n8n form (“Ingest documentation for RAG”) (plus 4 other triggers).

  1. Configure crawl defaults (Edit Fields (Set)): sets 7 fields: startUrl, maxPages, maxSpendUsd…
  2. Answer questions from crawled docs (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Query docs knowledge base); memory: Keep short chat memory
  3. Normalize and validate URLs (Code): runs custom JavaScript code
  4. Has valid start URLs? (If): checks a condition and branches into true / false
  5. Run website to Markdown crawler (Apify): run actor and get dataset (actors)
  6. Build empty-URL failure (Edit Fields (Set)): sets 6 fields: ok, triggerSource, pageCount…
  7. Clean, dedupe, and prepare documents (Code): runs custom JavaScript code
  8. Build Apify failure (Edit Fields (Set)): sets 6 fields: ok, triggerSource, pageCount…
  9. Route ingest response (Switch): routes items into 2 branches
  10. Pages were saved? (If): checks a condition and branches into true / false

…plus 6 more steps. See the full node list below.

Services it uses

Embeddings OpenAIOpenAI Chat ModelApify (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in Run website to Markdown crawler).

Nodes used (20)

From the author

Quick Overview This workflow manually crawls a documentation website with Apify’s hydrocore/website-to-markdown-text actor, converts each discovered page into clean Markdown and text, and outputs a simplified, RAG-ready dataset containing the page URL, title,…

Excerpt from Hydrocore's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.