Developer & DevOps
Generate TOTP Authentication Codes in n8n Workflows
2 nodes
306
131
Automatic trigger
Workflow Description
Automate the generation of time-based one-time passwords (TOTP) on demand. This guide demonstrates how to set up and use the TOTP node in n8n to create secure authentication tokens for multi-factor verification in your applications.
How it works
- 1.Trigger the workflow manually to initiate token generation
- 2.Generate a TOTP code using the provided secret key
- 3.Return the generated code for immediate use in authentication
Use cases
- Strengthen account security with two-factor authentication for your users
- Integrate TOTP generation into custom applications and services
Requirements
- Active n8n account with workflow access
- Valid TOTP secret key associated with the target account
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
TOTP
Details
Trigger
Automatic trigger
Nodes
2
Apps
1
Views
306
Downloads
131
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (2)
When clicking ‘Test workflow’
Manual Trigger
TOTP
Set