Showing results for 
Search instead for 
Did you mean: 
New Member

Invalid input for AI Model


I am running into issues with the AI model 'Extract information from forms.' I have trained the model and have successfully used it in a Flow to extract the pdf data and copy it into an excel file. However, I am now trying to apply it to multiple files located in a specific folder. 


I am getting an error that the input for the AI model is invalid. The model worked on the files when testing but for some reason will not work when listing the files from a folder.

Power Apps
Power Apps

Hi @johneric1994, you almost got it! There's just one step left. 🙂 You need to add a Get file content action before the AI Builder Extract information from forms action. It should look like this:




Let us know once you get the automation running! 

New Member

@JoeF-MSFT It worked! 


Thank you, Joe. You're a life saver.

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (1,160)