Building and customizing solutions using Microsoft 365 Copilot APIs and tools
Hi Nathan,
You’re very close — the red dot issue is happening because of an input type mismatch.
Your Prompt input is Document_20input (Any), but you’re passing Global.Result_Kn... which is a record from Generative Answers. In Copilot Studio, this can look mapped in the designer but still be treated as blank at runtime, which is why you get:
The parameter 'Document_20input' is required ... but its value is blank
- Open your Status Deciding prompt.
- Remove
Document_20input. - Create a new required input as Text (for example:
knowledgeText). - In the topic, map
knowledgeTextto a text field insideGlobal.Result_Kn...(not the whole record). - Add a quick check before the Prompt node: if text is empty, skip prompt / handle no-result case.
- Delete and re-add the Prompt node (to clear stale binding), then Save + Publish.
That should remove the red dot behavior and fix the runtime blank-parameter error
Reference docs
- Copilot Studio prompts/tools: https://learn.microsoft.com/en-us/microsoft-copilot-studio/authoring-create-edit-topics
- Copilot Studio variables (types/scope): https://learn.microsoft.com/en-us/microsoft-copilot-studio/authoring-variables
- Power Fx in Copilot Studio: https://learn.microsoft.com/en-us/microsoft-copilot-studio/advanced-power-fx
Thanks,
Karan Shewale.