Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Security & Compliance

Security & Compliance

Anonymize PII in incoming webhook payloads via external detection API

Receives business data by webhook, detects PII through an external API, anonymizes sensitive fields, writes an audit trail and returns the cleaned payload.

What it does

## PII Detection & Anonymization Pipeline Receives business data, detects PII via external API, anonymizes sensitive fields, logs an audit trail, and returns the cleaned payload. Uses exactly 5 Code, 2 API and 3 Wait nodes. ### All nodes (1-line each) 1. Webhook - Incoming Business Data – Receives the raw business payload via POST. 2. Code - Validate & Extract – Validates the request and extracts candidate PII fields. 3. Wait - Pre Detection – Short pause before calling the detection service. 4. HTTP Request - PII Detection API – Sends candidate fields to the external PII detection service. 5. Code - Parse Detection Results – Maps detection findings to field-level risk scores. 6. Wait - Post Detection – Pause after detection before anonymization. 7. Code - Apply Anonymization – Redacts or hashes PII according to policy rules. 8. Wait - Pre Downstream – Pause before calling the downstream/logging API. 9. HTTP Request - Downstream / Audit API – Forwards anonymized data or audit event to an external system. 10. Code - Build Audit Trail – Creates a structured audit record of what was changed. 11. Code - Finalize Response – Assembles the final anonymized payload and status. 12. Respond to Webhook – Returns the anonymized result to the caller.

The steps

  1. Webhook - Incoming Business Data
  2. Code - Validate & Extract
  3. Wait - Pre Detection
  4. HTTP Request - PII Detection API
  5. Code - Parse Detection Results
  6. Wait - Post Detection
  7. Code - Apply Anonymization
  8. Wait - Pre Downstream
  9. HTTP Request - Downstream / Audit API
  10. Code - Build Audit Trail
  11. Code - Finalize Response
  12. Respond to Webhook

Similar automations