See llms.txt for all machine-readable content.

Back to Templates

Save website content as Markdown in Google Drive using FetchRelay

Created by

Created by: Suraj Rajan || skrcode
Suraj Rajan

Last update

Last update a day ago

Categories

Share


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

  • 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.