Bulk delete Slack messages with smart filtering and confirmations
Ready for 3.0What this workflow does
This workflow has 48 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects Slack.
How it runs
Trigger: When an HTTP GET request hits its webhook URL.
- Respond to Webhook (Code): runs custom JavaScript code
- Switch: routes items into branches
- Check User Message (Code): runs custom JavaScript code
- Instruction Message (Slack): uses Slack
- Parse Command (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Wait: pauses before continuing
- Prase Set (Edit Fields (Set)): sets or maps fields
- Delete or Cancel? (If): checks a condition and branches into true / false
- Send Cancel Message (Slack): uses Slack
…plus 37 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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (8)
- Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Wait
n8n-nodes-base.wait - Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch
From the author
🧹 Jedi Cleaner for Slack ❌ Slack's Limitation Slack lacks a native bulk delete feature. Users must delete messages manually, which is time-consuming and inefficient for large volumes. ✅ Our Solution Jedi Cleaner automates Slack message deletion using smart…