Skip to main content
Stream call events to your CRM during a live conversation using LiveKit function tools and HMAC-signed webhooks.

View on GitHub

Clone and run the full working example

Getting started

Overview

The agent loads call metadata from your CRM before the call connects, then dispatches signed webhook events throughout the call lifecycle. During the conversation, the agent has access to four function tools that send non-blocking HTTP POSTs to your backend without interrupting the audio stream.

Agent function tools

Webhook events

All webhook payloads are signed with HMAC SHA-256 using your WEBHOOK_SECRET.

Key code

Environment variables

.env