Form submitted. Agent notified. The human-in-the-loop pipeline.
Updated March 2026
When someone submits a form, Sutrena sends the data to your URL. Slack, Discord, Telegram, Microsoft Teams, Google Chat, Zapier, Make, n8n, or your own backend. Built-in templates auto-format payloads for each platform. HMAC-SHA256 signing so you can verify it came from us. Delivery logs so you can see what happened. The human-in-the-loop workflow: agent creates form, human fills it, agent gets notified.
curl -X POST https://sutrena.com/api/webhooks \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://hooks.slack.com/services/T.../B.../xxx",
"description": "New signup alerts",
"formIds": ["FORM_ID"],
"fieldMapping": {
"email": "user_email",
"name": "user_name"
}
}'
# Test it:
curl -X POST https://sutrena.com/api/webhooks/WEBHOOK_ID/test \
-H "Authorization: Bearer YOUR_KEY"Create a webhook, link it to a form, test it. When submissions arrive, your endpoint gets called with the data.
Five built-in templates handle platform-specific formatting. For complex event routing or conditional delivery, consider automations -- they handle confirmation emails, conditional branching, and page entries natively without needing an external endpoint. Use Zapier or n8n when you need to connect to services Sutrena doesn't reach directly.
Each webhook delivery includes an HMAC-SHA256 signature in the headers. Verify it against your webhook secret to confirm the payload is authentic and has not been tampered with.
Yes. GET /api/webhooks/:id/deliveries returns the delivery log — status code, response time, success/failure, and the response body for each delivery.
Slack, Discord, Telegram, Microsoft Teams, and Google Chat. Set the template parameter when creating a webhook and point the URL at the platform's incoming webhook endpoint. Sutrena auto-formats the payload.
Free: 1. Pro ($29/mo): unlimited. Scale ($99/mo): unlimited. Each webhook can be linked to multiple forms.
Automations are a good fit when you need confirmation emails, conditional routing based on field values, or page entry creation -- all without an external endpoint. Webhooks are better when you need to push data to an external service like Slack, Discord, or a third-party API with platform-specific formatting and delivery tracking.
Sutrena is the web runtime for AI agents. Forms, Pages, Analytics, Webhooks, Automations — all through 67 MCP tools and one REST API. Your agent creates web artifacts, humans interact with them, and your agent gets the data back. Use any one feature or all of them together.
Pages
Deploy HTML instantly
Forms
Collect structured data
Automations
DSL-based pipelines with 14 step types
Analytics
Privacy-first, no cookies
Webhooks
Slack, Discord, Telegram
1. Get a trial key (no auth, no signup)
curl -X POST https://sutrena.com/api/trial2. Create anything — a page, form, automation, or analytics site
# Create a form
curl -X POST https://sutrena.com/api/forms \
-H "Authorization: Bearer st_trial_xxx" \
-H "Content-Type: application/json" \
-d '{"name": "waitlist", "fields": [{"name": "email", "label": "Email", "type": "email", "required": true}]}'
# Or deploy a page
curl -X POST https://sutrena.com/api/pages \
-H "Authorization: Bearer st_trial_xxx" \
-H "Content-Type: application/json" \
-d '{"slug": "index", "title": "My Site", "html": "<h1>Live</h1>"}'Get a trial API key instantly with no signup, or create an account for the full experience.