Form notifications
Email your team every new lead: create notifications per form, language and branch, and write the subject and message with lead variables.
Create a notification
- In the left menu, open Notifications and click New notification.
- Fill in:
- Select a Form: one form, or Any Form for all of them.
- Select a Trigger: On Submission.
- Language: the languages it covers. A lead in a language you didn't select doesn't send this email.
- Branches (when you use branches): leave empty for all branches, or pick the ones this email is for.
- Subject and Message: the email, with the variables below.
- To Whom: the email addresses, separated by commas.
- Save. From now on every lead sent through that form is emailed to those addresses.
New notifications start with a ready subject and message that list every answer, so you can save them as they are.
To reuse a notification for another form or team, click the duplicate icon next to it in the list and change what's different.
What the email contains
Your Message, followed by a View Lead button that opens the lead in Amerta AI (your team signs in to see it).
Notifications are sent for leads that come in through a form. Leads your team adds by hand with Add Lead don't send them.
Variables
Write a variable in the subject or message and it's replaced by the lead's details.
| Variable | Shows | Example |
|---|---|---|
{{form.name}} |
The form's name | Botox enquiry |
{{language.label}} |
The language the form was sent in | English |
{{language.code}} |
The language code | en |
{{date_created}} |
When it was sent | its date and time |
{{data.tag_name}} |
The answer of the field tagged Name | Sara Ahmed |
{{data.tag_phone}} |
The answer of the field tagged Phone | +971501234567 |
{{data.tag_email}} |
The answer of the field tagged Email | sara@example.com |
{{data.field_14}} |
The answer to field 14 (see Field numbers) | Botox |
{{entry.campaigndata.utm_source}} |
The ad source (also utm_medium, utm_campaign, utm_term, utm_content) |
|
{{url}} |
The link to the lead in Amerta AI |
Two variables are tables, for the message only:
| Variable | Shows |
|---|---|
{{entry_table}} |
Every answer, with its label |
{{campaign_table}} |
The ad source: UTM source, medium, campaign, term and content, and the Google and Meta click IDs |
Every tag has its variable: {{data.tag_first_name}}, {{data.tag_last_name}}, {{data.tag_message}}, {{data.tag_service}}, {{data.tag_branch}} and so on. Tags work the same in every language, so they're the safest choice when a notification covers several languages; field numbers can differ between languages.
Examples
A subject your team can scan in the inbox:
New {{form.name}}: {{data.tag_name}} ({{language.label}})
A short message with the essentials first:
<p style="font-size:18px"><b>{{data.tag_name}}</b> ยท {{data.tag_phone}}</p>
<p>Sent {{date_created}} from {{entry.campaigndata.utm_source}}</p>
<hr/>
{{entry_table}}
{{campaign_table}}
The message is HTML: use <p>, <b> and <hr/> for layout. An answer the visitor left empty prints nothing.
Who gets which email
A lead sends every notification that matches it:
- the notification's form is the lead's form, or Any Form,
- the notification's languages include the lead's language,
- with branches: the notification has no branches, or includes the lead's branch.
So you can send each branch its own leads, or Arabic leads to your Arabic team, by making one notification each.
Test it
Open the form with View in the form editor, send a test enquiry and check the email arrives with the right subject and details. Delete the test lead afterwards from Leads.
If it doesn't arrive, check the notification's form and languages include the form you sent, and look in the spam folder.