Skip to main content

Notifications

Power Automate - AI Builder
Unanswered

Extracting data from pdf file in sharepoint library

(1) ShareShare
ReportReport
Posted on by 6
'Hi everyone,
 
I'm trying to create a flow which will extract information from a pdf file which has been uploaded to a sharepoint library. My flow is triggered 'when a file is created (properties only)' and also uses a 'get file content' step. When I use an AI model to 'extract information from documents', i get the following error. I have a feeling there is something wrong with the input in my AI step, even though it should just be referencing the pdf file in the sharepoint library. Is it referencing some metadata? I've tried using get file content using path and still get the same error. Any advice? 
 
Action 'Extract_information_from_documents_1' failed: {"operationStatus":"Error","error":{"type":"Error","code":"InvalidPredictionInput","message":"Encountered an issue when
reaching Form Recognizer: InvalidRequest","properties":{"BackendErrorCode":"InvalidInferenceInput","DependencyHttpStatusCode":"400"},"innerErrors":
[{"scope":"Record","target":null,"code":"InvalidRecord","type":"Error",
"properties":{"ErrorCode":"InvalidRequest","MlIssueCode":"InvalidRecord"}}]},"predictionId":null}
 
 
Th
0.8s
 
 
Get file content using path
 
0.2s
 
 
Condition

2 Cases

 
2s
 
Condition-copy
 
ActionFailed. An action failed. No dependent actions succeeded.
 
 
True
2s
 
Extract information from documents 1
 
BadRequest
0s
 
Compose from Date 1
 
 
False

0 Actions

 
0.2s
 
 
Condition-copy-copy

2 Cases

 
 
Categories:
  • trice602 Profile Picture
    trice602 11,627 on at
    Extracting data from pdf file in sharepoint library
    Hi,
     
    I'm using Power Automate for Desktop to read standard format PDF's pretty successfully, such as invoices and work orders.  From there, your data is easy to access and put into specific variables to use downstream.
     
    Check out Power Automate for Desktop.  Pretty easy to get started.
     

    ------------------------------------------------

     

     

    ⭐ If this was helpful, please like and mark as a verified answer to help others find this too!

     

     

    Always glad to help! 💯💯💯💯💯

     

    Tom

     

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard