twilioibm-cloudwhatsappwatson-assistant

Watsonx Assistant reconigze phone number from Twillio Integration


I've developed a Whatspp chatbot using WatsonX Assistant and Twillio, using the official integration, however I cannot see a way to reference the user's cellphone number that sends a Whatsapp Message.

I'd expect this information to showup as a Integration Variable, but it's not showing there. I've verified that Twillio's Webhook is sending the phone number information, it just seems WatsonX Assistant does not store it.

Has anyone else had to deal with this issue before?

Tried searching on Twillio to see if there was a way to send the information creating a middleware Tried checking the Twillio Integration configuration to see if I missed something.

Email both of their support channels to get clarification, Twillio confirms they are sending the information and IBM's Support didn't help.


Solution

  • The phone number is passed into watsonx Assistant as private variable. The section on the WhatsApp integration and the data structure has details.