shipfeedAI news, curated daily

22:46:37 CET
13 AUG22:46:37shipfeed
pull to refreshlast sync
Just in — 30 new
§ agents · storyline

Pause workflows for approval with Chat SDK

Chat SDK releases feature to pause workflows pending approval using persistent decision cards.

Aug 6 · · primary fetch1 sourceupdated Aug 6 ·

You can build human-in-the-loop approvals with Chat SDK through the new subpath. One call posts a card with Approve and Deny buttons and suspends a workflow until someone decides.chat/workflowrequestApprovalWorkflow SDK The wait can last seconds or days and survives deploys and restarts. You don't need an approvals table, an handler, or a polling loop:onAction Start the workflow from any handler, and instances serialize across the workflow boundary automatically. The card handles the rest:Thread Get started by reading the .approvals documentation Read more Pass to restrict who can decide.

Clicks from anyone else post a notice, and the workflow keeps waiting.Scoped approvers: approvers Chat SDK checks the platform's signature on every click, so the on the result is the person who decided.Verified decisions: user.id Once a decision lands or the timeout elapses, the card is edited in place with an outcome line, preventing stale clicks.Audit trail:

read full article on vercel.com
§ sources1 publication · timeline below
  1. vercel.comPause workflows for approval with Chat SDKprimary