Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
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
    3,944 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
    84 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,585 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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard
Loading started