Connect Slack to your agent

Let your agent answer questions in Slack channels and direct messages. Connect your Slack workspace, choose where it replies and test it.

Working draft. These docs are illustrative: names, endpoints and examples describe the intended behaviour and can change before launch.

The Slack channel puts your agent inside your Slack workspace. Use it for an internal help desk where colleagues ask the agent questions, or to answer customers in a shared channel.

This is different from the Slack action, which posts a message to a channel when something happens in a chat. For that, see Slack action.

Before you start

  • Permission to add apps in your Slack workspace.
  • Workspace Owner or Admin role in Askocto.
  • An agent with sources for the questions people will ask.

Connect Slack

  1. Open Workspace Settings > Integrations.
  2. Find Slack and select Connect.
  3. In your Slack workspace, review the permissions and approve the connection.

You should see Slack marked Connected with your Slack workspace name.

Turn on the channel

  1. Open the agent and select Channels.
  2. Choose Slack and select Set up.
  3. Under Reply in, choose the Slack channels where the agent answers.
  4. Choose Reply when: Mentioned or Every message.
  5. Select Save.

Invite the Askocto app to each Slack channel you chose. Private channels appear in the list only after the app is invited.

Direct messages

People can also message the agent directly. Conversations appear in Activity with the Slack channel, in the same list as other channels.

Test it

  1. In a chosen Slack channel, mention the agent and ask a question.
  2. Check that the answer arrives in a thread.
  3. Open Activity and filter by Channel to see the conversation and its sources.

Tip: Start with Mentioned. Move to Every message only in a channel dedicated to questions.

Disconnect

Turn off the channel in Channels > Slack, then choose Disconnect in Workspace Settings > Integrations. Remove the app in your Slack workspace if you no longer want it installed.

Troubleshooting

  • The agent does not answer. Invite the app to the Slack channel and check Reply when.
  • A private channel is missing. Invite the app to it, then refresh the list.
  • The connection fails. Ask a Slack workspace admin to approve the app.

Something unclear or missing? Tell us and we will fix the page.