Skip to content
For LLMsView as Markdown·

Slack

Send messages, manage channels, and interact with Slack workspaces.

DetailValue
CategoryCommunication
Base URLhttps://slack.com/api
AuthenticationBearer Token
Endpoints6
Connector keyslack

Using Slack in a workflow

  1. Go to Connections and click New Connection.
  2. Pick Slack from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — the full list is below.

Available endpoints

EndpointSummary
POST /chat.postMessageSend a message to a channel
GET /conversations.listList all channels
GET /conversations.historyFetch channel message history
GET /users.listList all users in workspace
GET /users.infoGet user profile info
POST /reactions.addAdd a reaction to a message

Each endpoint is documented in full below. Use the outline on the right to jump to one.

POST /chat.postMessage

Send a message to a channel

DetailValue
Operation IDmessaging.postMessage
MethodPOST
Path/chat.postMessage

Parameters

No parameters.

Request Body

FieldType
channelstring
textstring
blocksarray

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Slack connection from the Connection dropdown.
  3. In the Operation dropdown, select messaging.postMessage.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Slack API reference.

GET /conversations.list

List all channels

DetailValue
Operation IDmessaging.listChannels
MethodGET
Path/conversations.list

Parameters

NameLocationTypeRequired
typesquerystringNo
limitqueryintegerNo

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Slack connection from the Connection dropdown.
  3. In the Operation dropdown, select messaging.listChannels.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Slack API reference.

GET /conversations.history

Fetch channel message history

DetailValue
Operation IDmessaging.getHistory
MethodGET
Path/conversations.history

Parameters

NameLocationTypeRequired
channelquerystringYes
limitqueryintegerNo

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Slack connection from the Connection dropdown.
  3. In the Operation dropdown, select messaging.getHistory.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Slack API reference.

GET /users.list

List all users in workspace

DetailValue
Operation IDmessaging.listUsers
MethodGET
Path/users.list

Parameters

NameLocationTypeRequired
limitqueryintegerNo

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Slack connection from the Connection dropdown.
  3. In the Operation dropdown, select messaging.listUsers.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Slack API reference.

GET /users.info

Get user profile info

DetailValue
Operation IDmessaging.getUserInfo
MethodGET
Path/users.info

Parameters

NameLocationTypeRequired
userquerystringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Slack connection from the Connection dropdown.
  3. In the Operation dropdown, select messaging.getUserInfo.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Slack API reference.

POST /reactions.add

Add a reaction to a message

DetailValue
Operation IDmessaging.addReaction
MethodPOST
Path/reactions.add

Parameters

No parameters.

Request Body

FieldType
channelstring
timestampstring
namestring

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Slack connection from the Connection dropdown.
  3. In the Operation dropdown, select messaging.addReaction.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Slack API reference.