Every form in Domma CMS can trigger up to four things after a submission is stored:
These are configured per-form in the admin. Open any form in Forms and go to the Settings and Actions tabs.
Go to the Actions tab of your form and enable Send email on submit. Enter one or more comma-separated recipient addresses. This uses the SMTP settings configured in Site Settings → Email / SMTP.
Recipients: admin@example.com, team@example.com
Subject Prefix: [Contact Form]
Enable POST to webhook on submit and enter a URL. Domma will POST the following JSON body:
{
"form": "enquiries",
"data": {
"full_name": "Jane Smith",
"email": "jane@example.com",
"message": "Hello!"
}
}
Use this to integrate with Zapier, Make, Slack, or any HTTP endpoint.
Actions are reusable workflow steps defined in Actions. A single action can chain multiple steps: update a field, move an entry to another collection, send an email, call a webhook, or delete an entry.
To wire an Action to a form:
The Action runs server-side, after the entry is saved. If it fails (e.g. MongoDB is not configured), the submission is still stored - the action failure is non-fatal and logged as a warning.
After a successful submission the visitor sees one of two things:
Example: set Success Redirect URL to /thank-you and create a
thank-you.md page in the CMS with any content you like.
On every submission, the pipeline runs in this fixed order:
Steps 3-5 are non-fatal: a failure in any of them is logged as a warning but does not prevent the submission from being stored or the success response from being returned.