Privacy Redactor
When to Use
- User says redact PII or task matches this capability
- User says privacy check or task matches this capability
- User says sanitize this or task matches this capability
- User says remove personal data or task matches this capability
Workflow
- Scan text for PII patterns: email, phone, SSN, address, full names.
- Replace with tokens: [EMAIL], [PHONE], [NAME], [ADDRESS].
- List redactions in summary for user review.
- If external send requested, run hitl-approver after redaction.
Integrations
hitl-approverwhatsapp-auto-respondermemory-sanitizer
Error Handling
| Failure | Response |
|---|---|
| Over-redaction | Preserve structure; only redact confirmed PII. |
| Missed PII | Run second pass on capitalized tokens and @ symbols. |
Gotchas
- Never log raw PII to external services after redaction.
Example
Input: User request matching triggers above. Output: Structured result per workflow with integrations invoked as needed.