Automations
Configure OTP verification in a bot
Send a six-digit code to a contact method the customer already has on file, check it comes back, and route the conversation on the result.
Updated 22 October 2026
Verify Identity (OTP) sends a six-digit code to a contact method already saved for the customer, then checks it comes back. Use it before anything sensitive. It never asks the customer to type in a new number or address during verification — that would prove nothing.
Save to Contact checks contact changes separately. Adding a first email, phone or WhatsApp number verifies the new destination. Replacing a saved one also requires proof through an existing trusted contact method before checking the new destination. A separate Verify Identity (OTP) step does not replace those required checks. See Save what a bot learns about a customer.
Before you start
- The customer needs a saved contact method. If nothing is on file, the step takes its Failed route.
- On WhatsApp, bind the bot to the number the messages come from.
How it works
The code goes to one method, chosen by you:
- SMS — to the customer's saved mobile number
- Email — to the customer's saved email address
- WhatsApp — only when the customer is doing the main task somewhere else, such as your website or app
Qcom never switches method after a failure — a delivery failure takes the Failed route instead, so you decide what happens next.
If the conversation is already on WhatsApp, do not verify over WhatsApp. The code and the answer would travel over the same account, which proves nothing about who is holding it. Choose saved SMS or email. If you only need agreement rather than proof of identity, use Confirm Customer Intent.
That includes WhatsApp Web — a separate connection in Qcom, but the same app on the customer's phone. Publishing is blocked in both cases.
Set it up
- Add Verify Identity (OTP) to the canvas and select it.
- Choose the Delivery method.
- Write the Verification prompt the customer sees when the code is on its way.
- Set Max attempts — how many wrong tries before the step gives up.
For a website or app journey using WhatsApp delivery, connect the bot to the exact number sending the code, then choose an approved Authentication template on that number — a Meta-approved type built for one-time codes, with a single copy-code button. Utility, marketing and appointment templates cannot carry a code.
The recovery message
When a WhatsApp bot is active, Qcom sends a follow-up after the code goes out by SMS or email: a Utility template — a Meta-approved message for transactional updates — named *Identity check recovery*. It carries no code, and offers two buttons: Resend code and Get human help.
Qcom creates and selects it for the WhatsApp Business Account behind your number. You cannot edit or delete it. Resending repeats the method you chose.
Connect the routes
- Verified — the code came back correct.
- Failed — the code expired, delivery failed, no saved contact method exists, or the customer ran out of attempts.
- Help — optional, and only shown when Custom human-help route is enabled. Without it, *Get human help* performs the standard handoff to a person.
Connect every route you can see. To let customers continue without verifying, build that as a deliberate choice *after* the Failed route — never as a successful verification.
Common problems
A step marked Incomplete cannot be used in a published bot. Select the incomplete step and the settings panel shows what must be fixed.
Here, the usual causes are:
- No delivery method has been chosen
- A visible route is not connected
- The bot is set to verify over WhatsApp while the conversation is already on WhatsApp, or on WhatsApp Web
- The recovery message has not been approved yet for your WhatsApp Business Account
- A website or app journey uses WhatsApp delivery without an approved Authentication template on the selected number
You can save a bot with an incomplete verification step. Publishing is what is blocked, not saving.
Test it
Use Flow preview to walk each route as a customer would. It sends nothing — no messages, no code, no contact with a customer.
Activate it
Publish once the method, routes and required approvals are ready, then connect the bot to the intended Inbox. Test verified, failed and help outcomes with a test customer before offering it publicly. Publishing alone does not start a verification or connect an Inbox.
Was this article helpful?