How to validate phone number with SMS verification (with Nexmo Verify)

When we are collecting leads information it is very important to make sure that what they provide is accurate, and a great way do this is to use an SMS verification system that helps us with such process.

To achieve this we will use an external paid service that takes care of sending SMS messages to the lead's phone with a validation code, and we will handle all the inputs from the users from the flow of our bot.

For the first part of sending the SMS, we will use a paid service called NEXMO Verify API, which has a free trial, so you can run some verification tests before you are ready to move on.

We have built a Brick with a flow ready to be used, where you only need to do the following:

  1. Import the brick

  1. Connect it to the flow

  1. Connect the outputs as you need

  1. Go inside the brick

  1. Zoom in the top area of the brick. There you will see these 4 Set Variable blocks (with Notes below) where you will see the information you need to add

  1. Go to the Getting Started area of Nexmo Verify

  1. Get the API key and API secret codes

  1. Edit the API key inside the first Set Variable block

  1. Edit the API secret inside the second Set Variable block

  1. Edit the brand inside the next Set Variable block

  1. Edit the code length inside the last Set Variable block

  1. That's it, now you can test your bot!

Bear in mind that the free trial of Nexmo let's you test few messages for verification, so use them wisely 👨‍🏫

How did we do?


Powered by HelpDocs

Powered by HelpDocs