An open-source, faster Devin alternative
TypeScript
docs: Slack answers ask questions with buttons or a reply
Igor Zalutski0e58da89128f
diff --git a/docs/agents/slack.mdx b/docs/agents/slack.mdxindex 83c9fe64..d7eeebd6 100644--- a/docs/agents/slack.mdx+++ b/docs/agents/slack.mdx@@ -61,6 +61,16 @@ panel choose **Set up manually**:Both paths produce the same app configuration and the same connection.Credentials and disconnecting are managed in the same place afterwards.+## Questions++When an agent calls [`ask`](/agents/tools#ask-a-question), the thread gets one+message: the turn's text, then the question with one button per option.+Clicking a button, or replying in the thread after the question, answers it.+Messages sent before the question was posted reach the agent with the answer,+as steering. Only the person the session is talking to can answer; other+people's clicks are ignored. Once the question is answered or closed, the+buttons are replaced by the choice or by "closed (reason)".+## Current limits- A Slack app is installed into a single workspace; organization-widediff --git a/docs/agents/tools.mdx b/docs/agents/tools.mdxindex 3df0a602..88d819ff 100644--- a/docs/agents/tools.mdx+++ b/docs/agents/tools.mdx@@ -307,9 +307,10 @@ question; the turn that interprets the answer may ask again.How the question reaches a person depends on where the session lives: anapplication answers it through the [API](/agents/api#turns) or the-[React hook](/agents/react#answer-a-question), and a-[Linear](/agents/linear#ask-before-acting) session shows it in the thread with-the options as buttons.+[React hook](/agents/react#answer-a-question); a+[Slack](/agents/slack#questions) or [Linear](/agents/linear#ask-before-acting)+session shows it in the thread with the options as buttons, and a click or a+typed reply answers it.`ask` records that the agent asked. It does not undo or forbid anything theturn did before asking. A turn meant only to propose should select `ask` and