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?
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?