# Notification Templates

Write the email your team receives for each submission, in your own words.
Templates live in the Formerie app, never in a browser request.

## Where They Apply

- **Form template:** used by one form. Open the form, then **Templates**.
- **Workspace template:** shared by the forms in a workspace. Open **Templates** in
  the main menu.

## Draft, Preview, Publish

Edit a draft, check the preview with sample values, then publish. The published
version stays in use until you publish a new one.

## Variables

Insert form details and submitted values with variables:

| Variable | Gives you |
| --- | --- |
| `{{form.label}}` | The form's name |
| `{{submission.summaryText}}` | A plain-text summary of the answers |
| `{{submission.defaultHtml}}` | The standard HTML summary |
| `{{fields.email}}` | The value of one field |

For example, a subject line with the form's name and a tidied-up name, using the `title` filter:

```txt
{{form.label}}: {{fields.name | title}}
```

HTML is cleaned on save and before sending, so scripts can't reach an inbox.

## Not Available Yet

- Confirmation emails to the person who submitted. Formerie doesn't send them yet.
- Ready-made form templates. New forms start from a blank draft.
