slack.onMessageChanged emits Slack message_changed events visible to the bot.
automations/watch-slack-edits.automation.ts
message, previousMessage, conversation metadata, the typed original event, and the complete envelope.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Run an automation when a Slack message is edited.
slack.onMessageChanged emits Slack message_changed events visible to the bot.
import { automation } from "automate.ax"
import { slack } from "automate.ax/slack"
export default automation("Watch Slack edits", () => {
const change = slack.onMessageChanged()
// Compare change.previousMessage with change.message to update a mirror.
})
message, previousMessage, conversation metadata, the typed original event, and the complete envelope.