Extract Notion Wiki into AI & LLM RAG Chunks
Recursively crawl a Notion wiki or knowledge base and split every page into heading-aware, token-sized Markdown chunks ready for LangChain, LlamaIndex, Pinecone, Qdrant, and OpenAI Vector Stores.
Input
Output fields
Sign up on Apify or log in
The Notion Page, Wiki & Database Scraper - Markdown, JSON & RAG Actor is ready to run with the inputs already set for "Extract Notion Wiki into AI & LLM RAG Chunks". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Extract Notion Wiki into AI & LLM RAG Chunks" task
The Notion Page, Wiki & Database Scraper - Markdown, JSON & RAG Actor will start running based on the input automatically. You can also change all the input fields, like 🌐 start urls, 📄 max pages, and more, to match your specific use case.
Receive the "Extract Notion Wiki into AI & LLM RAG Chunks" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as title, heading path, chunk index, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Extract Notion Wiki into AI & LLM RAG Chunks" task via API.

Integrate "Extract Notion Wiki into AI & LLM RAG Chunks" into your workflow
Connect "Extract Notion Wiki into AI & LLM RAG Chunks" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay
The Extract Notion Wiki into AI & LLM RAG Chunks task emits one JSON record per chunk with title, headingPath breadcrumb, chunkIndex, totalChunks, clean Markdown text, contentHash, and source URL.
The Extract Notion Wiki into AI & LLM RAG Chunks task splits Notion pages along H1-H3 headings with configurable targetChunkTokens and overlapTokens so embeddings preserve section context.
Setting syncKey and enabling emitOnlyChanges in the Extract Notion Wiki into AI & LLM RAG Chunks task skips unchanged pages across scheduled runs so you only re-embed updated documentation.
The Extract Notion Wiki into AI & LLM RAG Chunks task scrapes public Notion URLs with zero auth and also accepts an optional encrypted notionToken to extract shared private workspace pages.