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 / 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
    Microsoft Employee 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
    Microsoft Employee 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 256

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
Vish WR Profile Picture

Vish WR 198

Last 30 days Overall leaderboard