Updated March 2026
Create a webhook pointing to your Slack incoming webhook URL. Every form submission triggers a POST to Slack.
Step 1: In Slack, create an incoming webhook (Settings → Integrations → Incoming Webhooks). You get a URL like https://hooks.slack.com/services/T.../B.../xxx.
Step 2: Create a Sutrena webhook with that URL linked to your form.
Step 3: Done. Every submission sends a JSON payload to Slack. Slack displays it as a message.
The payload includes all form fields, the submission timestamp, and the form name. Slack renders JSON as a code block by default. For nicer formatting, use a Slack workflow or a tiny serverless function that transforms the JSON into a Slack Block Kit message.
You can also use the field mapping feature to rename fields in the webhook payload. Map "email" to "user_email" if your Slack workflow expects different names.
Webhooks are signed with HMAC-SHA256. Slack does not verify this, but if you put a proxy in between, you can verify the signature there.
# Create a webhook that posts to Slack
curl -X POST https://sutrena.com/api/webhooks \
-H "Authorization: Bearer st_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"url": "https://hooks.slack.com/services/T.../B.../xxx",
"formIds": ["your_form_id"],
"description": "Slack notification for contact form"
}'