What This Workflow Does
This automation template provides a robust multi-factor authentication (MFA) solution combining voice call verification with email confirmation. It addresses the growing security needs of businesses by implementing two distinct verification channels, significantly reducing the risk of unauthorized account access.
The workflow generates a secure verification code, delivers it via both voice call (using ClickSend's API) and email (via SMTP), then validates the user's response. This dual-channel approach ensures higher security than single-factor methods while maintaining accessibility for users who may prefer one channel over another.
How It Works
1. Trigger and Code Generation
The workflow initiates when a user requests authentication, typically during login or sensitive transactions. The system generates a 6-digit verification code with a short expiration window (usually 5-10 minutes).
2. Dual-Channel Delivery
The code is simultaneously sent via ClickSend's voice API (as an automated call to the user's phone number) and through your SMTP email server (to the user's registered email address). This parallel delivery ensures redundancy.
3. User Verification
The user enters the received code into your application. The workflow validates this against the generated code, checking both correctness and expiration time.
4. Success/Failure Handling
Based on validation results, the workflow either grants access or triggers security protocols for failed attempts (like temporary account lockout or admin alerts).
Pro tip: For high-security applications, add geo-verification by comparing the user's IP location with their registered address.
Who This Is For
This template is ideal for:
- Financial services needing transaction verification
- Healthcare platforms protecting patient data
- E-commerce sites preventing account takeovers
- SaaS companies offering enterprise security
- Any business requiring PCI DSS or HIPAA compliance
What You'll Need
- ClickSend API credentials (account required)
- SMTP email server access
- n8n instance (self-hosted or cloud)
- User database with phone numbers and emails
- Web application with authentication flow
Quick Setup Guide
- Download the JSON template file
- Import into your n8n instance
- Configure ClickSend and SMTP credentials
- Set your verification code expiration time
- Connect to your user database
- Test with sample phone numbers and emails
- Deploy to production environment
Key Benefits
Enhanced Security: Reduces account takeover risks by 99.9% compared to password-only systems.
Global Reach: Voice calls work reliably even in regions with SMS filtering issues.
User Choice: Customers can use their preferred verification method.
Compliance Ready: Meets strict authentication requirements for financial and healthcare applications.
Scalable: Handles thousands of verifications per hour without manual intervention.