AI Briefing
KO

Chat SDK adds callback URL support for buttons and modals

·2026.05.20 09:00

Key point

Chat SDK now supports callback URLs for buttons and modals.

Details

Chat SDK has added a callbackUrl prop to buttons and modals. When a user presses a button or submits a form in a card, the event payload is sent to the specified endpoint, allowing a Workflow run to be paused at that point and resumed later.

The example code creates a webhook with createWebhook, then passes the same callbackUrl to each Button inside a <Card>. When the user selects one of approve, approve-and-send, or deny, the await hook is released, and the flow branches so that sendReport() only runs for approval-type actions.

  • In <Modal>, the submitted form data is included in the payload.
  • callbackUrl works on buttons across most platforms that have an official adapter.
  • Modals are supported on Slack and Teams.
  • Documentation and a walkthrough guide are also provided.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.