Yoga Instructor
A signup form, a live dashboard, and Slack pings -- built in one conversation with an AI agent.
You run a small studio with three daily classes. Right now students DM you on Instagram to reserve a spot, and you track everything in a Google Sheet you forget to update. Half the time you show up not knowing how many mats to lay out. You need a real signup form, a way to see who picked which class, and a notification when someone new signs up.
“I need a way for people to sign up for my yoga classes online”
Create a signup form with name, email, phone, preferred class time, and experience level
curl -X POST https://sutrena.com/api/forms \
-H "Authorization: Bearer st_live_k7xM9..." \
-H "Content-Type: application/json" \
-d '{
"name": "Yoga Class Signup",
"fields": [
{ "name": "name", "type": "text", "required": true },
{ "name": "email", "type": "email", "required": true },
{ "name": "phone", "type": "phone", "required": true },
{
"name": "class_time",
"type": "select",
"required": true,
"options": ["6 AM Flow", "9 AM Gentle", "5:30 PM Power"]
},
{
"name": "experience",
"type": "select",
"required": true,
"options": ["Beginner", "Intermediate", "Advanced"]
}
]
}'→ Form created with a hosted URL ready to share. Students can open it on their phone and sign up in 30 seconds.
Create a dashboard with total signups, class-time breakdown, and experience distribution
curl -X POST https://sutrena.com/api/dashboards \
-H "Authorization: Bearer st_live_k7xM9..." \
-H "Content-Type: application/json" \
-d '{
"name": "Yoga Signups Overview",
"formId": "frm_a1b2c3",
"version": 1,
"widgets": [
{
"type": "metric_card",
"title": "Total Signups",
"aggregate": "count"
},
{
"type": "pie_chart",
"title": "Signups by Class Time",
"groupBy": "class_time"
},
{
"type": "bar_chart",
"title": "Experience Level Distribution",
"groupBy": "experience"
}
]
}'→ A live dashboard you can check on your phone before each class. See exactly how many people signed up for 6 AM Flow vs 5:30 PM Power, and whether this week skews beginner or advanced.
Set up a Slack webhook so you get pinged on every new signup
curl -X POST https://sutrena.com/api/webhooks \
-H "Authorization: Bearer st_live_k7xM9..." \
-H "Content-Type: application/json" \
-d '{
"formId": "frm_a1b2c3",
"url": "https://hooks.slack.com/services/T00/B00/xxxx",
"events": ["form.submission"]
}'→ Every time someone signs up, a message hits your Slack channel with their name, class time, and experience level. No more checking the sheet.
You could build this with Google Forms and Zapier, but then you are stitching together three tools and paying for Zapier the moment you hit 100 signups. Sutrena gives you the form, the dashboard, and the webhook in one place, on the free tier. The whole setup takes one conversation with the AI agent -- no drag-and-drop builder, no Zap configuration, no spreadsheet formulas. An agent could set this up end-to-end — create the signup form, configure the dashboard with class breakdown charts, and set up Slack notifications — in a single conversation.
Set maxSubmissions on the form to cap signups per week or per session. Once the limit is hit, the form shows a closed message. You can reset it any time via the API or just create a new form for next week.
Yes. The class_time field is a select dropdown, so students pick which session they want. The pie chart on your dashboard breaks down signups by class time automatically. If you ever need separate forms per class, just create additional forms -- the free tier gives you 10 projects.
Absolutely. Add two lines of HTML to your site: a script tag for embed.js and a div with a data attribute. The form renders inside an iframe that matches your page. Works with Squarespace, WordPress, Wix, or any custom site.
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}'