Developer & DevOps
Generate Two-Factor Authentication TOTP Codes in n8n
2 nodes
299
137
Automatic trigger
Workflow Description
Automate the creation of time-based one-time passwords (TOTP) on demand through manual triggers. Implement multi-factor authentication for securing sensitive operations and accounts. Suitable for developers requiring programmatic access to authentication tokens without third-party dependencies.
How it works
- 1.Activate the manual trigger to initiate token generation workflow
- 2.Invoke the TOTP node to compute the time-based verification code
- 3.Deliver the generated code for immediate authentication use
Use cases
- Generate TOTP codes programmatically for API authentication flows
- Automate multi-factor authentication in restricted-access workflows
- Enable secure authentication for integrated applications and services
Requirements
- Understanding of TOTP configuration and time-synchronization principles
- Base32-encoded secret key and compatible hash algorithm setup
- Access to n8n's manual trigger capability
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
TOTP
Details
Trigger
Automatic trigger
Nodes
2
Apps
1
Views
299
Downloads
137
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