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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / PVA Send activity or e...
Copilot Studio
Unanswered

PVA Send activity or event to get user device type

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello, 

 

I trying to figure out how to use these advanced options in PVA, there is lack of documentation (or maybe I just missed it?) on how these options actually work. Take, for instance, the 'Send an activity' feature.

 

Introduced by @Jameslew_MSFT:

 

 

Ability to send raw Bot Framework Activities and Events directly within Power Virtual Agents

 

 

Have anyone done anything with Bot Framework activities in PVA and can give me an example of how it works?

 

danielch_0-1692094037403.png

 

For example what I would like to get and I can't find solution:


When a user sends a message to our PVA bot in Teams, I would like to know what type of device they are using. Specifically, I want to know if they are on a mobile phone or a desktop computer. This information will help me to decide how to display tables in the chat. Tables can be difficult to read on mobile phones, so I want to add some additional logic to my bot if the user is chatting from a mobile device.
I didn't found anything from 'System' variables that could be sent back to Power Automate for example (also, I tried to see in Power Automate what comes from PVA in 'Headers' like user-agent but the user-agent is always PowerVA/2 from all devices) and maybe this can be accomplished from Bot Framework with activities or any other solution?

I have the same question (0)
  • Jameslew_MSFT Profile Picture
    Microsoft Employee on at

    This would depend on what client you're using.  If you're using directline/webchat, you could do your own device inspection on the cilent side, and then pass that data to your bot through an event or maybe through the channelData field on your activity.

    If you're using a client such as Teams or Facebook Messenger, we don't have access to that information about the client, and since you can't modify the client I'm not sure that's a feasible option.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 279

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 222 Super User 2026 Season 1

#3
Arild Aarnes Profile Picture

Arild Aarnes 64 Super User 2026 Season 1

Last 30 days Overall leaderboard