Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Slack connection the step signs in with. |
| ChannelRequired | Picked from the list Slack offers. |
| Message timestampRequired | The ts of the message to pin. A channel holds a limited number of pins. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `slack`) |
channel | texta value from the vendor's own list |
ts | textits `{{ }}` must give a string |
Output
| Field | Type |
|---|---|
pinned | boolean |
alreadyPresentIt was already pinned | boolean |
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
}