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 / Orchestration - Store ...
Copilot Studio
Unanswered

Orchestration - Store Bot Response As Variable

(0) ShareShare
ReportReport
Posted on by 41
Hi there, 
 
I’m aware you can store the generative answers as a variable when using the generative answer node. However, is there a way while using orchestration to store Copilots answer as a variable?
 
Thank you
Categories:
I have the same question (0)
  • Suggested answer
    Robu1 Profile Picture
    1,459 Super User 2025 Season 2 on at
    Hi ,
     
    Thank you for choosing Microsoft Community.
     
    Yes, you can store Copilot's answer as a variable while using orchestration in Power Apps. 
     
    Here's how you can do it:
     
    Create a Variable: In your Copilot Studio, create a variable to store the response. You can do this by adding a "Set Variable Value" node (See attached screenshots below).
     
    Capture the Response: Use a "Question" node or any other node that captures user input. The response will be automatically stored in the variable you created.
     
    Use the Variable: You can now use this variable in subsequent steps of your orchestration, such as passing it to a Power Automate flow or using it in other topics.
     
    Here's a simple example:
    Add a "Set Variable Value" Node: Go to your bot's Topics page, add a new node, and select "Set Variable Value".
     
    Configure the Node: Set the variable name and assign the value you want to store (e.g., Copilot's response).
    Use the Variable: In other parts of your orchestration, you can reference this variable to use the stored value.
     
    Some useful links:
     

    If this fixes the issue, please mark as resolved to help others with find it.
     
    Happy to help 

    Robu 1
  • Suggested answer
    JN-12040036-0 Profile Picture
    2 on at
    Not sure what you mean by using orchestration but you can open the advance section and that will allow you to save it to a variable. Make sure you set up the inital var as a global and you can access it from anywhere.

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 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 205 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard