Skip to main content
This guide covers setting up webhooks for external notifications and workflows for running custom code when events occur in your rooms.

Webhooks vs Workflows

Part 1: Webhooks

Create a Webhook

Register a URL to receive HTTP callbacks when events occur:
Save the 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:
Each delivery shows the status (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:
Each execution shows status, duration, and the result or error message.

Enable/Disable Workflows

Next Steps