token
is a Slack bot token to use for authentication.app_token
is a Slack app token to use for authentication.app_token
is an optional parameter. Without providing it, you need to integrate an app into a Slack channel.CREATE CHATBOT
syntax, use this method of connecting Slack to MindsDB.Set up a Slack app and generate tokens
From scratch
or select an existing app.
From scratch
.From an app manifest
, please follow the Slack docs here.socket
and add the connections:write
scope.xapp-...
token - you’ll need it to publish the chatbot.xoxb-...
token - you’ll need it to publish the chatbot.app_mention
and message.im
.conversations
and messages
tables.
Set up a Slack app and generate tokens
From scratch
or select an existing app.
From scratch
.From an app manifest
, please follow the Slack docs here.CREATE CHATBOT
syntax.conversations
Tableconversations
virtual table is used to query conversations (channels, DMs, and groups) in the connected Slack workspace.
messages
Tablemessages
virtual table is used to query, post, update, and delete messages in specific conversations within the connected Slack workspace.
threads
Tablethreads
virtual table is used to query and post messages in threads within the connected Slack workspace.
users
Tableusers
virtual table is used to query user information in the connected Slack workspace.
messages
) records are returned.
To retrieve more records, use the LIMIT
clause in your SQL queries. For example: