π§ Handle GDPR data deletion requests with Slack
β‘ 2,064 views Β· π§ Miscellaneous
Description
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
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.
π Nodes Used
Airtable, Function, HTTP Request, Start, Webhook, Execute Sub-workflow
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File