Skip to content

Make user input a first-class interaction across Slack and the web UI #2187

Closed

Description

@sentry-junior

Problem

#2149 adds requestUserInput: one question, 2–5 choice labels, rendered as Slack buttons or a choice card in the dashboard. The answer arrives as the next user message. It's a good first step, but it treats input as "ask one question, pick one label." Claude Code / Claude Desktop treat it as a structured input request, and that model works better in general.

This issue is for the next version: user input, not just a user question.

What Claude does (for reference)

From the Claude Code tools reference and community prompt dumps (see the research comment on #1998):

  • AskUserQuestion can ask several related questions in one call. Each has a short header, options with a label and description, and optional multi-select.
  • An "Other" free-text answer is always available, so the user isn't boxed in by the model's options.
  • Options can carry a preview (HTML), so the user sees what they're picking, not just a label.
  • The answers come back as structured data tied to the request, so the model knows exactly which question got which answer.
  • In Claude Desktop this renders as a small inline widget, not as chat text.

Direction

The model describes what input it needs. Each surface decides how to render it. The answer comes back as structured data linked to the request.

  • Request shape: one or more fields. Each field is single choice, multi choice, short text, or confirm. Fields have labels, descriptions, and an optional preview. Free text is always allowed.
  • Slack: buttons for simple choices. For anything richer, use selects / checkboxes / a modal, depending on what Block Kit handles well. After someone answers, collapse it into a summary ("@person chose X, Y").
  • Web UI: a compact widget above the composer, like Claude Desktop. It holds all fields, lets you submit once, and keeps a read-only record in the transcript afterward.
  • Answer: structured and keyed to the request id and field ids. Put it in the transcript so the model and the dashboard both read the same data. Typing a reply instead should still work as a fallback.
  • Lifecycle: an open request can be answered, skipped/dismissed, or replaced by a new one. It should be clear who is allowed to answer in a shared Slack thread.

Open questions

Related

via David Cramer.

--

View Junior Session [Sentry]

Activity

  1. sentry-junior commented on Oct 31, 2026

    @sentry-junior
    ContributorAuthor

    Closing in favor of #2488, which covers the second pass of the review desk. The structured request shape this issue asked for shipped with userInputRequestSchema. #2488 merges requestUserInput into addReviewItem and answers the open questions here about automations and about replacing requestUserInput.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions