ToolJet/docs/versioned_docs/version-2.18.0/data-sources/slack.md
Shubhendra Singh Chauhan 9f2ff94a12
[docs] platform 5.x (#7427)
* whtie label revamp

* minor changes

* updated beta info in copilot docs

* renamed gds to ds in overview doc of v2.15 onwards

* updated multienv: renamed gds to ds, updated screenshot

* updated multienv: app state description

* updated superadmin wrt new licensing updates

* licensing update: free trial

* updates in licensing

* changes after review

* [docs]updated restapi with bearer auth

* Update kubernetes-aks.md

* Update openshift.md

* Update ecs.md

* Update ecs.md

* Update kubernetes-gke.md

* Update kubernetes.md

* Update docker.md

* Update docker.md

* Update ecs.md

* Update google-cloud-run.md

* Update kubernetes-aks.md

* Update kubernetes-gke.md

* Update kubernetes.md

* Update openshift.md

* Update kubernetes-gke.md

* Update kubernetes-aks.md

* fixed ecs, removed heroku from 2.15 onwards

* updated digitalocean doc

* licensing doc changes and location

* Update digitalocean.md

* Update digitalocean.md

* added v2.18.0

---------

Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>
2023-09-27 12:24:39 +05:30

2.5 KiB

id title
slack Slack

Slack

ToolJet can connect to your Slack workspace to send messages.

Slack datasource: ToolJet

Connection

  • To add the Slack datasource, click the Datasource manager icon on the left-sidebar of the app builder and click on the Add datasource button, then select Slack from the modal that pops up.

  • In the next dialog, you'll be asked to choose the permission scope. Choose the permission scope and then click on Connect to Slack button.

  • A new tab will open up asking for authorization confirmation. Once done, you can close the tab.

Slack datasource: ToolJet
  • Click on the 'Save data source button to save the data source.

:::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. :::

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.

Property Description
Channel The channel ID or user ID to post the message to.
Message The message to post.
Slack datasource: ToolJet

List messages

This operation will get the messages from a specified channel.

Property Description
Channel The channel ID to get the messages from
Limit The maximum number of messages to return.
Next Cursor A cursor value returned by a previous call to list messages.
Slack datasource: ToolJet