add-webhook
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:{ "your-webhook-slug": { "directive": "your_directive", "description": "What this webhook does", "tools": ["send_email", "read_sheet", "update_sheet"] } } -
Deploy
modal deploy execution/modal_webhook.py -
Test
curl "https://your-modal-username--claude-orchestrator-directive.modal.run?slug=your-webhook-slug"
Available Tools for Webhooks
send_emailread_sheetupdate_sheet
Endpoints
- List:
https://your-modal-username--claude-orchestrator-list-webhooks.modal.run - Execute:
https://your-modal-username--claude-orchestrator-directive.modal.run?slug={slug}
Schema
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
slug |
string | Yes | Webhook slug identifier |
directive |
string | Yes | Directive file name (without .md) |
description |
string | Yes | What this webhook does |
tools |
array | Yes | List of tools the webhook can use |
Outputs
| Name | Type | Description |
|---|---|---|
webhook_url |
string | Modal webhook URL for execution |
Credentials
| Name | Source |
|---|---|
MODAL_TOKEN_ID |
Modal dashboard |
MODAL_TOKEN_SECRET |
Modal dashboard |
Composable With
Skills that chain well with this one: modal-deploy
Cost
Modal compute (pay-per-use)
More from aiagentwithdhruv/skills
image-to-video
Generate AI video from static images using Kling 3.0, Hailuo, Luma Ray3, Runway Gen-4.5, and 8 other tools. Covers free vs paid tools, prompt writing (motion-only), camera control, and face stability. Use when user asks to animate an image, create AI video, or convert photo to video.
91mac-control
MCP server for AI-powered macOS control — apps, display, audio, files, screenshots, clipboard
59gmaps-leads
Scrape Google Maps for B2B leads with deep website enrichment and contact extraction. Use when user asks to find local businesses, scrape Google Maps, generate contractor lists, or build local service business databases.
42excalidraw-visuals
Use when someone asks for a hand-drawn visual, PNG image, rendered diagram, visual explanation, or says "excalidraw image" or "excalidraw visual". This generates PNG images, not editable files.
34video-edit
Complete video editing toolkit - silence removal, auto-captions, vertical crop, YouTube clipping, 3D transitions, and social media compression. Use when user asks to edit video, remove silences, add captions/subtitles, crop to vertical/shorts, download YouTube clips, compress video, or create video teasers.
29design-website
Generate a premium mockup website for a prospect using the buildinamsterdam.com template style. Use when user asks to design a website, create a mockup, or build a prospect website.
27