BotNetwork

Acknowledging Slack interactivity requests

Three-second window and response_url follow-ups.

Guide1 min readUpdated

Why it matters

Slack interactivity must return HTTP 200 within ~3 seconds; slow LLM or DB work belongs after ack via response_url.

Practical steps

  1. Verify the signing secret on the raw body before parsing.
  2. Call ack() (Bolt) or return 200 immediately.
  3. Continue with response_url, chat.postMessage or views.update.
  4. Fixture block_actions payloads and assert ACK latency in CI.
  5. Log signature failures separately from handler errors.

Watch out for

  • Parsing JSON before HMAC check.
  • Awaiting OpenAI inside the ACK path.

Related comparisons and tools