Redact a Document
Redacts portions of a document based on specified rules.
Overview
This procedure redacts sensitive information from a document based on specified rules. It uses LLM analysis to identify content that matches the redaction criteria and creates a new document with the identified content blacked out or removed.
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. Redact Social Security Numbers
This example redacts all social security numbers from the document.
get the file as a scanned document
redact the document where
the rule is "redact all social security numbers"
2. Redact Specific Transaction Types
This example redacts transactions except for specific vendors from the document.
get the file as a scanned document
redact the document where
the rule is "redact all transactions except those containing 'Uber' or 'Starbucks'"
3. Redact Personal Information
This example redacts names, addresses, and phone numbers from a document.
get the file as a scanned document
redact the document where
the rule is "redact all names, addresses, and phone numbers"
Last updated
Was this helpful?