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.
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.