Announcements
Iām trying to build a Copilot Studio agent that can answer questions about an Excel table by calling a Power Automate flow. The flow is supposed to return employee counts based on filters like status, program, and termination reason.
Right now, Iām having trouble getting the topic to pass clean inputs into the flow. Sometimes it asks too many follow-up questions even when the answer is already in the userās prompt, and other times it sends the wrong value (or no value at all), which causes the flow to return all rows or 0 results. Iām trying to figure out the best way to structure the topic so it uses whatās already in the prompt, only asks for missing inputs, and reliably sends the correct values into the flow.
This is a standard slot filling problem that you're hitting in Copilot Studio. The simplest fix ā check "Skip if already provided" on every question node. This makes the topic pull values from the initial user message rather than asking again unnecessarily.
For the flow sending empty/incorrect values, add a simple conditional in Power Automate ā if a filter input is empty, don't apply that filter condition. That's what causes the all rows or 0 results behaviour.
some resources that cover this exact pattern:
I'll recommend using entity extraction + variables + conditional prompts.
So, the process will be the user submits a query, the agent extracts the required entities from the prompt, asks only for any missing inputs, normalizes and validates the values, calls the Power Automate flow through a tool, and then returns the flow result back to the user.
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 322
Vish WR 240
Romain The Low-Code... 223 Super User 2026 Season 1