FlowmageDocs

Open a direct message

BetaChanges data

Starts a private conversation with one person or a small group.

Settings

SettingWhat it is
ConnectionRequiredThe Slack connection the step signs in with.
PeopleRequiredOne 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
KeyValue
connectiontexta connection id from `requires.connections` (provider `slack`)
userstexta value from the vendor's own list

Output

FieldType
channelIdChannel id — pass it to Send messagestring
alreadyOpenThe conversation already existedboolean
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
}