Register users and authenticate with magic links using Google Sheets — Flujo de trabajo n8n

Alta complejidad Disparador30 nodos🏷️ Miscellaneous👁 2 vistaspor ICTS Automation

Descripción general

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 session management.

How it works Users register with an email address through a form. The workflow generates a password and a one-time authentication token. User credentials and token are stored in Google Sheets. An email is sent with login

Nodos utilizados

Google SheetsGmailCode

Vista previa del flujo de trabajo

1. Login
Validate username and password against Google Sheets, t
0. Register
Collect an email address via form, generate credentials
2. Auth
Validate the one-time token via Google Sheets, generate
3. Profile
Read the sid cookie, look up the active session in Goog
Overview
This workflow provides a lightweight authentication flo
Append or update row in …
Prepare sid
Generate token
I
If has token in DB
I
If has token
Search by token
O
On form register
Create password and token
Send username/password
N
Notice register success
O
On form login
Check username/password
I
If login success
R
Redirect to login form
R
Redirect to auth url
Add token to DB
R
Redirect to auth with ne…
A
Auth
I
Invalid token
I
If token valid
R
Redirect to login form1
Update sid
R
Redirect to profile and …
P
Profile
Check sid cookies header
Search sid
I
If has data with sid
R
Redirect to login
Prepare html
S
Show profile page
30 nodes26 edges

Cómo funciona

  1. 1

    Disparador

    El flujo de trabajo comienza con un disparador disparador.

  2. 2

    Procesamiento

    Los datos fluyen a través de 30 nodos, connecting code, form, formtrigger.

  3. 3

    Salida

    El flujo de trabajo completa su automatización y entrega el resultado al destino configurado.

Detalles de nodos (30)

GO

Google Sheets

googleSheets

#1
GM

Gmail

gmail

#2
CO

Code

code

#3

Cómo importar este flujo de trabajo

  1. 1Haz clic en el botón Descargar JSON a la derecha para guardar el archivo del flujo de trabajo.
  2. 2Abre tu instancia de n8n. Ve a Flujos de trabajo → Nuevo → Importar desde archivo.
  3. 3Selecciona el archivo register-users-and-authenticate-with-magic-links-using-google-sheets descargado y haz clic en Importar.
  4. 4Configura las credenciales para cada nodo de servicio (claves API, OAuth, etc.).
  5. 5Haz clic en Probar flujo de trabajo para verificar que todo funcione, luego actívalo.

O pega directamente en n8n → Importar desde JSON:

{ "name": "Register users and authenticate with magic links using Google Sheets", "nodes": [...], ...}

Integraciones

codeformformtriggergmailgooglesheetsifrespondtowebhookwebhook

Obtener este flujo de trabajo

Descarga e importa con un solo clic

Descargar JSONVer en n8n.io
Nodos30
Complejidadhigh
Disparadortrigger
Vistas2
CategoríaMiscellaneous

Creado por

ICTS Automation

ICTS Automation

@ictsautomation

Etiquetas

codeformformtriggergmailgooglesheetsifrespondtowebhookwebhook

¿Nuevo en n8n?

n8n es una herramienta de automatización de flujos de trabajo gratuita y de código abierto. Alójala tú mismo o usa la versión en la nube.

Obtener n8n gratis →

Related Miscellaneous Workflows