Actions44
- Channel Actions
- File Actions
- Message Actions
- Reaction Actions
- Star Actions
- User Actions
- User Group Actions
Message → Delete
AI-generatedSummary
Delete a specific Slack message by providing its timestamp, either from a selected channel or a user.
Inputs
- select (required) — Choose whether to delete the message from a channel or user.
- channelId (required) — Identify the Slack channel from which to delete the message. Use list selection, channel ID, or channel URL. Required only if deleting from a channel.
- user (required) — Identify the Slack user from whom to delete the message. Use list selection or user ID. Required only if deleting from a user.
- timestamp (required) — Provide the timestamp of the Slack message to delete.
Output shape
a single record containing the result of the deletion operation
The output confirms the deletion; no pagination is involved. Only one message can be deleted per execution based on the provided timestamp.
Examples
Example 1: Delete a message from a specific Slack channel by selecting the channel from a list and specifying the message timestamp.
Set 'Delete Message From' to 'Channel', select the channel, and enter the message timestamp.
Example 2: Delete a message from a user by specifying the user's ID and the message timestamp.
Set 'Delete Message From' to 'User', provide the user ID, and enter the message timestamp.