Open Channel with Users
  • 26 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Open Channel with Users

  • Dark
    Light

Article summary

Step Details

Introduced in Version4.0.0
Last Modified in Version7.12.0
LocationIntegration > Slack Messenger

The Open Channel with Users step opens a direct message channel between users.

Prerequisites

This step requires the Slack module to be installed before it will be available in the toolbox. This step requires the following scopes for the OAuth token: channels:manage, groups:write, im:write, mpim:write


Properties

Inputs

PropertyDescriptionData Type
User Id ListList of User IDs which will be added to the channelString

Outputs

PropertyDescriptionData Type
Error


Error infoString containing the HTTPErrorCode along with an Error Message returned.String
Result


RESULTSuccess response which provides information on the new direct message channel, such as the users and channel IDString

Example Inputs and Outputs

User Id ListOutput
U03G2TDQB8U,U03NV7TJ1DHSuccess response. new direct message channel opened within Slack
Null ValueError returned: Value cannot be null
Empty StringError returned: Sequence contains no elements


Common Errors

Invalid scope

The following message will be returned if the OAuth token does not have the required permission_scope. To ensure that a channel can be created, the OAuth token must contain the following scopes: channels:manage. groups:write, im:write, mpim:write



Related Information

Related Articles:

Slack Module


Was this article helpful?