What this does
A fleet can answer when someone mentions the agentsfleet app in a subscribed Slack channel. The answer appears in the same thread. Retried Slack deliveries do not start another turn.Before you begin
Open Connected apps in the dashboard and connect Slack to the active workspace. Invite the agentsfleet Slack app to the channel. See Connect a provider. Open the channel’s details. Copy its identifier (ID) from Channel ID in the About tab.Steps
- Start a fleet or open an existing one in the workspace that owns the Slack connection.
-
Send “Add a Slack mention trigger for channel
<CHANNEL_ID>” in its chat. The fleet callstrigger_addwith kindmentionand that channel ID. - Confirm the channel under Wakes on. A fleet subscribes to one Slack channel.
-
Mention the app in that channel. Include the fleet’s name when more than one fleet can answer.
Verify it works
Check for the reply in the Slack thread. Open the fleet’s chat to see the turn, or list the turns from the terminal.<FLEET_ID> from agentsfleet fleet list. The actor identifies the Slack team and sender.
Common problems
The fleet gets your question and the thread messages that Slack returns, in order. The default wait for the thread is 1.5 seconds.
If Slack cannot return the thread in time, the fleet can still answer your mention.
Editing a message or the app replying to itself does not start another turn.
Remove or undo
Remove the Slack trigger from Summary under Wakes on. From the terminal, runagentsfleet fleet triggers list <FLEET_ID> to find the trigger identifier. Then use agentsfleet fleet triggers delete <FLEET_ID> <TRIGGER_ID>.