πŸ”¬ 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.

View All Scrapers

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

  1. Runs when you execute the workflow manually.
  2. Sets the target webpage URL to scrape.
  3. Sends the URL to the FetchRelay scrape API to extract the page’s main content in Markdown format.
  4. Validates that FetchRelay returned usable Markdown and stops with an error if there are extraction warnings.
  5. Converts the Markdown text into a Markdown file.
  6. Uploads the generated .md file to the selected Google Drive folder.

Setup

  1. Add a FetchRelay API key and configure the HTTP Header Auth to send Authorization: Bearer <YOUR_FETCHRELAY_API_KEY>.
  2. Add a Google Drive OAuth credential and choose the destination Drive and folder.
  3. 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

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

πŸ“– Importing guide Β· πŸ”‘ Credential setup