FlowmageDocs

Pin message

BetaChanges data

Pins a Slack message to the top of its channel.

Settings

SettingWhat it is
ConnectionRequiredThe Slack connection the step signs in with.
ChannelRequiredPicked from the list Slack offers.
Message timestampRequiredThe ts of the message to pin. A channel holds a limited number of pins.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `slack`)
channeltexta value from the vendor's own list
tstextits `{{ }}` must give a string

Output

FieldType
pinnedboolean
alreadyPresentIt was already pinnedboolean
Sample output, and the expression for each field
  • alreadyPresentfalse
  • pinnedtrue

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": {
    "channel": "<channel>",
    "connection": "<connection id>",
    "ts": "<message timestamp>"
  },
  "label": "Pin message",
  "type": "slack.pinMessage",
  "version": 1
}