| 
				
| How to Extract Invoice Tables using Document AI in Power Automate | 
| 11/3/2025 - Brian O'Neill | 
Cloudmersive Document AI is here, and it’s ready to revolutionize your document processing workflows. Document AI empowers enterprises to intelligently summarize or categorize document contents, retrieve form responses, pull data from tables, and extract fields of data from invoices, receipts, tax forms, and other standard documents. Cloudmersive Document AI Table Extraction in Power AutomateThe Document AI API can be imported to Power Automate as a Custom Connector, and from there it can be plugged into any new or existing document processing workflow with ease. In this article, we walk through an example Power Automate flow which takes advantage of the Document AI API’s table extraction capabilities to process items from an example invoice and return that data as a JSON object array. This simple flow allows us to ready invoice data for storage in an ERP, CRM, or database of any kind. Uploading a Custom Document AI Connector to Power AutomateBefore we get started, we’ll remember that implementing any Cloudmersive API as a  We can set the endpoint to our deployed Document AI private or managed instance to take advantage of our existing infrastructure. Extracting Table(s) from an Invoice in a Power Automate FlowOnce our Document AI custom connector is created, we can begin implementing Document AI actions in our flows right away. In this example, we’ll build an  We’ll configure our  Next, we’ll add a new action, navigate to the  From the Document AI actions list, we’ll select the action titled  With the action opened in our flow, we’ll click  As we can see in the empty example above, we only have 3 parameters to worry about in our table extraction request. The  The following two parameters simply capture the file bytes and file name from the current flow run. We can configure those parameters using dynamic content from the manual trigger upstream in our flow, as shown in the below completed request example. With only two steps, our flow is now technically ready to run as is; all that’s missing is a subsequent step which shares or processes the returned invoice data in some way. We don’t have an example ERP, CRM, or database to send our data to in this test environment, so we’ll instead share the returned data with a SharePoint user through the  We’ll use the  Notice that our  We’ll now save our flow and run it with an example invoice PNG file. The actual example invoice used in this flow is included below for our reference: Reviewing Invoice Table Extraction ResultsAfter running our flow with the above test file, we’ll receive the following response object JSON in our  Since this object is cutoff in the above screenshot, we’ll find the full response object copied below: 
In the example response object, we’ll notice the quantity, unit price, and total cost of each invoice item was correctly broken down in a series of nested response object arrays. We’ll also notice the model did not find a table title because there was not one present. In our example  As shown above, all the invoice table data was successfully shared with the target  It’s important to make note of the empty Title of invoice table: field here.  There wasn’t any table title available, and we never validated whether that data existed in our flow; as a result, we returned an empty value when we shared that content with the MS Teams user.  This is easily avoidable in production flows with basic  ConclusionIn this article, we learned how to easily extract tables from an invoice document using the Document AI  Including Document AI in our Power Automate flows immediately empowers our document processing capabilities. We can easily extract and subsequently share or store the data we need from invoice tables without needing to know anything about the structure of the invoice table ahead of time. For expert advice on using the Cloudmersive Document AI API in Power Automate, please reach out to a Cloudmersive representative.  | 
	
Sign Up Now  or 
    