Skip to main content

MFA multi-factor authentication (Voice call and Email) with ClickSend and SMTP

Workflow preview

Workflow preview
100%
MFA multi-factor authentication (Voice call and Email) with ClickSend and SMTP preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This workflow automates the process of sending voice calls for verification purposes and combines it with email verification . It uses the ClickSend API for voice calls and integrates with SMTP for...

Best for

  • SecOps automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.httprequest, n8n-nodes-base.formtrigger, n8n-nodes-base.emailsend, n8n-nodes-base.code, n8n-nodes-base.set, n8n-nodes-base.form, n8n-nodes-base.if

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Davide.

Original n8n.io source

1.1 Workflow description

Title
MFA multi-factor authentication (Voice call and Email) with ClickSend and SMTP
Workflow name
MFA multi-factor authentication (Voice call and Email) with ClickSend and SMTP

This workflow automates the process of sending voice calls for verification purposes and combines it with email verification. It uses the ClickSend API for voice calls and integrates with SMTP for email verification.

This workflow is a powerful tool for automating phone and email verification, ensuring a seamless and secure user verification process.

Below is a breakdown of the workflow:


1. How It Works

The workflow is designed to verify a user's phone number and email address through a combination of voice calls and email verification. Here's how it works:

  1. Form Submission:

    • The workflow starts with a Form Trigger node, where users submit a form with the following fields:
      • To: The recipient's phone number (including the international prefix, e.g., +1xxxx).
      • Voice: The voice type (male or female).
      • Lang: The language for the voice call (e.g., en-us, it-it, fr-fr, etc.).
      • Email: The recipient's email address.
      • Name: The recipient's name.
  2. Set Voice Code:

    • The Set Voice Code node defines the verification code that will be spoken during the voice call.
  3. Format Code for Voice:

    • The Code for Voice node formats the verification code by adding spaces between characters for better clarity during the voice call.
  4. Send Voice Call:

    • The call includes the verification code, which is read aloud to the recipient.
  5. Verify Voice Code:

    • The Verify Voice Code node prompts the user to enter the code they received via the voice call.
    • The Is Voice Code Correct? node checks if the entered code matches the predefined code.
      • If correct, the workflow proceeds to email verification.
      • If incorrect, the user is notified of the failure.
  6. Set Email Code:

    • The Set Email Code node defines the verification code that will be sent via email.
  7. Send Email:

    • The Send Email node sends an email to the recipient with the verification code using SMTP.
  8. Verify Email Code:

    • The Verify Email Code node prompts the user to enter the code they received via email.
    • The Is Email Code Correct? node checks if the entered code matches the predefined code.
      • If correct, the user is notified of successful verification.
      • If incorrect, the user is notified of the failure.

2. Set Up Steps

To set up and use this workflow in n8n, follow these steps:

  1. ClickSend API Key:

    • Create an account on ClickSend and obtain your API Key.
    • In the Send Voice node, set up HTTP Basic Authentication:
      • Username: Use the username you registered with on ClickSend.
      • Password: Use the API Key provided by ClickSend.
  2. SMTP Configuration:

    • Set up SMTP credentials in n8n for the Send Email node.
    • Ensure the SMTP server is configured to send emails from the specified email address.
  3. Form Configuration:

    • The Form Trigger node is pre-configured with fields for:
      • To: The recipient's phone number.
      • Voice: Choose between male or female voice.
      • Lang: Select the language for the voice call.
      • Email: The recipient's email address.
      • Name: The recipient's name.
    • Customize the form fields if needed.
  4. Set Verification Codes:

    • In the Set Voice Code node, define the verification code that will be spoken during the voice call.
    • In the Set Email Code node, define the verification code that will be sent via email.
  5. Test the Workflow:

    • Submit the form with the required details (phone number, voice, language, email, and name).
    • The workflow will:
      • Send a voice call with the verification code.
      • Prompt the user to verify the code.
      • Send an email with the verification code.
      • Prompt the user to verify the email code.
      • Notify the user of success or failure.

Need help customizing?

Contact me for consulting and support or add me on Linkedin.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Send Voice

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - On form submission

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 5 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Send Email

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 2.1

Block 7 - Code for voice

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Set voice code

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - Verify voice code

Type / Role
n8n-nodes-base.form - form
Config choices
Version 1

Block 10 - Fail voice code

Type / Role
n8n-nodes-base.form - form
Config choices
Version 1

Block 11 - Set email code

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 12 - Verify email code

Type / Role
n8n-nodes-base.form - form
Config choices
Version 1

Block 13 - Is email code correct?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 14 - Is voice code correct?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 15 - Success

Type / Role
n8n-nodes-base.form - form
Config choices
Version 1

Block 16 - Fail email code

Type / Role
n8n-nodes-base.form - form
Config choices
Version 1

Block 17 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow MFA multi-factor authentication (Voice call and Email) with ClickSend and SMTP
Complexity advanced
Nodes 19
Categories SecOps
Author Davide
Published 12 Mar 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3142/3142.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does MFA multi-factor authentication (Voice call and Email) with ClickSend and SMTP do?

This workflow automates the process of sending voice calls for verification purposes and combines it with email verification . It uses the ClickSend API for voice calls and integrates with SMTP for...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your SecOps use case.