Writing email content
What it does
Each notification has its own subject, preheader and message. You write them on the notification's page, in the Message section, and the Preview on the right shows the email as you type. Merge tags put the visitor's answers into the text.
To open the page, go to the form's settings, click Notifications, then click the notification's name.

Before you start
- The form has the notification you want to write. See Notify your team and Send a confirmation email to the customer.
- To use the visitor's answers in the text, read Insert answers with merge tags first.
Steps
-
Go to Content → WebForms → Manage Forms.
-
Click the form's name.
-
Click Notifications in the list of sections on the left.
-
Click the name of the notification. Its page opens.
-
Scroll to the Message section. From the top, it holds Restore Preset Content, Content Source, Subject, Preheader and the message editor. Check that Content Source is Standard Content.

-
In Subject, enter the subject line.
-
If you want an answer or the reference number in the subject, click {..} at the right of the box, then select the item.
-
If you want a short line next to the subject in the reader's mailbox, enter it in Preheader. If you don't, leave it empty.
-
Write the text in the editor below Preheader.
-
If you want headings, bold text or lists, use the toolbar above the text.
-
If you want an answer in the text, click {..} above the editor, then select the item.
-
Check the Preview on the right. It shows your unsaved text, filled with sample values.
-
Click Save. The form's Notifications section opens again with the message "Notification saved."
Start again from the preset text
Restore Preset Content replaces the subject, preheader and message with the ready text WebForms offers for this kind of notification. The text depends on the event and on who receives the email. A notification to your team gets a summary of the submission and the answers.
- In the Message section, click Restore Preset Content.
- Read the message "Replace the subject, preheader and message with the content of this notification's preset? Your edits in these fields are discarded; nothing is saved until you click Save."
- Click Replace Content. The new text appears in Subject, Preheader and the editor.
- Click Save.
To keep your old text instead, leave the page without clicking Save.
Advanced: write the email in Magento template code
Use Standard Content. Advanced Content is for Magento's own email template code, and it needs a developer. It changes how the email is built and sent:
- WebForms doesn't add the store name on top or a plain-text copy.
- The tags from the {..} menu are made for Standard Content. In Advanced Content, some of them print nothing. Ask your developer which tags the template uses, and check them in the Preview.
- The Preview needs a real submission. Enter a submission ID or reference number in Submission, or click Load Latest.
- Restore Preset Content isn't available. The page says "Preset content is available with Standard Content only."
- Content Source offers Advanced Content only to admins whose role includes Write Advanced Notification Content. Other admins don't see it.
If you upgraded from WebForms 3, an email that used a Magento email template of your own may open in Advanced Content. You can keep it as it is.
What you should see
Send the form on your store. With Standard Content, the email shows your store name on top, then your text, with each tag replaced by its value. A plain-text copy of the same text travels with it, for mailboxes that don't show HTML.
The subject reads as you wrote it, with the tags filled in. A tag whose answer is empty prints nothing.
Limits
- The text you save is used for submissions that come in after you save. An email that was already waiting to go out keeps the text it was prepared with.
- WebForms doesn't warn you about a misspelled field tag, such as
{{var field:topik}}. The notification saves, and the tag prints nothing. Use {..} instead of typing tags. - Advanced Content emails have no plain-text copy and no store name on top.
Troubleshooting
- A tag prints nothing. The visitor left that field empty, or the tag is misspelled. Some tags print only in emails to your team, never to the visitor. See Merge tags.
- The email looks different from the Preview. The Preview uses sample values. To see a real submission, enter its ID or reference number in Submission, or click Load Latest.
- You lost your text after Restore Preset Content. If you haven't clicked Save, leave the page without saving and open the notification again.
What's next
- Insert answers with merge tags: put the visitor's name, answers and the reference number into the email.
- Test and switch on an email: preview the email, send yourself a test and switch it on.
- Merge tags: look up what each tag prints.