Aquaforest PDF Connector for Excel

Table of contents

    Aquaforest PDF Connector for Excel
    Summary

    Explore how AI PDF data extraction can streamline invoice processing by automatically pulling key information into Excel spreadsheets. This practical guide demonstrates how to use Aquaforest’s PDF Connector with Power Automate to extract data like invoice numbers, names, and amounts from documents with varying layouts. Learn how our machine learning technology enables automated data extraction and Excel population through SharePoint integration.

    In this article, we will outline how to use the Aquaforest PDF Connector for the Power Automate Platform to Get Named Value Pairs from Invoice documents & populate them into Excel. We are going to extract the following named value pairs, Invoice Number, Name, Document Type & Invoice Value from three different invoices that have totally different layouts (see below).

    Sample invoice from Jack Sparrow with the title, name, invoice number, and grand total highlighted in yellow

    Sample invoice from Applesauce Co in a different layout with the title, name, invoice number, and grand total highlighted

    Sample invoice from ABC Ltd in a third layout with the title, name, invoice number, and grand total highlighted

    The first step is to define the trigger for our flow, in this example we are going to Trigger the flow when an item gets created in Sharepoint & then using the Aquaforest “Get Data from PDF” to retrieve the named value pairs, before we populate these into an Excel

    Create a new Automated Flow

    • Give is a name “Get data from PDF & Populate into Excel-
    • Select your Trigger “When a file is created in a folder”

    Power Automate Build an automated flow dialog with the SharePoint “When a file is created in a folder” trigger selected

    Specify the Location where you are going to be putting your invoices

    SharePoint file-created trigger with Site Address and Library Name fields filled in

    3. We then need to add a step to get the contents of the file

    SharePoint actions list with the Get file content action highlighted

    • Specify the Site Address & also “Identifier

    Get file content step with Site Address and the Identifier value set as the File Identifier

    Add an “Aquaforest -Get Data from PDF” Step

    Choose an action search for Aquaforest with the Get data from PDF action highlighted

    We then specify the following parameters,

    • File Content: Sharepoint File Content Step
    • Expected Keys: Title, Name, Invoice Number & Grand Total

    Get data from PDF action with File Content set and Expected Keys Title, Name, Invoice Number, and Grand Total

    In Microsoft Excel create a spreadsheet containing a table, saving it to the Sharepoint library.

    1. Give the Table a Name: “Invoices”
    2. Add the following Columns “Invoice No”, Title”, “Total”, Full Name”

    Excel Table Design ribbon with a table named Invoices and the columns InvoiceNo, Title, Total, and FullName highlighted

    Add new Step “Excel Online - Add a row into a Table”

    Excel Online (Business) actions list with Add a row into a table highlighted

    Populate the “Add a row into Table” step as follows

    1. Location: Of the Spreadsheet
    2. Library: Containing the spreadsheet
    3. File: folder & file name of spreadsheet
    4. Table: Enter the Table Name (Invoices)
    5. Enter the values from Get Data from PDF Step

    Add a row into a table step mapping the Invoices table columns to values from the Get data from PDF step

    When you drop the documents into the folder, the flow runs populates the named value pairs into the pre-prepared Microsoft Excel Table as per below.

    Excel Invoices table populated with three rows of invoice number, title, total, and full name

    Neil Pitman

    Neil Pitman

    Explore related topics

    Try for free Ready to get started?