Technical example: verify two-factor TOTP code with Python
Loading workflow…
Workflow Description
A flexible workflow engine triggered manually, enabling custom code execution, conditional branching, and variable assignment. Supports documenting complex automation processes with built-in logic evaluation for multi-step task automation.
How it works
- 1.Trigger workflow execution manually on demand
- 2.Execute custom JavaScript code for data transformation
- 3.Evaluate conditional logic to determine execution paths
- 4.Set and manage variables throughout the workflow
- 5.Document process steps with inline notes
Use cases
- Processing data conditionally and storing results in variables
- Automating administrative tasks requiring complex decision logic
- Implementing manual review workflows with automatic documentation
Requirements
- Basic JavaScript knowledge for custom code execution
- Understanding of conditional logic and branching
- Active n8n account and workflow access
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
Details
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 (5)
When clicking ‘Test workflow’
Manual Trigger
TOTP VALIDATION
Code
IF CODE IS VALID
If
Sticky Note
Sticky Note
EXAMPLE FIELDS
Set
Fresh workflows, straight to your inbox
Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.
- New workflows
- Clear overviews
- Setup guides