How to Use SMS and Phone Number Validation

How to Use SMS and Phone Number Validation

LANA may have SMS validation enabled, allowing the system to check phone numbers for you at the time of SMS sending. If activated, LANA will check Twilio Lookup (which charges per lookup) to see if the number is a landline and then LANA won’t send messages to it. Twilio Lookup can also invalidate non-existent numbers or badly formatted numbers.

NOTE: The validation is done at the time of SMS sending, not during Contact Record creation or importing. 

You may set up a workflow trigger for the Twilio validation error to set up trigger action accordingly. This can help you determine what automation(s) you want to setup in case of an invalid number. For example, if you send a bulk SMS but LANA detects an invalid number, you may want LANA to send you a notification so you can email the affected contact(s). This is just one use-case, but there are many options you can completely customize.

Step 1: Setting Up the Workflow Triggers for Twilio Validation

  • Navigate to Workflows
  • Create a new Workflow or edit an existing Workflow
  • Add a Workflow Trigger, and choose “Twilio Validation Error” from the dropdown list.
  • Choose your filter(s). The filter can operate based on the error when the phone number is invalid (Error 21211) or SMS is incapable (error 30006). Check the box for the option(s) you wish to use.

  • You can read more about each error type here:

   https://www.twilio.com/docs/api/errors/21211

   https://www.twilio.com/docs/api/errors/30006

  • Continue to set up the workflow however you’d like (with notifications, emails, etc.) You may set up multiple triggers and/or workflow events - whatever makes sense for your specific situation.
  • Save to confirm your changes.

Now you’re ready to use the number validation!

    • Related Articles

    • Bulk Actions - SMS

      Using the Bulk Actions features in your Contacts/Smart Lists section, you can perform multiple one-off actions to selected or all contacts. Here’s how to send contacts a one-off SMS using the bulk action feature: NOTE: You must have an outbound phone ...
    • New Feature: Choose Your Sending Number for SMS Messages in LANA Software Conversations

      New Update: Selecting a Phone Number for SMS Messages in LANA Software Conversations This update introduces more control over selecting phone numbers when sending SMS messages in LANA Software’s Conversations module. You can now choose the most ...
    • Phone Number Settings Options

      This video explains how to change the phone number settings options.
    • How to Create and Use Custom Values

      Custom Values, or Merge Fields, are values you can put into a template that will auto-populate when generating communication with your contacts. They are a great way to save time and maximize LANA, by automating information so you can send out ...
    • Using a Workflow and Smart List To Track Failed SMS Contacts

      If you are sending SMS communications in LANA, and the SMS fails to go through, you may want to track those contacts for a variety of reasons (i.e. perhaps you want to call or email them to confirm their mobile number for SMS communications.) You can ...