Save website content as Markdown in Google Drive using FetchRelay

Go to Workflow
0 views
Built by Suraj Rajan Suraj Rajan
Created on September 07, 2026

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 .
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 (3)

Code
n8n-nodes-base.code
Google Drive
n8n-nodes-base.googleDrive
HTTP Request
n8n-nodes-base.httpRequest