App Logo
slack.com

Edit Slack message

Edit one of your own messages, given the channel (name '#social' or id C…/D…) and the message ts. Pass the new text (supports Slack mrkdwn). Defaults to the active workspace; pass workspaceDomain (e.g. acme.slack.com) to target another. Confirm the target workspace with the user before running. Returns the edited ts, channel id and new text. Requires login.

Input

ts required

ts of the message to edit (must be your own message).

text required

New message text (supports Slack mrkdwn, including <url|label> links). Replaces the whole message.

channel required

Target: channel name/#name, or channel/DM id (C…/D…/G…).

workspaceDomain optional

Workspace host, e.g. acme.slack.com. Defaults to the active workspace. Confirm with the user which workspace to target before running this script.

Output

ok required
ts required
text required
channel required
workspace optional

FAQ

Edit one of your own messages, given the channel (name '#social' or id C…/D…) and the message ts. Pass the new text (supports Slack mrkdwn). Defaults to the active workspace; pass workspaceDomain (e.g. acme.slack.com) to target another. Confirm the target workspace with the user before running. Returns the edited ts, channel id and new text. Requires login.
Required: channel, ts, text. Optional: workspaceDomain.
It returns ok, ts, text, channel, workspace.
Yes. It acts as you on slack.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the slack.com cookies saved by the Reduck extension.
It makes changes on slack.com, like sending, posting or booking something.
Ask an AI agent connected to Reduck to run reduck/slack.com/edit_message, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/slack.com/edit_message
It is part of Reduck's official curated catalogue.

Start building not clicking