Get phone number from Twilio

(Dylan Cutler) #1

Hello, I am a developer who is working on a bot that connects to our Twilio account.

The company I work for has users in multiple countries (US & UK), so our Twilio bot needs to listen for SMS on different numbers for each country.

Is there any way to get the phone number our Twilio bot is using for a specific user within Flow so that we can tell which country the user is in?

Thanks!

(Karen Barker) #2

Hi Dylan,

When you look in your logs after receiving the SMS you will see that you have things like Channel ID, User ID and User Handle. These all will give you the phone number for that user. There is also Country Code that would be helpful for you to verify the country the user is phoning from. :slight_smile: