Webhooks
Webhooks let you send real-time notifications to external services whenever specific events happen in your Knock Knock App account. This is useful for connecting with custom tools, internal systems, or services not covered by our other integrations.
Creating a Webhook
To create a new webhook:
- Go to Integrations in the sidebar.
- Find Webhooks and click Manage.
- Click Add Webhook.
- Enter a name to identify this webhook.
- Enter the URL where you want events to be sent.
- Select the events you want to listen for.
- Click Save to create the webhook.
Give your webhooks descriptive names like "New Lead to Internal CRM" or "Chat Ended to Analytics" so you can easily identify their purpose later.
Available Events
You can choose which events trigger your webhook. The available events include:
| Event | When It Fires |
|---|---|
| New Lead | A new lead is captured from a visitor interaction. |
| Lead Updated | An existing lead's information is modified. |
| Chat Started | A visitor begins a new chat conversation. |
| Chat Ended | A chat conversation is closed or completed. |
| Call Started | A visitor initiates a call through the widget. |
| Call Ended | A call is completed or disconnected. |
| New Message | A new message is sent or received in a chat. |
| Visitor Identified | A visitor provides their contact information. |
You can select one or more events per webhook. Each selected event will send a notification to your specified URL when it occurs.
You can create multiple webhooks that listen for different events, or a single webhook that listens for all events. Choose the approach that best fits your workflow.
Testing Webhooks
After creating a webhook, you can test it to make sure everything is working:
- Go to your webhook settings.
- Click the Test button next to the webhook you want to verify.
- A sample event will be sent to your URL.
- Check your receiving service to confirm the test event arrived.
Test events are clearly marked as test data so you can distinguish them from real events. Use testing to verify your setup before going live.
Managing Webhooks
From the webhooks management page, you can:
- Edit -- Change the URL, name, or selected events for an existing webhook.
- Disable -- Temporarily stop a webhook without deleting it.
- Delete -- Permanently remove a webhook you no longer need.
- View logs -- See recent delivery attempts and their status.
Deleting a webhook is permanent. If you might need it again later, consider disabling it instead.
Next Steps
- Explore Zapier for a no-code alternative to webhooks
- Connect Slack for team notifications
- Review all available integrations