• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

Shopify to Wati - Phone number formatting issue

expedigit

Member
I need some help with formatting phone numbers for WhatsApp messages. I'm using Pabbly to automate sending WhatsApp messages (Wati) after a Shopify purchase, but customers enter their phone numbers in different formats (with or without country codes).

So currently when I map the "customer default phone number" field to WhatsApp number in Wati, it doesn't always goes to the intended person (due to irregularities in phone number formatting)

Any tips on how to standardize phone numbers and add the correct country code automatically? if it was a google sheet, i'd add a formula like this to fix this:
=IF(LEN(A1)=10,"91"&A1,IF(LEFT(A1,2)="91",A1,IF(LEN(A1)=13,A1,"")))


Any help appreciated!
 

ArshilAhmad

Moderator
Staff member
Hi @expedigit,

You can try using the 'Number Formatter: Format Phone Number' action step to add a country code to the phone number.
1728153127368.png
 

expedigit

Member
If i do so, the result comes with "+" and country code, or without either. i need without "+" and with country code.
if you can see the screenshot of Wati, it'll be written "Enter a valid WhatsApp number with country code without plus (+) sign. Ex: 919039843231".

Pl shelp me navigate this issue.

1728206752520.png
1728206779928.png
 
Top