I’m building a Power Automate flow that processes email attachments and sends images to the AI Builder "Run_a_prompt" action. I get the message "Input parameters are invalid for your model" when the flow reaches the "Run_a_prompt" action inside the "For_each" loop.
I successfully tested out saving the image to my OneDrive with base64ToBinary(items('For_each')?['contentBytes'])

Report
All responses (
Answers (