- Start agent tasks from CI/CD pipelines
- Trigger workflows from monitoring alerts
- Integrate with ticketing systems
- Automate responses to external events
Access
Webhook configuration may be available through:- Settings menu
- Organization settings (user menu > Organization)
- Infrastructure > Workflows section
The exact location of webhook settings depends on your organization’s configuration and access level.
Managing Webhooks
Creating a Webhook
- Click + Create Webhook
- Configure the webhook:
- Name - Descriptive identifier
- Target - Agent or Team to receive events
- Event Types - Which events trigger the webhook
- Secret - Optional secret for signature verification
- Click Create
- Copy the generated webhook URL
Webhook Details
Each webhook displays:| Field | Description |
|---|---|
| Name | Webhook identifier |
| URL | Endpoint to send events to |
| Target | Agent or Team that handles events |
| Status | Active or Disabled |
| Created | Creation timestamp |
| Last Triggered | Most recent invocation |
Testing a Webhook
- Click the Test button on any webhook
- Review the test payload
- Click Send Test
- Check the target agent’s task kanban for the test task
Webhook URL
The generated URL follows this pattern:Sending Events
Basic Request
With Authentication
If you configured a secret:Event Payload
The webhook payload is passed to the target agent as context:message field becomes the primary instruction for the agent.
Integration Examples
GitHub Actions
PagerDuty
Configure PagerDuty to send alerts to your webhook URL. The alert details are passed to the agent for automated response.Slack Workflows
Create a Slack workflow that posts to your webhook URL when specific conditions are met.Security
Webhook Secrets
Always use a webhook secret in production:- Generate a strong random secret
- Configure it in the webhook settings
- Include it in the
X-Webhook-Secretheader - Kubiya validates the secret before processing
IP Allowlisting
For additional security, configure your firewall to only allow webhook calls from known sources.Payload Validation
Implement payload validation in your calling system to prevent injection attacks.Monitoring
Webhook Logs
View recent webhook invocations:- Timestamp
- Source IP
- Payload received
- Processing result
- Target agent response
Failed Invocations
Check failed webhooks for:- Invalid payloads
- Authentication failures
- Target agent errors
- Rate limiting
Rate Limits
Webhooks have rate limits to prevent abuse:- Per webhook: 100 requests per minute
- Per organization: 1000 requests per minute
Disabling Webhooks
To temporarily stop a webhook:- Find the webhook in the list
- Toggle the Status to Disabled
- The URL remains valid but requests are rejected
- Click Delete
- Confirm deletion
Related Pages
- Agents - Configure agents that receive webhook events
- Task Kanban - View webhook-triggered tasks
- Background Jobs - Schedule recurring tasks