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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / OCR Process multiple f...
Power Automate
Unanswered

OCR Process multiple files in a flow.

(0) ShareShare
ReportReport
Posted on by 2

Hi all, I have searched many threads and cannot find one that answers my question. I am trying to create a flow that does the following:

- Loads a list of files (images) from sharepoint

- Then use OCR to process each one of them in series.

- Output the filename and the text results into a single excel file.

I can create a flow that works for one image but have not found a way to do multiple. 

I can create an array using List Folder and output all the filenames onto a new row in the excel sheet.

The flow I have here, it picks up all of the file names and feeds them to the array, I just cannot work out how to then feed them into OCR. 

JoshMG_0-1684986208532.png

Thanks for your help. Apologies if this is already covered somewhere in the depths of the forum, I just have not found the answer. 

Categories:
I have the same question (0)
  • nscates Profile Picture
    18 on at

    @JoshMG , did you ever get your flow to work? We are trying to do something similar and have run into the same issue!

  • JoshMG Profile Picture
    2 on at

    Hi @nscates yes I got it to work. this is the solution, 

    First part of flow, initialise some variables for the file name and another for the text extracted by OCR connector.

    JoshMG_0-1705528625193.png

    Then apply a loop to add a row into a table. Inside that loop, use append to string variable and set the value as the text from OCR.

    JoshMG_1-1705528893379.png

    I then deleted the file, but at this point, do what you like with the file. I deleted it to keep the sharepoint library clean. 

     

     

    See how you go.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard