This n8n workflow automates the process of managing and deleting Slack messages based on specific commands or search criteria, ensuring a clean and organized Slack workspace. The workflow begins with a webhook trigger that receives user commands, which are then parsed and validated. If valid, the workflow retrieves messages from a designated Slack channel, filters them according to search terms, and confirms whether messages should be deleted or canceled. It supports batch processing of messages with delays between deletions for rate limit management. Additionally, the workflow includes error handling, notifications via Slack messages, and a cleanup routine for messages related to the workflow itself. This automation is particularly useful for Slack administrators who need to regularly clear outdated or unwanted messages based on specific commands or search filters, saving time and maintaining a clutter-free communication environment.
Automated Slack Message Cleanup Workflow
Node Count | >20 Nodes |
---|---|
Nodes Used | code, if, set, slack, splitInBatches, switch, wait, webhook |
Reviews
There are no reviews yet.