Webhooks vs Workflows
Part 1: Webhooks
Create a Webhook
Register a URL to receive HTTP callbacks when events occur:secret from the response — you need it to verify webhook signatures.
Available Events
Webhook Payload
Each delivery sends a POST request with a JSON body:Verify Webhook Signatures
Each delivery includes an HMAC-SHA256 signature. Verify it to ensure the payload is authentic:Scope to a Room
Limit webhooks to a specific room:Monitor Deliveries
Check the delivery log to debug issues:pending, success, failed), HTTP status code, attempt count, and next retry time.
Part 2: Workflows
Workflows let you run custom JavaScript in response to events, directly on CollabKit’s infrastructure.Create a Workflow
Workflow Bindings
Your workflow code receives the event and a set of bindings:Example: Notify Slack on Session Start
Example: Auto-Create Welcome Store Entry
Monitor Executions
Check the execution log:Enable/Disable Workflows
Next Steps
- Combine webhooks with workflows for a complete event pipeline
- Use the dashboard to manage webhooks and workflows visually
- Review the Webhook API reference and Workflow API reference for full details