Analyze Form
Description
This Activity analyzes the provided document form using pre-built Amazon Textract Service models.
note
This Activity works only inside the AWS Context activity.
Properties
Input
-
Form File – Specify the path to the form file in image or pdf format.
-
Form Type – Specify the type of the form file. The following types are supported:
Form Type Description IdentityDocument Utilizes Identity Document ML model for data recognition and extraction Expense Utilizes Expense ML model for data recognition and extraction
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
-
Forms – Returns a list of Forms and their properties detected by the service for the provided Form. Form can be Invoice or IdentityDocument
-
Raw Response - JSON string containing the response received as is from AWS.
Example
Download Example