Handle GDPR data deletion requests with Slack
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.
What to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| Function (legacy) Prepare Log Entry | Code node, mode 'Run Once for All Items' |
Nodes used (10)
- Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook - Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch - If
n8n-nodes-base.if - Execute Sub-workflow
n8n-nodes-base.executeWorkflow - Airtable
n8n-nodes-base.airtable - Function
n8n-nodes-base.function - Crypto
n8n-nodes-base.crypto - HTTP Request
n8n-nodes-base.httpRequest
What it does
This workflow automatically deletes user data from different apps/services when a specific slash command is issued in Slack. Watch this talk and demo to learn more about this use case. The demo uses Slack, but Mattermost is Slack-compatible, so you can also connect Mattermost in this workflow. !workflow-screenshot(fileId:617) Prerequisites - Accounts and credentials for the apps/services you want to use. - Some basic knowledge of JavaScript. Nodes - Webhook node triggers the workflow when a Slack slash command is issued. - IF nodes confirm Slack's verification token and verify that the data has the expected format. - Set node simplifies the payload. - Switch node chooses the correct path for the operation to perform. - Respond to Webhook nodes send responses back to Slack. - Execute Workflow nodes call sub-workflows tailored to deleting data from each individual service. - Function node, Crypto node, and Airtable node generate and store a log entry containing a hash value. - HTTP Request node sends the final response back to Slack.