Phone number validation

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 or national format though.

2 Likes

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 + OpenAI + Numverify. 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.

Step 2: Validate using Numverify

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

Step 3: Connect the steps

Feed the cleaned number from OpenAI into Numverify.