Bulk channel cleanup with one command and a confirmation

The scenario finds messages in a channel by your filter, shows you the count and deletes only after you confirm — with pauses and a final report.

  • One command instead of a hundred clicks
  • Shows you what it will delete and waits for confirmation
  • Paced deletions so nothing hits a limit
  • Cleans up its own service messages afterwards
Webhook

How it works

To connect salebot and Webhook, you don't need a developer: a ready-made scenario links them in minutes.

  1. Starts when: Webhook
  2. Then: Respond to Webhook
  3. Check: Switch
  4. If yes: Check User Message
  5. Check: If1
  6. If yes: Delete or Cancel?
  7. If yes: Loop Over Messages
  8. Then: Code Count
  9. Then: Send Completion Message
  10. Then: Wait
  11. Then: Clean Up Workflow Messages
  12. Check: Loop Over Items
  13. Then: Delete Workflow Messages
  14. Then: Wait Between Deletes
  15. Then: Delete Message
  16. Then: Post Error Final
  17. Then: Wait for Error Final
  18. Then: Delete Error Final
  19. If no: Send Progress Confirmation
  20. Then: Wait Progress M
  21. Then: Delete Progress M
  22. If no: Send Cancel Message
  23. Then: Wait Cancel Message
  24. Then: Delete Cancel Message
  25. If no: Instruction Message
  26. Then: Wait1
  27. Then: Delete Instruction
  28. If no: Parse Command
  29. Then: Prase Set
  30. Check: Check if Valid Command
  31. If yes: Get Channel Messages
  32. Then: Filter Messages by Search Term
  33. Check: Messages Found?
  34. If yes: Store Pending Deletion
  35. If yes: Send Confirmation Message
  36. Then: Wait Conf
  37. Then: Delete Conf
  38. If no: No Messages Found
  39. Then: Wait No.M Final
  40. Then: Delete No Messages
  41. Then: Error Report
  42. Then: Wait Error Report
  43. Then: Delete Report Error
  44. If no: Send Error Message
  45. Then: Wait Error Final
  46. Then: Delete Error Message
  47. Then: Store Message Info
  48. Then: Prepare Messages for Deletion Node

You can launch this salebot + Webhook integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.