Why use Webhooks Local Testing
- Debug integration issues: Test webhook handlers with real events before deploying to production
- Iterate quickly: Make changes to your webhook handler and test immediately without deployment cycles
- Validate event handling: Ensure your application correctly processes different webhook event types and payloads
Quick Start
Create webhook handler
Set up a local server to receive webhook events:
Node.js webhook handler example
Node.js webhook handler example
Set up ngrok tunnel
Install and configure ngrok to expose your local server:You’ll see output like:Copy the HTTPS URL for the next step.
Configure webhook in Helicone
Add your ngrok URL to Helicone’s webhook settings:
- Go to your Helicone dashboard → Settings → Webhooks
- Click “Add Webhook”
- Enter your ngrok URL with the webhook path:
https://abc123.ngrok-free.app/webhook - Select the events you want to receive
- Save the webhook configuration
Use Cases
- Development Testing
- Event Processing Pipeline
Test webhook integration during local development:
Related Features
Webhooks
Learn about webhook events, payloads, and production configuration
Custom Properties
Use property filters to control which requests trigger webhooks
User Feedback
Receive webhooks when users provide feedback on responses
Alerts
Set up alert rules that trigger webhook notifications