I need your advice on how to extract information from a pdf on smart document and then use this information in power automate.

YONDOU Abdoul-Hakim 0 Reputation points
2024-12-19T09:42:12.06+00:00

Hello, Thank you in advance for your answers. I have a document that is 60 to 150 pages long and I would like to extract information from only 5 pages (accounting ledger with account numbers). I used document intelligent on my document and I specified the labels but it doesn't work as expected.

I was wondering if there would be a way to automate on azure that would allow me to reduce my pdf by specifying the account numbers it should keep for me? Thanks

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,812 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Saideep Anchuri 590 Reputation points Microsoft Vendor
    2024-12-19T11:48:10.8+00:00

    Hi YONDOU Abdoul-Hakim

    Welcome to Microsoft Q&A Forum, thank you for posting your query here!

    To extract information from a PDF document using Power Automate, you can leverage the document processing capabilities of AI Builder.

    1. Create a Flow in Power Automate:
      • Sign in to Power Automate.
      • Select "My flows" in the left pane, then select "New flow" > "Instant cloud flow".
      • Name your flow and choose "Manually trigger a flow" as the trigger.
    2. Add File Input:
      • Expand the trigger and select "+Add an input" > "File" as the input type.
      • Replace "File Content" with a suitable title, such as "My document".
    3. Extract Information from the Document:
      • Add a new step and select "AI Builder".
      • Choose "Extract information from documents" from the list of actions.
      • Specify the document type you are working with and provide the file content from the trigger.
    4. Specify Page Range:
      • If your document is large (60 to 150 pages), you can specify a page range in the "Pages" parameter to limit the extraction to the relevant pages. For example, if you only want to extract data from pages 1 to 5, you would enter "1-5".
    5. Use the Extracted Data:
      • In the subsequent actions, you can use the extracted values from the document. You can manipulate these values or send them to other applications, such as Microsoft Teams or Excel.

    Kindly refer the below Documentation: https://learn.microsoft.com/en-us/ai-builder/form-processing-model-in-flow#use-a-document-processing-model-in-power-automate

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    Thank You.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.