π¬ Save website content as Markdown in Google Drive using FetchRelay
β‘ 1 views Β· π¬ Document Extraction & Analysis
π‘ 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 manually extracts the main content of a public webpage as Markdown using FetchRelay and uploads the resulting .md file to Google Drive.
How it works
- Runs when you execute the workflow manually.
- Sets the target webpage URL to scrape.
- Sends the URL to the FetchRelay scrape API to extract the pageβs main content in Markdown format.
- Validates that FetchRelay returned usable Markdown and stops with an error if there are extraction warnings.
- Converts the Markdown text into a Markdown file.
- Uploads the generated .md file to the selected Google Drive folder.
Setup
- Add a FetchRelay API key and configure the HTTP Header Auth to send
Authorization: Bearer <YOUR_FETCHRELAY_API_KEY>. - Add a Google Drive OAuth credential and choose the destination Drive and folder.
- Update the URL value in the Website URL step to the public page you want to archive as Markdown. Start with https://example.com, execute the workflow manually, and confirm that the generated Markdown file appears in your selected Google Drive folder.
Requirements
- An n8n instance, a FetchRelay account with an API key and available credits, and a Google Drive account with upload access to the selected folder. Each successful page extraction uses one FetchRelay credit; other platform costs are separate.
Additional info
Each execution creates a new file rather than updating an existing document. Empty results, failed extraction, and extraction warnings stop the workflow before upload. Login-protected pages and CAPTCHA bypass are not supported. The FetchRelay API and validation logic have been tested; a full Google Drive OAuth/upload run has not yet been verified.
π Nodes Used
HTTP Request, Google Drive, Convert to File
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File