Chat SDK now supports callback URLs on buttons and modals
Source: Vercel News
You can now pause a Workflow run on a Chat SDK card and resume it when someone clicks a button. The same flow works for form submissions. Buttons and modals accept a new callbackUrl prop, and the event payload is sent to that endpoint.
To build a card like this, create a workflow webhook and pass its URL to each button's callbackUrl prop inside your <Card> component:
For the <Modal> component, the form data is in the payload. callbackUrl works for buttons on most platforms with an official adapter, and for modals on Slack and Teams.
Read the documentation or walkthrough guide to start building.