web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Agent Loops Through Po...
Copilot Studio
Answered

Agent Loops Through Power Automate Tool

(0) ShareShare
ReportReport
Posted on by 17
Hello everyone,
 
I have been developing an agent that calls a flow from power automate. The flow has been verified to work on its own. The flow had 15 parameters, of which 3 are mandatory. The agent behaves normally until it calls this flow, where it enters a looping trance that refuses to break. I will fill in the required parameters, then declare that the rest shouldn't be called. Despite this, the agent will then continue to go through all of the parameters to fill them. Within the settings of the tool I have put default values and to never ask again, but despite this the agent continues to ask and even "escalate" despite those settings changed. The instructions for the agent also state to not restate questions. When working alone, the agent does fine. When working with the tool, the agent flounders.
 
I have revised the agent's instruction set countless times and modified the tool as well to make it easier for the agent. This was to no avail. I have been developing this agent now for nearly two weeks and I see a few paths that could lead to solutions.
  1. Create topics that call the tool explicitly and manually enter data
  2. Have the user enter the data directly into the flow
  3. Have the user input all fields regardless of how many they wish to input (worst case)
I would really like to keep this simple and not a convoluted mess. As of right now the entire call chain goes like this:
User -> agent -> flow -> excel -> flow -> agent -> user. 
I would prefer not to continue to build along the agent but if I have to it is what it is.
 
Has anyone dealt with this problem? If so please provide some insight!
Thank you!
I have the same question (0)
  • Verified answer
    11manish Profile Picture
    3,333 on at
    This behavior is consistent with the current limitations of Copilot Studio's tool invocation. Although only three parameters are required, the agent may still
     
    attempt to populate all exposed inputs. The most reliable approach is to minimize the number of parameters exposed to the agent and move the remaining logic
     
    into the Power Automate flow. If you need more control over the conversation, use a Topic or Agent Flow to collect the required inputs before invoking the flow.
     
    This results in a much more predictable user experience and avoids the repetitive questioning you're seeing.

    If the agent continues asking for optional parameters after you've confirmed they are optional, disabled "Ask every time," removed and re-added the tool, and
     
    republished the agent, it is likely a product issue. In that case, I recommend opening a Microsoft Support ticket, as there have been reports of the new Copilot
     
    Studio experience not consistently honoring optional tool parameters.
  • Verified answer
    SalamiPi3 Profile Picture
    17 on at
    I have opted to go for a JSON approach to minimize inputs as @11manish has suggested. This has resulted in success!

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 277

#2
11manish Profile Picture

11manish 206

#3
sannavajjala87 Profile Picture

sannavajjala87 156 Super User 2026 Season 1

Last 30 days Overall leaderboard