Hi,
Is there a way where I can get the country code in power automated via the first 4 digits of a phone number? For example, I have a http trigger that receives data and processes it through a PA flow, one part of this data is the phone number of the user which I truncate to the first 4 digits like +353, I am wondering is there a way to automatically map or assign a country code (IE in this case) to this phone number, we could have +1, +353, +44 or others like +351 and +355.
Thanks
Hi @Kaptea ,
There is no such out-of-the-box functionality.
I think you can only achieve it by hard-coding (@VictorIvanidze 's suggestion) or third-party api.
Best Regards,
Wearsky
Hi @VictorIvanidze can you expand on that, new enough to power automate so would appreciate any detail you can add.
Create a 2-dimensional array and use it.
+1 US
+44 GB
etc
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1