Skip to main content

Automated web scraping: email a CSV, save to Google Sheets & Microsoft Excel

Workflow preview

Workflow preview
100%
Automated web scraping: email a CSV, save to Google Sheets & Microsoft Excel preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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

Best for

  • Market Research automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.splitout, n8n-nodes-base.converttofile, n8n-nodes-base.stickynote, n8n-nodes-base.html, n8n-nodes-base.sort, n8n-nodes-base.googlesheets, n8n-nodes-base.microsoftexcel

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Mihai Farcas.

Original n8n.io source

1.1 Workflow description

Title
Automated web scraping: email a CSV, save to Google Sheets & Microsoft Excel
Workflow name
Automated web scraping: email a CSV, save to Google Sheets & Microsoft Excel

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 sent to your specified address.
  • The data is simultaneously saved to both Google Sheets and Microsoft Excel for further analysis or use.

Set-up steps:

  1. Change the website to scrape in the "Fetch website content" node
  2. Configure Microsoft Azure credentials with Microsoft Graph permissions (required for the Save to Microsoft Excel 365 node)
  3. Configure Google Cloud credentials with access to Google Drive, Google Sheets and Gmail APIs (the latter is required for the Send CSV via e-mail node).

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking "Test workflow"

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Split Out

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 3 - Convert to CSV File

Type / Role
n8n-nodes-base.convertToFile - convertToFile
Config choices
Version 1.1

Block 4 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Extract all books from the page

Type / Role
n8n-nodes-base.html - html
Config choices
Version 1.2

Block 8 - Sort by price

Type / Role
n8n-nodes-base.sort - sort
Config choices
Version 1

Block 9 - Extract individual book price

Type / Role
n8n-nodes-base.html - html
Config choices
Version 1.2

Block 10 - Save to Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.2

Block 11 - Save to Microsoft Excel 365

Type / Role
n8n-nodes-base.microsoftExcel - microsoftExcel
Config choices
Version 2.1

Block 12 - Send CSV via e-mail

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 13 - Fetch website content

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 14 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Automated web scraping: email a CSV, save to Google Sheets & Microsoft Excel
Complexity intermediate
Nodes 14
Categories Market Research
Author Mihai Farcas
Published 30 May 2024

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2275/2275.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automated web scraping: email a CSV, save to Google Sheets & Microsoft Excel do?

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

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research use case.