# Phone number validation

**URL:** <https://community.glideapps.com/t/phone-number-validation/3064>\
**Category:** Ask for Help\
**Created:** [December 22, 2019, 10:25am UTC](https://community.glideapps.com/t/phone-number-validation/3064 "2019-12-22T10:25:18Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [April 23, 2025, 11:46pm UTC](https://community.glideapps.com/t/phone-number-validation/3064/21 "2025-04-23T23:46:15Z")

</div>

> **[Lookup v2 API | Twilio](https://www.twilio.com/docs/lookup/v2-api)**
>
> API reference for the Twilio Lookup API that allows you to query information on a phone number so that you can make a trusted interaction with your user.

Twilio has a nice API you can call if you’re able to make API calls in your app. You still have to convert the input phone number into [E.164](https://www.twilio.com/docs/glossary/what-e164) or national format though.

---

<div class="post-metadata">

**Author:** ![Aanchal\_Chauhan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aanchal_chauhan/32/84680_2.png) [@Aanchal\_Chauhan](https://community.glideapps.com/u/Aanchal_Chauhan)\
**Post date:** [July 31, 2025, 7:22am UTC](https://community.glideapps.com/t/phone-number-validation/3064/22 "2025-07-31T07:22:53Z")

</div>

Hey Jake,  
You’re right most forms let users enter anything in the phone field, including letters.

To fix this, I set up a **no-code flow using** [Zapier](https://zapier.com/) **+ OpenAI +** [Numverify](https://numverify.com/). It formats and validates phone numbers _after_ the form is submitted.

Here’s how the flow works:

### Step 1: Format the number with OpenAI

Clean up and convert the number to international format using the country selected in the form.

 ![image2](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/8/a809911de0b0d8dd24d430aaabcc180d743634b8.png)

### Step 2: Validate using Numverify

Check if the number is real, valid, and identify its country and carrier.

 ![image1](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/d/8dea9124842a7c81a51bbeeb61cc0b15fd9acd5d.png)

### Step 3: Connect the steps

Feed the cleaned number from OpenAI into Numverify.

 ![image3](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/f/3fa45e572916a40d2617ecd3964d972601ca7106.png)

[Previous page](https://community.glideapps.com/t/phone-number-validation/3064.md?page=1)
