A deep dive into hooks | Workflow SDK @VercelHQ
A deep dive into hooks | Workflow SDK  @VercelHQ
Uploaded May 2026 | Updated September 2026, 3 weeks ago
Instead of scattering state across endpoints, databases, and cron jobs, you can suspend a workflow and wait for any external event. Hooks and webhooks let your process flow top to bottom, the way you'd whiteboard it.

In this video, Pranay and Nate from the Workflow team walk through three demos:
- A magic link login built with createWebhook in around 50 lines, no Redis or TTL management required
- A Slack story bot using hooks and a for-await loop to handle a thread of incoming messages as one continuous workflow run
- An FFmpeg conversion in Vercel Sandbox that suspends mid-flight and resumes when the callback fires

Plus a look at the Promise.race(webhook, sleep) timeout pattern and how 'use step' lets any npm package plug into Workflow SDK.

▲ Try Workflow SDK: vercel.com/workflows
▲ Read the docs: https://workflow-sdk.dev
A deep dive into hooks | Workflow SDK
Vercel |

A deep dive into hooks | Workflow SDK

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER