Skip to main content

Hi


How do you validate mobile phone numbers on Unbounce forms where the phone numbers are of 10 digits and start with 6,7,8 or 9?

Hi @sgc9,


You would have to write a regex and do a custom field validation.


Here you can find some examples on how to go about accomplishing this but you would still have to write your own regex to account for the particular validation.


Best,

Hristian


Hi @sgc9 

Now that Unbounce is integrated with Zapier, you can automate the checking, verification, and formatting of phone numbers. Here’s how you can set it up step-by-step:

  1. Create a New Zap in Zapier:

    • Log in to your Zapier account and create a new Zap.
  2. Set Unbounce as the Trigger App:

    • Choose Unbounce as the trigger app.
    • Select the trigger event (e.g., "New Form Submission").
    • Connect your Unbounce account and set up the trigger to detect when a new phone number is submitted.
  3. Add OpenAI API as an Action:

    • Choose the OpenAI API module as an action.
    • Set up the action to take the phone number and country name fields from the Unbounce trigger.
    • Create a prompt in OpenAI to format the phone number correctly based on the country.
  4. Add Numverify as Another Action:

    • Choose Numverify as the next action.
    • Pass the formatted phone number from the OpenAI response to Numverify.
    • Set up Numverify to validate the phone number.
    • Learn more about Numverify here
  5. Update the Record in Google Sheets, Glide, or Another CRM:

    • Add an action to update the original record in Google Sheets, Glide, or your chosen CRM.
    • Use the verified and formatted phone number to update the record.
    • Configure the action to ensure the updated phone number is recorded in the desired format.
  6. Test the Zap:

    • Test the Zap to make sure it’s working correctly.
    • Ensure that a new phone number submitted in Unbounce triggers the Zap, formats it using OpenAI, verifies it with Numverify, and updates the record accordingly.
  7. Turn on the Zap:

    • Once everything is set up and tested, turn on the Zap to start automating the process.

By following these steps, you can automate the phone number verification and formatting process using Unbounce, OpenAI, Numverify, and your CRM of choice through Zapier.

Hope this helps,

Christopher


Reply