Convert URLs from Google Sheets to Google Drive markdown files with Gaffa
Quick overview
Description
Quick overview Keep a list of URLs in a Google Sheet and let the workflow turn each page into clean markdown in Google Drive. It runs on a schedule and marks each row as it goes. How it works Runs on a schedule and reads the sheet, keeping only the rows that have a URL and no status yet. Gaffa loads each page in a real browser, so JavaScript-heavy pages work, and converts it to markdown. A code step strips leftover links and blank lines from the markdown. Google Drive saves the markdown file and the row is marked done. A page that fails is marked with an error in the sheet and the run carries on with the next URL. Setup Install the community node @gaffa-dev/n8n-nodes-gaffa in your n8n instance. Create an API key at gaffa.dev and add it as the Gaffa API credential. Connect your Google Sheets and Google Drive credentials in n8n. Copy the sample sheet from the canvas sticky, or make your own with url and status columns. Pick your Drive folder on the Save to Drive node and activate the workflow. Requirements A Gaffa API key A Google Sheets credential and a sheet with url and status columns A Google Drive credential and a folder to save into Customization Set a selector on the Gaffa node to keep only the main content, for example main or article. Change the batch size on the loop to control how many pages run per pass. Point the Save to Drive node elsewhere, the markdown sits on the item. An n8n automation workflow template by James Mundy.
Community Metrics
Author
James Mundy
Platform
web
Pricing model
free
Categories
- Automation
Tags
- n8n
- workflow
- google-sheets
- google-drive
- code
Capabilities
- 3 nodes
- 14 views