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, Zapier, Make, n8n, or your own backend. 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.
No retry logic on failed deliveries right now. No transformation beyond field mapping. If you need complex event routing or conditional delivery, use Zapier or n8n as the webhook target and handle the logic there.
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.
Yes. Create a webhook with your Slack incoming webhook URL. Every form submission gets posted to your Slack channel. Use field mapping to customize the payload shape.
Free: 1. Builder ($9/mo): 5. Pro ($29/mo): 10. Scale ($79/mo): unlimited. Each webhook can be linked to multiple forms.
Sutrena is the web runtime for AI agents. Three primitives — pages, forms, and dashboards — accessible through one API. Your agent creates web artifacts, humans interact with them, and your agent gets the data back. Framework-agnostic. Works from any MCP client or HTTP client.
1. Get a trial key (no auth, no signup)
curl -X POST https://sutrena.com/api/trial2. Create a form + dashboard from a template
curl -X POST https://sutrena.com/api/forms \
-H "Authorization: Bearer st_trial_xxx" \
-H "Content-Type: application/json" \
-d '{"templateId": "waitlist", "createDashboard": true}'Get a trial API key instantly with no signup, or create an account for the full experience.