Vercel's Chat SDK adds scheduled Slack message support
Scheduled Slack Messages Now Available
The Vercel Chat SDK has added support for scheduled Slack messages, enabling developers to send messages at predetermined times rather than immediately.
How It Works
Use the new thread.schedule() method to schedule a message with a postAt date:
const scheduled = await thread.schedule("Reminder: standup in 5 minutes!", {
postAt: new Date("2026-03-09T08:55:00Z"),
});
// Cancel before delivery if needed
await scheduled.cancel();
Key Features
- Flexible scheduling: Pass any future date/time via the
postAtparameter - Cancel anytime: Scheduled messages can be cancelled before delivery using the returned object
- Simple API: Integrates seamlessly with existing Chat SDK workflows
Next Steps
Refer to the Chat SDK documentation for implementation details and additional parameters.