Obtain WhatsApp Number and Teams ID (Recognize Use...
# 🤝help
h
Greetings, I'm looking for assistance in adding advanced functionality to Botpress. Specifically, I need help implementing user identification features for multiple channels like Teams, WhatsApp. My goal is that when my bot interacts via WhatsApp with a user, I can obtain and save the whatsapp number of that user. And in Teams the same way but with any identifier of Microsoft Teams (mail or id), is there any global variables from the integration of this channels that I can call to do this? (I want this feature to be AUTOMATICALLY, so the user doesn´t have to writes or needs any input, I don't want to create a raw input) Thanks in advance!
f
Hey there, I can help you a bit with that WhatsApp part. You can read the phone number of the user with this variable
{{ event.tags.conversation['whatsapp:userPhone'] }}.
A bit more information here https://botpress.com/docs/cloud/channels/whatsapp/#tips Example of using it: https://discord.com/channels/1108396290624213082/1232042753462894775 I looked at the Microsoft Teams docs, and I couldn't find much about saving user information. Maybe another @User knows?
h
Thank you so much @fresh-fireman-491 ! Hopefully someone can help us also with any info for Teams ID or user, and that would be all
147 Views