UiPath Documentation
marketplace
latest
false
UiPath logo, featuring letters U and I in white

Marketplace user guide

Last updated Apr 1, 2026

Analyze single page document

The Analyze Single Page Document activity uses the Amazon Textract AnalyzeDocument API to synchronously analyze a local document (DocumentPath) or a document stored in an S3 bucket (Bucket, DocumentName, and Version). If your document includes a table, you have the option to indicate if the first row contains column headers (DiscoverColumnHeaders) and/or ignore empty rows (IgnoreEmptyRows).

After analyzing the document, the activity returns the document properties in a PageDetail object (Page) that you can use as input variables in other activities outside of the Amazon Textract Activities Package.

How it works

The following steps and message sequence diagram is an example of how the activity works from design time (that is, the activity dependencies and input/output properties) to run time.

  1. Complete the Setup steps.
  2. Add the Amazon Scope activity to your project.
  3. Add the Analyze Single Page Document inside the Amazon Scope activity.
  4. Enter values for the Local Path or the S3 Storage input properties.
  5. Create and enter a PageDetail variable for your Output (Page) property.
  6. Run the activity.
    • Your input properties are sent to the AnalyzeDocument API.

    • The API returns the PageDetail value (Page) to your output property variable.

      Analyze Single Page Document message sequence diagram

Properties

The values for the following properties are specified when adding this activity to your project in UiPath Studio.

Analyze Single Page Document properties panel in UiPath Studio

Common

DisplayName

The display name of the activity.

AttributesDetails
TypeString
RequiredYes
Default valueAmazon Scope
Allowed valuesEnter a String or String variable.
NotesN/A

Local Path

DocumentPath

The local location of the file that you want to analyze.

AttributesDetails
TypeString
RequiredYes (if S3 Storage properties are empty)
Default valueEmpty
Allowed valuesEnter a String or String variable.
NotesSupported document formats: PNG and JPEG (PDF is not supported in synchronous calls).

Options

AnalysisType

Specifies the types of analysis to perform. Use Tables to return information about the tables that are detected in the input document and Forms to return detected form data.

AttributesDetails
Typeenum
RequiredNo.
Default valueAll
Allowed valuesAll, Tables, Forms
NotesN/A
DiscoverColumnHeaders

Indicates whether the tables in the document include column headers.

AttributesDetails
TypeCheckbox
RequiredNo
Default valueNot Selected
Allowed valuesSelected or Not Selected
NotesN/A
IgnoreEmptyRows

Indicates whether empty rows in the document tables should be ignored when analyzing the document.

AttributesDetails
TypeCheckbox
RequiredNo
Default valueNot Selected
Allowed valuesSelected or Not Selected
NotesN/A

S3 Storage

Bucket

The name of the Amazon S3 bucket where the document is stored.

AttributesDetails
TypeString
RequiredYes
Default valueEmpty
Allowed valuesEnter a String or String variable.
NotesThe AWS Region for the S3 bucket that contains the document must match the Region that you selected in the Amazon Scope activity. For Amazon Textract to process a file in an S3 bucket, the user must have permission to access the S3 bucket; for more information, see step 6 in the Create IAM User section of the Setup guide.
DocumentName

The case-sensitive name of the file in the specified Bucket that you want to analyze.

AttributesDetails
TypeString
RequiredYes
Default valueEmpty
Allowed valuesEnter a String or String variable.
NotesSupported document formats: PNG, JPEG, and PDF.
Version

If the bucket has versioning enabled, you can specify the object version.

AttributesDetails
TypeString
RequiredNo
Default valueEmpty
Allowed valuesEnter a String or String variable.
NotesN/A

Misc

Private

If selected, the values of variables and arguments are no longer logged at Verbose level.

AttributesDetails
TypeCheckbox
RequiredNo
Default valueNot Selected
Allowed valuesSelected or Not Selected
NotesN/A

Output

Page

The properties extracted from the specified document.

AttributesDetails
TypePageDetail
RequiredNo (recommended if you plan to use the output data in subsequent activities)
Default valueEmpty
Allowed valuesEnter a PageDetail variable
NotesSee Page Detail for the description of the PageDetail object and its properties.

Example

The following image shows an example of the activity dependency relationship and input/output property values.

For step-by-step instructions and examples, see the Quickstart guides.

Analyze Single Page Document activity dependency and input/output property values

Analyze Single Page Document output example in UiPath Studio

  • How it works
  • Properties
  • Common
  • Local Path
  • Options
  • S3 Storage
  • Misc
  • Output
  • Example

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated