Templates / Export Google Sheets data to CSV or Excel and send via Gmail

Export Google Sheets data to CSV or Excel and send via Gmail

Ready for 3.0

by isaWOW ✓ · 30 views · created 2026-07-17 · File Management

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 7 nodes and runs when someone submits an n8n form (“Google Sheets Exporter”). Along the way it connects Google Sheets and Gmail.

How it runs

Trigger: When someone submits an n8n form (“Google Sheets Exporter”).

  1. 2. Sheets - Read Data from User Sheet (Google Sheets): uses Google Sheets
  2. 3. Code - Validate Input and Attach Context (Code): runs custom JavaScript code
  3. 4. Switch - Route to CSV or XLSX (Switch): routes items into 2 branches
  4. 5. Spreadsheet File - Convert to XLSX (Spreadsheet File): reads or writes a spreadsheet file (legacy node)
  5. 6. Spreadsheet File - Convert to CSV (Spreadsheet File): reads or writes a spreadsheet file (legacy node)
  6. 7. Gmail - Email File to User (Gmail): uses Gmail

Services it uses

Google SheetsGmail

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.

  • Still check Spreadsheet File (5. Spreadsheet File - Convert to XLSX, 6. Spreadsheet File - Convert to CSV): Convert to File / Extract from File.

Nodes used (6)

From the author

Quick Overview This workflow collects a Google Sheet export request via an n8n Form, reads the requested tab from Google Sheets, converts the data to CSV or Excel, and emails the generated file to the requester using Gmail. How it works 1. Receives a sheet…

Excerpt from isaWOW's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.