PII Redactor (Agent Skill)
An agent runs a bundled Python skill that redacts emails, phone numbers, card numbers, and SSNs from text before it is shared.
The full canvas, before you import it
Click any node to see its config.
Click a node to select it — same as the Heym editor; the panel shows its settings.
3 nodes · Free & source-available
PII Redactor (Agent Skill)
Scrub sensitive identifiers before text leaves your workflow. This Heym Agent Skill redacts emails, phone numbers, card-like numbers, and SSN-like numbers using deterministic Python patterns, then returns the cleaned text and a count of what was removed.
What this workflow does
- rawText holds the text to scrub
- redactionAgent calls the bundled pii_redactor skill
- The skill replaces matches with labeled placeholders and counts each type
- redactedResult returns the cleaned text and counts
Why a skill
Redaction runs in Python with explicit patterns, so it is repeatable and does not depend on the model deciding what is sensitive. No API key required.
Setup
Open redactionAgent, pick an LLM credential, paste text, and run. This is a helpful first pass, not a compliance guarantee — review output for context-specific identifiers.
How to import this template
- 1Click Import → Copy JSON on this page.
- 2Open your Heym and navigate to a workflow canvas.
- 3PressCmd+V/Ctrl+V— nodes appear instantly.
- 4Add your API keys in the node config panels and click Run.
Discover more automations
- Legal & ComplianceGoverned Web Research Agent (MCP)Let an Agent fetch and summarize web pages through a Fetch MCP server routed behind the Arc Gate MCP governance proxy.
- Legal & ComplianceContract Risk Review QueueSummarize pasted contract text, flag risky clauses, and send review-needed items to Slack for legal follow-up.
- Legal & ComplianceContract Renewal & Expiry TrackerScan a contract register on a schedule, flag agreements nearing renewal or auto-renew notice deadlines, and alert owners in Slack.
- Legal & ComplianceGDPR Data Subject Request (DSAR) RouterClassify an incoming data subject request, compute the statutory deadline, and escalate sensitive cases to the DPO in Slack.
- Legal & ComplianceNDA Generator from IntakeTurn a few details about two parties and a purpose into a clean, structured NDA draft for legal review.
- Legal & ComplianceContract Obligation & Deadline ExtractorPaste contract text and extract obligations, owners, key dates, and renewal terms into a clean structured list.
- Legal & ComplianceCompliance Checklist GeneratorGenerate a tailored compliance checklist for a framework like SOC 2, GDPR, or HIPAA, scoped to your business context.
- Legal & ComplianceCease and Desist Letter (Agent Skill, PDF)An agent drafts a cease and desist letter, then a bundled Python skill renders it into a formatted, downloadable PDF.
- Legal & ComplianceDemand Letter Generator (Agent Skill, PDF)An agent drafts a formal payment demand letter; a bundled Python skill totals the amounts owed and renders a downloadable PDF.
- Legal & CompliancePrivacy Policy Generator (Agent Skill, PDF)An agent drafts a GDPR and CCPA aware privacy policy; a bundled Python skill renders the numbered sections into a downloadable PDF.
- Customer SupportHITL Support Reply AgentDraft a customer-facing support response, pause for human approval, then continue with the reviewed reply.
- Dev & IT OpsCodex PR Fix AgentSend a coding task to Codex, open a draft PR when it succeeds, and notify Slack when Codex needs follow-up input.