Skip to main content

Analyze Document

Description

This Activity analyzes the provided Document using pre-build Azure Forms Recognizer Service models. 

note

This Activity works only inside the Azure Context activity.

note

This Activity requires the Azure Forms Recognizer Resource endpoint URL. To deploy it, refer to Azure Forms Resource.

Properties

Input

  • Document File – Specify the absolute path to the form file in either image or PDF format.

  • Document Type – Specify the type of the form file. The following types are supported:

Document TypeDescription
InvoiceUtilizes Invoice model for data recognition and extraction
ReceiptUtilizes Receipt model for data recognition and extraction
Business CardUtilizes Business Card model for data recognition and extraction
Identity DocumentUtilizes Identity Document model for data recognition and extraction
ContractUtilizes Contract model for data recognition and extraction
US Health Insurance CardUtilizes US Health Insurance Card model for data recognition and extraction
US W2 Tax Utilizes US W2 Tax model for data recognition and extraction
US 1098 TaxUtilizes US 1098 Tax model for data recognition and extraction
US 1098-E TaxUtilizes US 1098-E Tax model for data recognition and extraction
US 1098-T TaxUtilizes US 1098-T Tax model for data recognition and extraction
  • Options - The available analysis options depend on the type of selected Document.
OptionDescription
Key-Value PairsEnables the Document's detection of general key-value pairs (form fields).
FormulasEnables the detection of mathematical expressions in the Document.
LanguagesEnables the detection of the text content language.
BarcodesEnables the detection of barcodes in the Document.
Font StylingEnables the recognition of various font styles.
OCR Higher ResolutionPerforms OCR at a higher resolution to handle documents with fine print.

Misc

  • DisplayName – Add a display name to your Activity.
  • Private – Logs the variable and argument values at the Verbose level when unchecked.

Optional

  • Continue On Error – It Specifies whether the automation should continue even when the Activity throws an error. If True, the Activity continues without throwing any exceptions. If False, the Activity throws an exception. The default value is False.
note

Catches no error if this Activity is present inside the Try-Catch block and the value of this property is True.

Output

  • Analysis Result – Returns the analysis result in the form of AnalysisResult datatype for the input document.
  • Raw Response - JSON string containing the response received as is from Azure.

Example

Download Example

Analyze Document