Automated web scraping: email a CSV, save to Google Sheets & Microsoft Excel
Ready for 3.0What this workflow does
This workflow has 10 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets, Microsoft Excel 365 and Gmail. It also calls books.toscrape.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Fetch website content (HTTP Request): calls books.toscrape.com
- Extract all books from the page (HTML): parses or builds HTML
- Split Out: splits a list into separate items
- Extract individual book price (HTML): parses or builds HTML
- Sort: sorts the items
- Save to Microsoft Excel (Microsoft Excel 365): append (worksheet)
- Convert to CSV File (Convert to File): converts data to a file
- Save to Google Sheets (Google Sheets): append
- Send CSV via e-mail (Gmail): uses Gmail
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Microsoft Excel templates (4)
HTTP calls to: books.toscrape.com
Scraping pages by hand? Firecrawl is a simpler option (10% off for new users).
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (9)
- Manual Trigger
n8n-nodes-base.manualTrigger - Split Out
n8n-nodes-base.splitOut - Convert to File
n8n-nodes-base.convertToFile - HTML
n8n-nodes-base.html - Sort
n8n-nodes-base.sort - Google Sheets
n8n-nodes-base.googleSheets - Microsoft Excel 365
n8n-nodes-base.microsoftExcel - Gmail
n8n-nodes-base.gmail - HTTP Request
n8n-nodes-base.httpRequest
From the author
How it works: The workflow starts by sending a request to a website to retrieve its HTML content. It then parses the HTML extracting the relevant information The extracted data is storted and converted into a CSV file. The CSV file is attached to an email and…