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 Automate / Inconsistent AI Builde...
Power Automate
Unanswered

Inconsistent AI Builder Table results

(0) ShareShare
ReportReport
Posted on by 1,091 Super User 2024 Season 2

Hi all,

 

Been having a lot of fun with AI Builder recently. However, I found something very weird which I hope to find a solution for.

 

I have a Power Automate flow that processes invoices with AI Builder. When feeding the flow with one document (let's say document A), the AI Builder mode extracts tables perfectly. However, when I feed the flow with multiple documents (including document A) , the extracted tables from document A suddenly contain mistakes. When quick testing in the AI Model overview, the results are also fine. It's only different when processing multiple documents via a Power Automate flow (for each).

 

The documents are all single-page.

 

Have someone else encountered this problem? If yes, what would be the fix?

 

Thanks in advance!

 

Categories:
I have the same question (0)
  • Antrod Profile Picture
    Microsoft Employee on at

    Hi @Tjan ,

     

    Can you share screenshots of your flow so we understand how you extract and store the data?

    Thanks!

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

    Hi @Antrod,

     

    Thanks for your swift reaction. My flow is in Dutch so I don't think it will show u what u need. However I'll try to explain:

    1. My flow fetches a sharepoint list containing documents (invoices)

    2. Each document is processed by a 'for each' component

    3. Because each document has multiple pages, I use the 'page rage' function in the AI Model component. Hereby I use the function: @{add(iterationIndexes('Do_until'), 1)}. By doing so, it takes one page at a time, thus feeding the AI model page by page. 

    4. The extracted data (table rows) is written to a SQL database.

     

    Additional information: I looked back at the run history and it seems like the AI model is recognising the wrong collection (only when feeding multiple documents). When I feed only a single document, it seems like it's recognising the collection it belongs to perfectly well.

  • Antrod Profile Picture
    Microsoft Employee on at

    Thanks for the details!

    That's weird, model should behave the same way no matter if there are multiple documents to process or not. For the documents you suspect the collection predicted is not correct, can you try doing a Quik test in the model detail page in AI Builder?

     

    If values detected are correct, there's perhaps an issue with the action sequence in your flow. Try perhaps redoing a very simple flow that just gets processes all the documents in your SharePoint and just look at the run history to see if everything seems fine.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 957

#2
Valantis Profile Picture

Valantis 847

#3
Haque Profile Picture

Haque 609

Last 30 days Overall leaderboard