Redact personal data from any item with data tables, audit log and Discord
Ready for 3.0What 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).
- Create Policy Table (Data table): create (table)
- Read The Policy (Data table): get
- Create Redaction Log Table (Data table): create (table)
- Attach The Policy To The Item (Code): runs custom JavaScript code
- Set The Default Policy (Edit Fields (Set)): sets 8 fields: mode, pseudonym_key, detect_email…
- Redact The Item (Code): runs custom JavaScript code
- Build The Default Policy (Code): runs custom JavaScript code
- Is This The Self Test? (If): checks a condition and branches into true / false
- Load The Policy (Data table): create or update
- Check The Self Test (Code): runs custom JavaScript code
…plus 5 more steps. See the full node list below.
Services it uses
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)
- Manual Trigger
n8n-nodes-base.manualTrigger - Data table
n8n-nodes-base.dataTable - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - If
n8n-nodes-base.if - Discord
n8n-nodes-base.discord
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…