Form submitted. Google Chat message. Markdown-formatted in your space.
Updated March 2026
There's a built-in Google Chat template that formats submissions as markdown text messages. You create a webhook in a Google Chat space, copy the URL, and set template: "google-chat". Each submission shows up as a formatted message with bold field labels.
1. Create a webhook in Google Chat
Open the Google Chat space where you want notifications. Click the space name > Apps & integrations > Manage webhooks > Add a webhook. Give it a name, copy the URL.
2. Get a Sutrena API key
Grab a trial key or use one you already have.
curl -X POST https://sutrena.com/api/trial3. Create a form
Make a form to collect submissions.
curl -X POST https://sutrena.com/api/forms \
-H "Authorization: Bearer st_trial_xxx" \
-H "Content-Type: application/json" \
-d '{
"name": "Feedback",
"fields": [
{ "name": "name", "label": "Name", "type": "text", "required": true },
{ "name": "rating", "label": "Rating", "type": "number", "min": 1, "max": 5 },
{ "name": "comments", "label": "Comments", "type": "textarea" }
]
}'4. Create a webhook with the Google Chat template
Set template: "google-chat" and paste your Google Chat webhook URL.
# Create the webhook
curl -X POST https://sutrena.com/api/webhooks \
-H "Authorization: Bearer st_trial_xxx" \
-H "Content-Type: application/json" \
-d '{
"url": "https://chat.googleapis.com/v1/spaces/SPACE_ID/messages?key=KEY&token=TOKEN",
"template": "google-chat",
"description": "Feedback to Google Chat"
}'
# Link to form
curl -X PATCH https://sutrena.com/api/forms/frm_xxx \
-H "Authorization: Bearer st_trial_xxx" \
-H "Content-Type: application/json" \
-d '{ "webhookIds": ["wh_xxx"] }'5. Test it
Submit the form, check your Google Chat space. You should see a message with bold field labels and values.
curl -X POST https://sutrena.com/api/webhooks/wh_xxx/test \
-H "Authorization: Bearer st_trial_xxx"Every submission triggers a POST to your webhook URL with this payload:
{
"id": "del_xxx",
"event": "form.submission",
"timestamp": "2026-01-15T10:30:00Z",
"data": {
"formId": "frm_xxx",
"submissionId": "sub_xxx",
"payload": {
"name": "Jane",
"email": "[email protected]"
}
}
}A text message with the form name in bold at the top, followed by each field as *label*: value on its own line. Google Chat renders the asterisks as bold.
Yes. Google Chat webhooks are a Google Workspace feature. You need a Workspace account to create webhooks in spaces.
The built-in template sends a simple text message with markdown. If you need Card V2 formatting, use the default template and handle the transformation in a middleware service.
Google Chat allows about 1 message per second per webhook. Sutrena handles delivery timing. You probably won't hit this unless you're getting many submissions at once.
Sutrena is the web runtime for AI agents. Forms, Pages, Dashboards, Analytics, Webhooks, Automations, Emails — all through 75 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
Dashboards
Visualize with 7 widget 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, dashboard, or analytics site
# Create a form with a dashboard
curl -X POST https://sutrena.com/api/forms \
-H "Authorization: Bearer st_trial_xxx" \
-H "Content-Type: application/json" \
-d '{"workflowId": "waitlist", "createDashboard": 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.