Hi everyone,
I have this PVA bot integrated with WhatsApp through Dynamics 365 and Twilio. I need to get the user's phone number so I don't have to ask for it on every new interaction with the bot. Is there a way to get it without explicitly asking?
I can see that omnichannel has the phone number and I know it is somehow linked to the corresponding conversation but I can't figure out how to get this info.
Thanks in advance,
Gabriel Quiroga
Well, I found a way also for the Classic PVA version, using the Dataverse table "msdyn_ocliveworkitem" and filtering it with the "msdyn_conversationId" variable. The problem with this method is that it can't be done in the development environment, it has to be done in the production environment, where both the table and the variable are.
Thanks @pkorasapati , this worked with the new PVA version, but for a few reasons I can't update this bot yet. Is there any variable like that one in the old one?
Please try this one . We just cracked it today - Activty.From.Name