Overview
Zortex can connect to your Slack workspace and answer questions like an expert teammate. You can configure ZortexBot to respond to certain types of messages, in specific channels, and with selected data from your index.Setup
Create a new Slack App
Use the YAML manifest
Generate an App Token
connections:write scope to the app-level token and click Generate.
Save this token for later.Install the Slack App
Setup Zortex for the Slack Bot
Configure the Slack Bot's Behavior
How to use the Zortex Slack Bot
There are a few ways to chat with the Zortex Slack bot:Tag the bot with your question
Tag the bot with your question
Use a slash command
Use a slash command
Send a message in a channel with the bot added
Send a message in a channel with the bot added
Direct message the bot
Direct message the bot
Advanced Configuration
There are a set of advanced configuration options available via environment variables that control your Slack bot’s behavior. You can find the full list of configuration options in the Zortex GitHub.ZORTEX_BOT_NUM_RETRIES
ZORTEX_BOT_NUM_RETRIES
5 (int)ZORTEX_BOT_NUM_DOCS_TO_DISPLAY
ZORTEX_BOT_NUM_DOCS_TO_DISPLAY
5 (int)ZORTEX_BOT_DISABLE_DOCS_ONLY_ANSWER
ZORTEX_BOT_DISABLE_DOCS_ONLY_ANSWER
false (bool)ZORTEX_BOT_REACT_EMOJI
ZORTEX_BOT_REACT_EMOJI
eyes (str)ZORTEX_BOT_FOLLOWUP_EMOJI
ZORTEX_BOT_FOLLOWUP_EMOJI
sos (str)ZORTEX_BOT_FEEDBACK_VISIBILITY
ZORTEX_BOT_FEEDBACK_VISIBILITY
private (only the clicking user),
anonymous (public but anonymous), public (public with username).Default: private (str)NOTIFY_SLACKBOT_NO_ANSWER
NOTIFY_SLACKBOT_NO_ANSWER
false (bool)ZORTEX_BOT_DISPLAY_ERROR_MSGS
ZORTEX_BOT_DISPLAY_ERROR_MSGS
false (bool)ZORTEX_BOT_RESPOND_EVERY_CHANNEL
ZORTEX_BOT_RESPOND_EVERY_CHANNEL
false (bool)ZORTEX_BOT_MAX_QPM
ZORTEX_BOT_MAX_QPM
0 or leave unset for uncapped.Default: uncapped (int)ZORTEX_BOT_MAX_WAIT_TIME
ZORTEX_BOT_MAX_WAIT_TIME
180 (seconds; 3 minutes)ZORTEX_BOT_FEEDBACK_REMINDER
ZORTEX_BOT_FEEDBACK_REMINDER
0 to disable.Default: 0 (disabled; 0 minutes)ZORTEX_BOT_REPHRASE_MESSAGE
ZORTEX_BOT_REPHRASE_MESSAGE
false (bool)ZORTEX_BOT_RESPONSE_LIMIT_PER_TIME_PERIOD
ZORTEX_BOT_RESPONSE_LIMIT_PER_TIME_PERIOD
0 to disable the limit.Default: 5000 (int)ZORTEX_BOT_RESPONSE_LIMIT_TIME_PERIOD_SECONDS
ZORTEX_BOT_RESPONSE_LIMIT_TIME_PERIOD_SECONDS
86400 (seconds; 24 hours)