Skip to main content
Version: 3.0.0-LTS

Slack

ToolJet can connect to your Slack workspace to send messages.

Connection

To establish a connection with the Slack datasource, you can either click on the + Add new Data source button located on the query panel or navigate to the Data Sources page through the ToolJet dashboard.

Slack datasource: ToolJet
Slack datasource: ToolJet
note

The App (which credentials are provided) needs to be installed in the workspace to use the Slack data source, and it needs to be added to the channel where you want to post the message.

Querying Slack

  1. Click on + Add button of the query manager at the bottom panel of the editor.
  2. Select the Slack datasource added in previous step.
  3. Select the desired operation.
  4. Click on the Preview button to preview the output or Click on the Run button to create and trigger the query.
Slack datasource: ToolJet

Supported Operations

  1. List Members
  2. Send Message
  3. List Messages From a Channel

List Members

This operation will return the data of all the members in your slack workspace.

Slack datasource: ToolJet

Send Message

This operation will send/post the message to a specified channel or posting to direct messages (also known as DMs or IMs) in your slack workspace.

Required Parameters

  • Channel
  • Message
Slack datasource: ToolJet

List Messages

This operation will get the messages from a specified channel.

Required Parameters

  • Channel
  • Limit
  • Next Cursor
Slack datasource: ToolJet