Check if an Item is in a Document
Determines if a specific item is present within a document.
Overview
This procedure determines if a specific item (text or table) is present within a document. When checking for tables, it performs additional processing to identify table structures.
Make sure to add the Document Processing Book to your agent before using this automation procedure.
Syntax
Below is a line-by-line overview of the automation syntax. Expand each line to learn more.
Examples
1. Check for Text Presence
This example checks if specific text exists in the document.
get the file as a scanned document
if "important notice" is in the document then
# perform actions when text is found
2. Check for Table with Specific Columns
This example checks if a table with specific columns exists in the document.
get the file as a scanned document
if the table whose column contains "Employee ID" is in the document then
# perform actions when table is found
3. Check for Confidential Information
This example checks if confidential information exists in the document.
get the file as a scanned document
if "confidential" is in the document then
# handle confidential document processing
Last updated
Was this helpful?