Open a direct message
BetaChanges data
Starts a private conversation with one person or a small group.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Slack connection the step signs in with. |
| PeopleRequired | One person for a private conversation, or up to 8 for a group — pick them, or type user ids. Pass the channel id this node answers to Send message. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `slack`) |
users | texta value from the vendor's own list |
Output
| Field | Type |
|---|---|
channelIdChannel id — pass it to Send message | string |
alreadyOpenThe conversation already existed | boolean |
Sample output, and the expression for each field
- alreadyOpenfalse
- channelId"D0123ABCD"
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": {
"connection": "<connection id>",
"users": "<people>"
},
"label": "Open a direct message",
"type": "slack.openDirectMessage",
"version": 1
}