Skip to main content

Notifications

Community site session details

Community site session details

Session Id : t12q73jfb/lD5mLR7D62Jl
Copilot Studio - General
Suggested answer

In copilot studio, for any topic, how can i pass agent response to other action or http request?

Like (5) ShareShare
ReportReport
Posted on 17 Apr 2025 16:25:35 by 7
All the variables are for user's response. There's no way to store and set agent response and pass to other action.
Categories:
  • w.p Profile Picture
    4,355 on 29 Apr 2025 at 06:16:53
    In copilot studio, for any topic, how can i pass agent response to other action or http request?
     
     
    from juangonzalezAuc 
  • AW-17041623-0 Profile Picture
    7 on 29 Apr 2025 at 06:07:39
    In copilot studio, for any topic, how can i pass agent response to other action or http request?
    Thanks for the replies. Based on my limited knowledge, the variables are all set from user input content or system info. My question is about Agent generated information. For example, I might ask, what's the latest news on AI? Then the Agent may answer something. How may i use the answer from the agent to pass to an action or send email including the txt agent answered...
  • Suggested answer
    Romain The Low-Code Bearded Bear Profile Picture
    112 on 19 Apr 2025 at 15:08:14
    In copilot studio, for any topic, how can i pass agent response to other action or http request?
    Hello, there is multiple way to achieve this : 

    First : the variable : They could be local or global : a global variable is avaible for all the session. They are avaible in the prompt part of copilot studio too.
    More information here : https://learn.microsoft.com/en-us/microsoft-copilot-studio/authoring-variables-bot?tabs=webApp
     
    Second : Between action : Action have input variable and output variable. You could use you'f variable in the input part or read on local/global the out part.
     
    third : the action don't have the possibility to take the variable : make you'r one power automate or agent flow (or custom action, but it s little tricky for begining). Choose for your flow the variable you want in input and output.
     
    Hope it help you, ask for more information if it's not enough complete.
  • ronaldwalcott Profile Picture
    3,653 on 18 Apr 2025 at 06:19:10
    In copilot studio, for any topic, how can i pass agent response to other action or http request?
    Can you elaborate on what you mean?

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
Pablo Roldan Profile Picture

Pablo Roldan 25

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 23

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard
Loading started
Loading complete