Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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. 

  • JoshMG Profile Picture
    2 on at
    Re: OCR Process multiple files in a flow.

    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.

  • nscates Profile Picture
    18 on at
    Re: OCR Process multiple files in a flow.

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

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow