FlowmageDocs

Update message

BetaChanges data

Rewrites a message Slack already posted.

Settings

SettingWhat it is
ConnectionRequiredThe Slack connection the step signs in with.
ChannelRequiredThe channel the message sits in — Send message answers it.
Message timestampRequiredThe ts Send message answered for the message to rewrite.
Message format"text" or "blocks"
MessageThe new text. With Block Kit layout this becomes the notification line instead.
BlocksThe new Block Kit layout, as a list. At most 50 blocks.
Turn @name and #channel into linkstrue/false
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `slack`)
channeltexta value from the vendor's own list
tstextits `{{ }}` must give a string
messageFormat"text" or "blocks", by default "text"
texttext
blockstextused when `messageFormat` is "blocks"
linkNamestrue/false, by default false

Output

FieldType
tsMessage timestampstring
channelChannel idstring
messageobject
Sample output, and the expression for each field
  • channel"C0123ABCD"
  • message{}
  • ts"1726790400.000100"

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "blocks": "",
    "channel": "<channel>",
    "connection": "<connection id>",
    "linkNames": false,
    "messageFormat": "text",
    "text": "",
    "ts": "<message timestamp>"
  },
  "label": "Update message",
  "type": "slack.updateMessage",
  "version": 1
}