Templates / Collect API user data and store in Google Sheets with CSV backup

Collect API user data and store in Google Sheets with CSV backup

Needs changes

by PrideVel ✓ · 63 views · created 2025-11-11 · Engineering

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) 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 manually, when you click “Execute workflow”. Along the way it connects Google Sheets.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Fetch User Data from API (HTTP Request): calls an HTTP API
  2. Verify API Response Success (If): checks a condition and branches into true / false
  3. Transform API Data to Name and Country (Function): runs custom JavaScript (legacy Function node)
  4. Stop on API Failure (Stop and Error): stops the run with an error
  5. Append Data to Google Sheets (Google Sheets): uses Google Sheets
  6. Create CSV Backup File (Spreadsheet File): reads or writes a spreadsheet file (legacy node)

Services it uses

Google Sheets

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • Function (legacy) in Transform API Data to Name and Country: replace with Code node, mode 'Run Once for All Items'.
  • Also check Spreadsheet File: Convert to File / Extract from File.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →

Removed in 3.0Replace with
Function (legacy)
Transform API Data to Name and Country
Code node, mode 'Run Once for All Items'

Nodes used (7)

From the author

🧾 Overview This n8n workflow automates the process of fetching user data from an API, verifying its validity, transforming the response, and then saving it to Google Sheets for team collaboration. Additionally, it generates a CSV backup file of the same data…

Excerpt from PrideVel'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.