A form. Slack notifications. Every order tracked. That's it.
You run a restaurant. Customers need a way to place orders online — pick items, add notes, leave a phone number. You don't want to build anything or learn a form builder. Your AI agent calls the Sutrena API and creates the form. You share the link.
How an agent handles this: Your agent creates an order form via API (menu items, quantity, special instructions, contact info). Shares form URL on website/social. Customers submit orders. Webhook sends order details to Slack channel for kitchen. An automation can send order confirmation emails to customers and post to Slack via a fetch step — no external glue needed. Agent processes orders (confirms via SMS, updates order tracking, calculates revenue). Submissions API shows order volume. CSV export for weekly analysis.
Your agent makes two requests. You get a hosted form and Slack notifications.
1. Create the order form
curl -X POST https://sutrena.com/api/forms \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Online Orders",
"fields": [
{"name": "name", "label": "Your Name", "type": "text", "required": true},
{"name": "phone", "label": "Phone Number", "type": "tel", "required": true},
{"name": "items", "label": "What would you like to order?", "type": "textarea", "required": true},
{"name": "pickup_time", "label": "Preferred Pickup Time", "type": "text"},
{"name": "notes", "label": "Special Instructions", "type": "textarea"}
],
"successMessage": "Order received! We will confirm shortly."
}'2. Add Slack notifications
curl -X POST https://sutrena.com/api/webhooks \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"formId": "FORM_ID",
"url": "https://hooks.slack.com/services/YOUR/SLACK/WEBHOOK",
"template": "slack"
}'That's it. Share the form URL. Orders show up in Slack. Query them via API or export to CSV anytime.
Every order is a structured submission. Query them via the submissions API — filter by date, search by name, count today's volume. Export to CSV when you need a report.
# Get today's order count
curl https://sutrena.com/api/forms/FORM_ID/submissions?count=true \
-H "Authorization: Bearer YOUR_KEY"
# Export all orders as CSV
curl https://sutrena.com/api/forms/FORM_ID/submissions/export \
-H "Authorization: Bearer YOUR_KEY"Slack gets every order in real time. The API has the full history. CSV export gives you a spreadsheet whenever you need one.
$29/month
Unlimited orders. 100 projects. Webhooks. CSV export.
$99/month
10,000 responses. No webhooks. No agent support.
$40/month
unlimited submissions. No automations. No agent support.
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 key. Tell your agent to make an order form. You will have orders coming in within a few minutes.