Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

How to automatically save responses in Power Virtual Agent?

(0) ShareShare
ReportReport
Posted on by

Is there any way to save the users response automatically in power virtual agent? Currently I am asking the user a question and saving the response as a string. But I want to automatically save the responses after I ask the questions. So I will be only putting the questions in the topic of power virtual agent and want to save the responses automatically. Is it possible to do that, if so how?

 

akhilreddy2810_1-1689018767072.png

 

Categories:
  • MattJimison Profile Picture
    577 Most Valuable Professional on at
    Re: How to automatically save responses in Power Virtual Agent?

    Hi, @akhilreddy2810 .

     

    @Pstork1 has a great answer if you're looking to utilize slot filling / smart matching.

     

    If you're just looking to literally grab the entire text the user entered that caused the topic to trigger, you can use System.Activity.Text (from the System variable tab it's labeled as just Activity.Text) You can put that in a variable if you want to but below I'm just showing how you could output that value to a message.

     

    MattJimison_0-1689020483483.png

     


    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

  • Pstork1 Profile Picture
    66,452 Most Valuable Professional on at
    Re: How to automatically save responses in Power Virtual Agent?

    I'm not sure if this helps, but if the user types something into the topic of a bot that answers a question you then ask in that Topic PVA will bypass the question and harvest the value out of the user's input.  For example if a user types "How Much do things cost" for a topic with "how much" as the key then it will ask the question do you want an Apple, a Pear, or a Banana? But with the same topic if they input How much does an Apple Cost, then it will bypass the question and record Apple as the response as though the question was asked and answered.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 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…

Leaderboard > Copilot Studio - General

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 74

#2
Pablo Roldan Profile Picture

Pablo Roldan 61

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard