web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / AI builder - extract i...
Power Apps
Unanswered

AI builder - extract information from receipts

(0) ShareShare
ReportReport
Posted on by 58

I created a flow that extracts information from receipts(images), adds rows to xlsx file and emails that xlsx file. I want the flow to email xlsx file and all the jpeg files as well so I put these jpeg files into the same folder and this is where I get the error that 'Input parameters are invalid for your model'. If I understood correctly, the flow tries to OCR xlsx file as well and due to the flow fails. I am just guessing, I can be wrong. Any ideas, what should I adjust in my flow?

BenWade_2-1705880882268.png

 

BenWade_3-1705880901305.png

 

BenWade_4-1705880933366.png

 

BenWade_5-1705880954675.png

 

BenWade_6-1705880989057.png

 

Categories:
  • TYL Profile Picture
    1,091 Super User 2024 Season 2 on at

    @BenWade  Hi Ben, yes, your guess is correct. Since your excel file is also in the For each loop, it tries to apply AI to that file as well. The best thing you can do is add a condition that filters out your excel file. For instance: "File name does not contain xlsx". Make sure to get the full file name, not the display name. If you can find a variable that contains the file extension, that's even better.

     

    Afterwards, in the ''yes'' path you can define your "Get file content" and the AI action.

     

    That would be the easiest solution. You can also look into trigger conditions, but that's more complex and you might risk to lose a good overview of what's happening. So adding a condition would be best!

    ---

    If this answer helped you, would you be so kind to mark this answer as ''solved'' and give it a like? This will help other people (who have the same question) a lot! 😀

     

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard