Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Answered

How do i save a user input in a variable in PVA Production Bot?

(0) ShareShare
ReportReport
Posted on by 392

Jupyter123_0-1692618816643.png

Hi, If you see the above image, i want to save the user response in a variable so that i can pass it to the power automate flow.
I can easily do this in canvas but not in production, what to do?

  • MattJimison Profile Picture
    577 Most Valuable Professional on at
    Re: How do i save a user input in a variable in PVA Production Bot?

    Hi, @Jupyter123 . I'm not clear on what you mean when you say:
    "Ask a Question" node is available only in canvas PVA, not in production

     

    Are you in PVA for Teams or PVA Premium? Can you share a snapshot of your available options like mine below? Also, based on your example above, I'm wondering if we're talking about Generative AI and not a simple question / message node combination.

     

    MattJimison_0-1692707500824.png

     

  • Jupyter123 Profile Picture
    392 on at
    Re: How do i save a user input in a variable in PVA Production Bot?

    @MattJimison @Pstork1  Hey , "Ask a Question" node is available only in canvas PVA, not in production.

    And everytime i dont wanna ask a question to user

    it should be like direct question and answer, something like this

    Jupyter123_0-1692670677196.png

     

  • Pstork1 Profile Picture
    66,214 Most Valuable Professional on at
    Re: How do i save a user input in a variable in PVA Production Bot?

    In addition to what @MattJimison said there is another little trick that you can use if you are looking for something specific.  If you have a more general topic and then ask a question the bot will automatically harvest the answer to the question from the original prompt if appropriate.  For example you have a Topic that is "how much is" followed by a question asking what kind of fruit are you interested in?  If the user types in How much is an Apple it will automatically run that thread and store Apple in the variable for the question without actually asking the question.  If the user types something like how much is... then the bot will specifically ask them about which fruit and store that in a variable.

  • Verified answer
    MattJimison Profile Picture
    577 Most Valuable Professional on at
    Re: How do i save a user input in a variable in PVA Production Bot?

    Hi, @Jupyter123 .

     

    If you want to ask the user to enter something, you'd want to use the "Ask a Question" node, set "Identify" to "User's entire response" and select / name your variable per the below.

     

    In your screenshot you're trying to set a variable but I don't see a question node where you're asking the user for their input.

     

    MattJimison_0-1692650240362.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

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... 18

#2
Pablo Roldan Profile Picture

Pablo Roldan 14

#3
stampcoin Profile Picture

stampcoin 8

Overall leaderboard