Announcements
Environment:
Platform: Microsoft Copilot Studio
Action: Power Automate Flow (Resume Builder Flow)
Trigger: "When Copilot Studio calls a flow"
Key Components: "Run a prompt" (AI Builder) within the flow.
The Issue: I am experiencing a critical mismatch between Copilot Studio and Power Automate. When my agent triggers a flow to process a resume, the flow executes successfully in Power Automate (Status: Succeeded), but the Agent returns an error immediately.
The Error Message:
The parameter with name 'resume' on flow 'Resume Builder Flow' evaluated to type 'StringDataType', expected type 'FileDataType'. Error Code: FlowActionBadRequest.
Current Setup:
Question Node: Using File Entity with "Include metadata" enabled.
File
Power Fx Mapping: Passing the file to a flow input named Existing Resume using: { contentBytes: Topic.ResumeFile.Content, name: Topic.ResumeFile.Name }
Existing Resume
{ contentBytes: Topic.ResumeFile.Content, name: Topic.ResumeFile.Name }
Flow Trigger: The input Existing Resume is correctly set to the File type.
Flow Logic: I use a "Run a prompt" component. Inside this component, I pass Existing Resume.contentBytes into a prompt variable named resume.
Existing Resume.contentBytes
resume
Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 641
Vish WR 640
Haque 495