Add Webhook
Goal
Create new Modal webhooks for event-driven Claude orchestration.
Process
- •
Create Directive File Create
directives/your_directive.mdwith:- •Goal
- •Inputs
- •Process steps
- •Outputs
- •Edge cases
- •
Add to webhooks.json Add entry to
execution/webhooks.json:json{ "your-webhook-slug": { "directive": "your_directive", "description": "What this webhook does", "tools": ["send_email", "read_sheet", "update_sheet"] } } - •
Deploy
bashmodal deploy execution/modal_webhook.py
- •
Test
bashcurl "https://nick-90891--claude-orchestrator-directive.modal.run?slug=your-webhook-slug"
Available Tools for Webhooks
- •
send_email - •
read_sheet - •
update_sheet
Endpoints
- •List:
https://nick-90891--claude-orchestrator-list-webhooks.modal.run - •Execute:
https://nick-90891--claude-orchestrator-directive.modal.run?slug={slug}