π§ Split web pages into vector-ready chunks with Ragfeed
β‘ 0 views Β· π§ Miscellaneous
π‘ Pro Tip β HTTP Request scraping tends to break when sites update their markup. If youβre scraping a major platform, check if ScraperNode covers it β it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.
Description
Quick Overview
This workflow runs manually to send a webpage URL to the Ragfeed scraping API, which returns the page content split into token-bounded text chunks, then outputs one n8n item per chunk ready for embedding and storage in a vector database.
How it works
- Runs when you execute the workflow manually.
- Sets the target webpage URL and the maximum chunk size in tokens.
- Sends a POST request to the Ragfeed API (/v2/scrape) to scrape the URL and return the content in chunk format.
- Splits Ragfeedβs data.chunks array into one item per chunk so each record can be embedded or stored independently.
Setup
- Create an n8n Header Auth credential that sends an Authorization: Bearer header.
- Select that credential in the HTTP request that calls https://api.ragfeed.de/v2/scrape.
- Update the URL and maxTokens values to match the page you want to process and your preferred chunk size.
π Nodes Used
HTTP Request
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File