Templates / Redact personal data from any item with data tables, audit log and Discord

Redact personal data from any item with data tables, audit log and Discord

Ready for 3.0

by Melbin Francis ✓ · 3 views · created 2026-09-11 · Document Extraction

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 17 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Discord.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Create Policy Table (Data table): create (table)
  2. Read The Policy (Data table): get
  3. Create Redaction Log Table (Data table): create (table)
  4. Attach The Policy To The Item (Code): runs custom JavaScript code
  5. Set The Default Policy (Edit Fields (Set)): sets 8 fields: mode, pseudonym_key, detect_email…
  6. Redact The Item (Code): runs custom JavaScript code
  7. Build The Default Policy (Code): runs custom JavaScript code
  8. Is This The Self Test? (If): checks a condition and branches into true / false
  9. Load The Policy (Data table): create or update
  10. Check The Self Test (Code): runs custom JavaScript code

…plus 5 more steps. See the full node list below.

Services it uses

Discord

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (7)

From the author

Quick overview This sub-workflow redacts common personal data from any incoming item using a policy stored in n8n Data Tables, returns a redacted payload plus a detection report to the calling workflow, and writes an audit entry to a redactionlog table (with…

Excerpt from Melbin Francis's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.