Developer & DevOps

The complete guide to setting up and creating TOTP tokens in n8n

2 nodes 204 121 Automatic trigger
Download

Workflow Description

A practical guide for setting up and generating TOTP (Time-based One-Time Password) tokens in n8n, enabling secure two-factor authentication across applications and server environments.

How it works

  1. 1.Activate the manual trigger to initiate the token generation workflow
  2. 2.Configure the TOTP node with the base secret key and authentication parameters
  3. 3.Generate the time-based token and transmit it to receiving applications

Use cases

  • Implement two-factor authentication for login systems requiring enhanced security
  • Generate dynamic OTP codes for digital wallet and payment applications
  • Manage temporary access codes for employee and user provisioning

Requirements

  • Understanding of TOTP authentication standards and secret key management
  • Access to n8n platform and workflow creation capabilities

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

TOTP

Details

Trigger Automatic trigger
Nodes 2
Apps 1
Views 204
Downloads 121

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (2)

When clicking ‘Test workflow’

Manual Trigger

#1

TOTP

Set

#2