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 / How to get channel of ...
Copilot Studio
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:
I have the same question (0)
  • HenryJammes Profile Picture
    on at

    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

  • nikviz Profile Picture
    242 on at

    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 

  • dileepkantapop Profile Picture
    3 on at

    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? 

  • HenryJammes Profile Picture
    on at

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

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