web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Get the user's phone n...
Copilot Studio
Unanswered

Get the user's phone number from WhatsApp

(1) ShareShare
ReportReport
Posted on by 111

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.

Pochoide_0-1685966700852.png

 

Thanks in advance,

Gabriel Quiroga

Categories:
I have the same question (0)
  • pkorasapati Profile Picture
    18 on at

    Please try this one . We just cracked it today - Activty.From.Name

    pkorasapati_0-1686896681853.png

     

     

  • Pochoide Profile Picture
    111 on at

    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?

  • Verified answer
    Pochoide Profile Picture
    111 on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 265 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 240 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard