Deploy an agent to Slack

Connect a Slack workspace in the Channels panel and pick the agent that answers. The channel's reply policy determines which messages can start an agent run. Replies use the agent's model, tools, and knowledge.

Before you start

  • You need the project.runtime.manage permission on the project to open and manage Channels.
  • Create an agent and make it available on the target you will select. Deploy the project to use the main branch or an environment, or use a preview branch with a live agent. Creating the agent alone does not make it available on every target.

Steps

  1. In Studio, open the project.
  2. Open Channels.
  3. If Slack is not connected, select Connect Slack.
  4. For a new connection, approve the Veryfront app for your workspace in Slack.
  5. If Studio opens an existing channel configuration, select New channel before configuring the fields below.
  6. In Slack, invite the Veryfront app to each channel it should answer in.
  7. In Slack channel, pick a channel or All invited channels. A preview branch needs a specific channel, so pick one if the agent runs on a preview branch.
  8. In Runs on, choose Main branch, Preview branch, or Environment.
  9. For a preview branch or an environment, pick it in the Preview branch or Environment field that appears.
  10. In Agent, pick the agent that answers on the selected target.
  11. In Respond when, choose Only when mentioned, Direct messages, or All messages.
  12. Select Create channel.
  13. In Test Slack channel, pick a channel.
  14. Select Send test message to confirm that Studio can send a message to Slack. This tests outbound delivery, not the agent's response to incoming messages.

Verify the agent response

  1. In Slack, send a message that matches Respond when. Mention the Veryfront app for Only when mentioned, send the app a direct message for Direct messages, or post in a connected channel for All messages.
  2. Confirm that the agent replies in the Slack thread.
  3. Open Runs in Studio and inspect the corresponding run's status and result.

How replies work

  • The agent replies in the thread of the message it answers.
  • Replies in the same thread continue the same conversation, so the agent sees earlier turns.
  • The app adds an eyes reaction while the agent works, then a check mark when it replies, or a cross when the run fails.
  • Each reply is a run. Open Runs to inspect it, and Conversations to read the thread.
  • Runs use project credits like any other run.

Troubleshooting

SymptomFix
The agent never answersEnsure the app is invited to the channel and the channel is selected in Slack channel.
The channel shows Needs attentionOpen Target status and resolve the selected runtime target's deployment problem. Check that its deployment is running and healthy.
A test message says Reconnect SlackSelect Reconnect Slack in the Channels menu. Slack revoked or expired the token.
Replies arrive without reactionsReconnect Slack to grant the reactions:write permission. Connections made before reactions existed don't have it.
The agent replies with an error messageOpen the run in Runs to see why it failed, for example missing credits or a model error.