Skip to content

Slack

Slack is a messaging platform for teams to communicate and collaborate.

Categories: communication, developer-tools

Type: slack/v1


Connections

Version: 1

OAuth2 Authorization Code

Properties

NameLabelTypeControl TypeDescriptionRequired
clientIdClient IdSTRINGTEXTtrue
clientSecretClient SecretSTRINGTEXTtrue

Actions

Send message

Name: sendMessage

Sends a message to a public channel, private channel, or existing direct message conversation.

Properties

NameLabelTypeControl TypeDescriptionRequired
channelChannel IDSTRINGSELECTID of the channel, private group, or IM channel to send message to.true
textMessageSTRINGTEXT_AREAThe text of your message.true

Output

Type: OBJECT

Properties

NameTypeControl Type
okBOOLEANSELECT
channelSTRINGTEXT
tsSTRINGTEXT
message{STRING(user), STRING(type), STRING(ts), STRING(text), STRING(team), STRING(subtype)}OBJECT_BUILDER
warningSTRINGTEXT
responseMetadata{[STRING](messages)}OBJECT_BUILDER

Send Direct Message

Name: sendDirectMessage

Sends a direct message to another user in a workspace. If it hasn’t already, a direct message conversation will be created.

Properties

NameLabelTypeControl TypeDescriptionRequired
channelUser IDSTRINGSELECTID of the user to send the direct message to.true
textMessageSTRINGTEXT_AREAThe text of your message.true

Output

Type: OBJECT

Properties

NameTypeControl Type
okBOOLEANSELECT
channelSTRINGTEXT
tsSTRINGTEXT
message{STRING(user), STRING(type), STRING(ts), STRING(text), STRING(team), STRING(subtype)}OBJECT_BUILDER
warningSTRINGTEXT
responseMetadata{[STRING](messages)}OBJECT_BUILDER