Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

How can We capture or store the chat reaction in a variable in PVA from MS Teams

(0) ShareShare
ReportReport
Posted on by 10

Hi Team I am looking how can we store the message reaction over a chat  in a PVA as a feedback for Example if user like the question or dislike the question then we can store that emoji in PVA Is there any way?

  • sagarwalkgl Profile Picture
    10 on at
    Re: How can We capture or store the chat reaction in a variable in PVA from MS Teams

    Hi @MattJimison 
    I am not getting these options if we are inserting a formula like: System.Activity.any action. if do you have any idea, how can we capture the message id after reacted on that message. 

  • sagarwalkgl Profile Picture
    10 on at
    Re: How can We capture or store the chat reaction in a variable in PVA from MS Teams

    Hi @MattJimison @HenryJammes 
    is there any option in Copilot where we can capture the reacted message ID from MS teams BOT.

  • HenryJammes Profile Picture
    on at
    Re: How can We capture or store the chat reaction in a variable in PVA from MS Teams

    @sagarwalkgl@MattJimison, not sure if you can capture the exact emoji, but there is Activity type for "Message reaction" that can trigger a topic in Copilot Studio:

     

    HenryJammes_0-1706176176157.png

     

  • MattJimison Profile Picture
    577 Most Valuable Professional on at
    Re: How can We capture or store the chat reaction in a variable in PVA from MS Teams

    Hi, @sagarwalkgl . This feature is currently not supported in a custom Copilot deployed to Microsoft Teams, but I'd recommend filling out a feature request for it at https://portal.productboard.com/conversationalai/1-microsoft-pva-feature-requests/tabs/1-under-consideration.

     

    @HenryJammes thanks for the tip on the Message Reaction activity type - I hadn't seen that activity type the last time I'd checked in Copilot Studio!

     

    @sagarwalkgl .

     

    Here are the steps to use that:

    1. Create a new topic from blank
    2. On the trigger, which defaults to phrases, hover over and select the reverse arrows in the top-right corner
      MattJimison_0-1706195381761.png

       

    3. Change trigger to "Message received"

     

    @HenryJammes is unfortunately also right in that you can't currently see the emoji they selected, but this is certainly a start!

     

    Here's an example of what the System.Activity value is inside the topic:

     

    {"Channel":{"$kind":"OptionDataValue","type":{"$kind":"SystemOptionSet","name":"ChannelId"},"value":"MsTeams","optionSetName":"MsTeams"},"ChannelData":{"legacy":{"replyToId":"omitted"},"tenant":{"id":"omitted"}},"ChannelId":"msteams","From":{"Id":"omitted","Name":null},"InputDTMFKeys":null,"Name":null,"Recipient":{"Id":"omitted","Name":"Questions"},"SpeechRecognition":{"Confidence":0,"MinimallyFormattedText":null},"Text":null,"Type":{"$kind":"OptionDataValue","type":{"$kind":"SystemOptionSet","name":"ActivityType"},"value":"MessageReaction","optionSetName":"MessageReaction"},"TypeId":"messageReaction","UserInputType":{"$kind":"OptionDataValue","type":{"$kind":"SystemOptionSet","name":"UserInputType"},"value":"Text","optionSetName":"Text"},"Value":null}

     

     

    Cheers,

    Matt


    Find this post helpful? Please mark it as the solution and/or provide kudos so that it will help others in the future.

    Cheers,
    Matt

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
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 25

#1
Pablo Roldan Profile Picture

Pablo Roldan 25

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard