Skip to main content
slack.deleteMessage permanently deletes a bot-authored message.

Example

automations/delete-slack-message.automation.ts

Inputs

Output

Returns { conversationId: string; timestamp: string } for the deleted message. The action fails when the bot didn’t post the message or Slack no longer permits deletion.