Skip to main content

Notifications

Community site session details

Community site session details

Session Id : GDuaqPtRvQlXFiaZ72AjDp
Copilot Studio - General
Suggested answer

What is "Execute Copilot" in Power Automate? Can it trigger agents or use Dataverse status changes?

Like (0) ShareShare
ReportReport
Posted on 16 Dec 2024 01:21:12 by

Hello,

I came across the "Execute Copilot" action in Power Automate, and I’m trying to understand its exact purpose and use case. The action has fields like Agent, Message, and EnvironmentId, which suggest that it might be designed to interact with a specific Copilot Studio agent or perform tasks through an AI model. However, there is no proper documentation explaining its functionality.

Here are my specific questions:

  1. What is the purpose of the "Execute Copilot" action?
  2. Can this action trigger or interact with a Copilot Studio agent or Power Virtual Agent?
  3. What do the fields (Agent, Message, EnvironmentId) represent, and how are they used?
  4. Are there any examples or official documentation to clarify its use?

Additionally, I have a specific scenario where I need to trigger a Copilot Studio agent when a Power Automate flow is triggered based on a Dataverse status change. Specifically, the flow detects when a status in Dataverse changes to "Completed," and this should trigger the Copilot agent by its own without needing any triggering phrases.

If the "Execute Copilot" action cannot be used for this purpose, is there any workaround to achieve this functionality?

I’d appreciate any guidance, examples, or alternate approaches from the community. Thank you in advance!

Categories:
  • Suggested answer
    Artur Stepniak Profile Picture
    1,521 Super User 2025 Season 1 on 16 Dec 2024 at 07:09:52
    What is "Execute Copilot" in Power Automate? Can it trigger agents or use Dataverse status changes?
    Hello,
     
    1. The purpose is to run the agent based on the trigger - it's a new feature still in preview which enables you to trigger the agent, see: https://learn.microsoft.com/en-us/microsoft-copilot-studio/authoring-triggers-about.
    2. That's right. For now it's quite unstable, so I'd suggest you to not use it for production workloads.
    3. Agent = agent id to call
    Message = message to send to the agent (the same as sending a chat message to the model)
    EnvironmentId = id of Power Platform environment in which the agent is available
    I've based this answer on my experience, not on the docs so I could've made a mistake. :-)
     
    4. I didn't find it so I guess it's not created yet.
     
    Regarding Dataverse, you can use a trigger from within Copilot Studio, see:
     
     
    In the meantime - I've just opened a group related to Copilot stuff. Maybe you'd like to join? I plan for it to be the place, where we can help each other. Here's the link: https://community.powerplatform.com/usergroups/details/?groupid=dbc367c2-b7b7-ef11-b8e8-7c1e5259f813.
     
    In case of any other questions, let me know. If the answer helped you, mark it, so that others can benefit from it.
     
    Best regards,
     
    Artur Stepniak

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!

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
Ekta Gupta Profile Picture

Ekta Gupta 4

#2
ricardodesouza Profile Picture

ricardodesouza 2

#2
L-1234567-0 Profile Picture

L-1234567-0 2

Overall leaderboard
Loading started