One-click deployable webhook inbox with multi-channel notifications. Runs entirely on Cloudflare Workers. Send form submissions to Discord, Slack, Teams, Telegram, email, and more. Docs · Self-Hosted Version · Quick Start Guide · Hosted version This is the Cloudflare-native version of hookforms (the self-hosted Docker Compose version). Same API surface, same features, zero infrastructure to…
One-click deployable webhook inbox with multi-channel notifications.
Runs entirely on Cloudflare Workers. Send form submissions to Discord, Slack, Teams, Telegram, email, and more.
HTML Form --> POST /hooks/your-inbox --> Discord, Slack, Email, Telegram, ...
This is the Cloudflare-native version of hookforms (the self-hosted Docker Compose version). Same API surface, same features, zero infrastructure to manage.
Features
Multi-channel notifications – route submissions to Discord, Slack, Microsoft Teams, Telegram, ntfy, email, or any webhook URL
Auto-detection – paste a URL and HookForms detects the channel type automatically
Click the deploy button above. After the deploy completes:
# Set your admin API key
bunx wrangler secret put ADMIN_API_KEY
# Run database migrations
bunx wrangler d1 execute hookforms-db --remote --file=migrations/0001_init.sql
bunx wrangler d1 execute hookforms-db --remote --file=migrations/0002_notification_channels.sql
Manual CLI Setup
git clone https://github.com/bts-io/hookforms-cloud.git
cd hookforms-cloud
bun install
# Create resources
bunx wrangler d1 create hookforms-db
bunx wrangler kv namespace create RATE_LIMIT
# Paste the IDs into wrangler.jsonc
# Set admin key
bunx wrangler secret put ADMIN_API_KEY
# Deploy
bunx wrangler deploy
# Run migrations
bunx wrangler d1 execute hookforms-db --remote --file=migrations/0001_init.sql
bunx wrangler d1 execute hookforms-db --remote --file=migrations/0002_notification_channels.sql
Hosted option
Running it on your own Cloudflare account is free and fully supported. If you would rather not run a server, HookForms Pro is the hosted version of this project. You can start on the free plan, and the paid plans also send notification email for you. hookforms.com
Provider resolution: inbox-specific > global > env-based Gmail.
from_email (Gmail: sender_email) takes a bare address or Name <address>. A name given that way is stored as from_name and used when the inbox has no sender_name of its own.
To check delivery, an admin key can send a test email through the provider a real notification would use (add ?inbox=<slug> to test an inbox’s own provider). The reply says which provider sent it:
bunx wrangler secret put GMAIL_CLIENT_ID
bunx wrangler secret put GMAIL_CLIENT_SECRET
bunx wrangler secret put GMAIL_REFRESH_TOKEN
bunx wrangler secret put GMAIL_SENDER_EMAIL
Use the gmail_auth.py script from the self-hosted repo to obtain your OAuth credentials.
Security
SSRF blocklist – blocks private IPs, localhost, link-local addresses, and cloud metadata endpoints on all outbound channel requests.
Secret redaction – channel configs and provider credentials are masked in API read responses.
Scoped API keys – fine-grained access control with webhooks and admin scopes.
评论