Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

How to get channel of the user in PVA

(0) ShareShare
ReportReport
Posted on by 3

I have a requirement for which it needs a user channel ID. Using this channel ID I will show a message. For teams one message and for SMS another message. How can I achieve this in PVA?

 

I can see Channel Data and Channel ID in chat transcripts. How can I get this in variables? 

 

Categories:
  • HenryJammes Profile Picture
    on at
    Re: How to get channel of the user in PVA

    The preview will get a number of updates before it becomes generally available, but I don't have timelines to share yet.

  • dileepkantapop Profile Picture
    3 on at
    Re: How to get channel of the user in PVA

    Hi @HenryJammes ,

     

    Thanks, now I am able to see the channel in the preview version. The Channels and Agent Transfers are disabled. When can we expect their availability in the Preview version? 

  • nikviz Profile Picture
    242 on at
    Re: How to get channel of the user in PVA

    Hi @HenryJammes 

     

    I tried using bot framework composer to get access to channel data.

    I am able to get the below details for example when I set variable turn.Activity.channeldata

    channelData: {

    "postBack": true,

    "clientActivityID": "xxxxxxxxxxx"

    }

     

    However, if I am using some custom parameters to capture user details, I am not able to get it, though I can see those variables in ChatTranscript table 

  • HenryJammes Profile Picture
    on at
    Re: How to get channel of the user in PVA

    Variables containing the Activity.Channel should be available in the new PVA unified authoring canvas. Public preview is planned for November 10: What’s new: The evolution of Power Virtual Agents | Microsoft Power Virtual Agents

     

    Today, you would need to extend your PVA bot using Bot Framework Composer to get access to the channelId in the activity context, and base on your conditions on it: Use Bot Framework Composer with chatbots - Power Virtual Agents | Microsoft Learn

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

#1
Pablo Roldan Profile Picture

Pablo Roldan 25

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 23

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard