Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Alerts & Notifications

Alerts & Notifications

Clean Up Slack Channel Messages by Search Term

When a Slack command arrives, it validates it, finds channel messages matching a search term, asks for confirmation, and deletes them.

The steps

  1. Parse Command
  2. Check if Valid Command
  3. Send Error Message
  4. Get Channel Messages
  5. Filter Messages by Search Term
  6. Messages Found?
  7. No Messages Found
  8. Send Confirmation Message
  9. Store Pending Deletion
  10. Delete or Cancel?
  11. Send Cancel Message
  12. Loop Over Messages
  13. Wait Between Deletes
  14. Delete Message

48 steps in total.

Similar automations