Actions2
- Text Actions
- File Actions
File → Anonymize File
AI-generatedSummary
Upload a binary file to doccape for text and image PII anonymization, wait for processing, and return the anonymized file as binary output. Configure which PII classes to detect, how to replace text matches, and how to anonymize image matches; doccape requires API credentials.
Inputs
- Input Binary Field Name (required) — Name of the incoming binary field containing the file; defaults to
File. - Text PII Classes to Detect — Comma-separated text PII labels; defaults to
PER,STR,LOC,ORG. - Use Pseudonyms — When enabled (default), replaces detected text PII with full pseudonyms based on the label. When disabled, suppresses it with four asterisks.
- Image PII Classes to Detect — Comma-separated image PII labels; defaults to
face. - Image Anonymization Type — How detected image PII is obscured: Mask (default), Blur, or Pixelate.
- Polling Interval (Seconds) — How often to check processing status; defaults to 5 seconds, with a minimum of 5.
- Polling Timeout (Minutes) — Maximum wait for completion; defaults to 10 minutes, with a minimum of 1.
- Delete Document After Anonymization — Defaults to enabled. Attempts to delete the doccape document after completion and also after errors or timeouts.
- Include Detected PIIs — Defaults to disabled. When enabled, adds detected PII details under
json.piis; this payload is sensitive and should not be sent to chat models or agents. - Request Options — Optional batching, SSL certificate validation, proxy, and request timeout settings.
Output shape
One item containing the anonymized file in binary.data and a JSON object.
The JSON includes
status: "COMPLETED"anddeleted; it includesdocumentIdwhen the document was not deleted,cleanupErrorif deletion failed, andpiiswhen detected PII inclusion is enabled. Processing errors, timeout, or specified doccape failure statuses fail the operation; cleanup is attempted when deletion is enabled.