Document Information | Leapwork Docs

Get Document Information

The Get Document Information block extracts document metadata such as author, page count, and creation or modification dates. This is useful for automated validation scenarios where a flow needs to confirm that a document meets specific criteria before continuing. This feature is available from 2025.1 onward.

Example: A PDF file containing a contract can be analyzed to extract the author, page count, and creation date for validation in an approval workflow.

Note:

When fully expanded, the Get Document Information block displays the following properties:

Quick-start

  1. Drag Get Document Information onto the canvas.
  2. Connect the block in the flow and optionally specify the basic parameters required for this block to operate, such as File type, Source type, and Select file to upload.
  3. Run the flow when it’s ready.

Building block parameters

Parameters

The green input connector triggers the block when the flow reaches it, and the green output connector triggers when the document metadata has been retrieved successfully.

This parameter is mandatory, because metadata can only be extracted once a document has been provided.

Resources

Topic Description
Flows FAQ Common questions about creating, running, and managing flows in Leapwork.
Flows Troubleshooting Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork.
Customer Portal Add-ons Customer portal section to activate your cloud blocks.