Templates / Register users and authenticate with magic links using Google Sheets

Register users and authenticate with magic links using Google Sheets

Ready for 3.0

by ICTS Automation · 84 views · created 2026-02-25 · Miscellaneous

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 30 nodes and runs when someone submits an n8n form (“Register with your email”) (plus 3 other triggers). Along the way it connects Google Sheets and Gmail.

How it runs

Trigger: When someone submits an n8n form (“Register with your email”) (plus 3 other triggers).

  1. Create password and token (Code): runs custom JavaScript code
  2. Check username/password (Google Sheets): uses Google Sheets
  3. If: checks a condition and branches into true / false
  4. Check sid cookies header (Code): runs custom JavaScript code
  5. Append or update row in sheet (Google Sheets): append or update
  6. If: checks a condition and branches into true / false
  7. Search by token (Google Sheets): uses Google Sheets
  8. Invalid token (Respond to Webhook): sends the response back to the webhook caller
  9. Search sid (Google Sheets): uses Google Sheets
  10. Send username/password (Gmail): uses Gmail

…plus 16 more steps. See the full node list below.

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (8)

From the author

This workflow implements a lightweight authentication system for n8n web portals using Google Sheets as a simple user and session store. It supports email-based registration, username and password login, one-click magic link authentication, and cookie-based…

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