Announcements
Hey, I have a PVA bot on 4 websites, When the chat is escalated from bot to an agent i want to show website as well. Like this chat is coming from website1 . etc.
How can I get the current URL where chat is shown?
You can use Bot Framework Composer to extend your bot and set the variable turn.Activity.channeldata
Do you have any example for that.
I followed this blog to do ithttps://techdocs.audiocodes.com/voice-ai-connect/Content/VAIG_Combined/microsoft_pva.htmScroll down to section "Saving Channel Data"
Just to add, If you are using a preview version then you do not have to use botframework composer. You can follow the steps here:
https://learn.microsoft.com/en-us/power-virtual-agents/preview/authoring-variablesYou can use Activity.Channel
However, Preview features aren't meant for production.
@furqanmajeed These are the two ways in which I am using it1) Using Botframework composer:
You can use the turn.activity
Sample response in bot would be like this:
This will give the serviceURL as directline or slack or telegram etc.This will not give the web url. To capture the web URL follow the below steps.
2) To capture the webURLa) In the webpage where you are calling the bot add the below section highlighted
b) Use a question to call the variable page as external source in PVA topic
c) Call this variable somewhere in your main flow
sample output if you include it in message
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Dua Sadiq 104
11manish 87 Super User 2026 Season 2
sannavajjala87 84 Super User 2026 Season 2