Aquaforest PDF Connector: Using Get Data from PDF Synonyms in JSON - Aquaforest

Aquaforest PDF Connector: Using Get Data from PDF Synonyms in JSON

In this article, we will explain how to setup Synonyms in JSON within our “Get Data from PDF” Power Automate PDF Connector.
From the example invoices below, we want to extract the following named Name-Value Pairs, “Invoice No/Inv No” & “Purchase Order/PO No”. The invoices are different layouts & have different entity names for these fields.

 

 

As per the screenshot below the first JSON entries should match the “Expected Keys” in the Get Data from PDF action.

 

 

Below is an example JSON where we have added two other terms that the fields could be known as.

[
{‘entry’: [ ‘Inv No’, ‘client invoice’, ‘Invoice No’ ]},
{‘entry’: [ ‘PO No’, ‘Purchase Order’, ‘Purch Order’ ]}
]

 

You then add this to the “Synonym Dictionary” in the “Get Data from PDF”, “Advanced Options”

The following two tabs change content below.
mm
Neil Pitman founded Aquaforest Limited in 2001 and is the chief architect for the company’s PDF and OCR software products used by thousands of organizations ranging from NASA to the Dutch Ministerie van Justitie. Neil has 30 years’ experience in the software industry in the UK and USA in the areas of database systems, document management and software development tools and has served on the IDT committees of the British Standards Institute (BSI) and was a co-author of the BSI’s 2007 publication on the Long Term Preservation of Digital Documents.