Forum Discussion
nuwantheekshana
Oct 04, 2026Copper Contributor
Copilot Studio Agent Tool Not Detecting File Input from Power Automate Flow
Hi everyone, I'm facing an issue with Copilot Studio and Power Automate Agent Flows. I created a flow using "When an agent calls the workflow" with the following inputs: RequestPayload (Text) At...
mohitmohanmenon_93
Oct 09, 2026Copper Contributor
Try the below:
- On the trigger, replace FuelAttachments (File) with two Text inputs- FuelAttachmentContent and FuelAttachmentName.
- These will then show up in the Tool’s Inputs list exactly like RequestPayload does now, since Text is clearly supported there.
- Map them via the Customize (pencil) option using a Power Fx formula which is pulling from the conversation’s attached file (e.g. First(System.Activity.Attachments).Content / .Name, or the relevant Topic.<var>.Content/.Name if it’s captured via a Question node first).
- Inside the flow, decode back to binary where needed with base64ToBinary(triggerBody()?['FuelAttachmentContent']) before handing it to whatever downstream action consumes the fuel receipt/attachment.