Skip to main content
deleteMessage permanently deletes a message authored by the installed bot.

Example

automations/delete-slack-message.automation.ts

Inputs

Output

Returns { conversationId: string; timestamp: string } confirming Slack’s deleted target. The action fails when the message was not posted by the bot or Slack no longer permits deletion.