webhook_create_rule
Create webhook routing rules that forward or log Greenhouse events. Match all or specific event types, and filter by JSON fields before forwarding.
Instructions
Create a webhook routing rule. Write operation.
Use webhook_list_events to see available event types. Set event_type to '*' to match all events, or a specific type like 'candidate_stage_change'. Use webhook_test_rule to dry-run after creating.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"event_type": "<event_type>",
"action_type": "<action_type>"
},
"name": "webhook_create_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action_url | No | URL to forward events to (required if action_type='forward') | |
| event_type | Yes | Greenhouse event type or '*' for all — see webhook_list_events | |
| action_type | Yes | 'forward' (requires action_url) or 'log' | |
| filter_field | No | JSON field to filter on (e.g., 'application.job.id') | |
| filter_value | No | Required value for the filter field |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |