Skip to main content
Solved

How to detect user’s country code and send a WhatsApp message based on their location?

  • August 23, 2025
  • 2 replies
  • 59 views

KHALEDHASSAN

I’m receiving messages from users in different countries 🌍. I’d like to set up my ManyChat flow so that when a user shares their phone number, the system can detect the country code (e.g. +971, +966, +249, etc.) and then send them a specific WhatsApp message depending on their country.

👉 Is there a way to make ManyChat automatically recognize the country code in the phone number and trigger a different message for each country?
Any tips, best practices, or examples would be really helpful 🙏

Best answer by Gustavo Boregio

@KHALEDHASSAN you need a condition…

If WhatsApp ID starts with 971, 966, 249, etc…

And from there you can trigger the different automations for each country.

2 replies

Gustavo Boregio
Forum|alt.badge.img+6
  • Manychat Community Moderator
  • Answer
  • August 23, 2025

@KHALEDHASSAN you need a condition…

If WhatsApp ID starts with 971, 966, 249, etc…

And from there you can trigger the different automations for each country.


KHALEDHASSAN
  • Author
  • Up-and-Comer
  • August 25, 2025

thank you its working 😍