Use variables in Email Body
Tabs
Dynamic variables in Email Body elevate form notifications. They add dynamic elements like form text, links, and attachment options for PDF or CSV data. With variables, you can customize notifications based on form responses.
In Advanced mode, add variables in {{ }} format, such as {{attach_pdf_file}}.
Form information
| Variables | Description |
|---|---|
form_name |
The name you set for your online form.
|
form_id |
A unique set of numbers and letters that identifies the form.
|
Form submission info and data
| Variables | Description |
|---|---|
submission_id |
A code generated when someone submits a response to your form.
|
data.fidXX |
To include specific submission data, like “Full Name” with a field ID of “3”, simply add {{data.fid3}} to your email body.
|
Shared links
Shared links are accessible to anyone online without requiring a sign-in. If your content must remain confidential, use shared link variables cautiously.
| Variables | Description |
|---|---|
shared_editor_link |
This link lets both you and respondents open and edit a submitted form. Respondents can use it to make changes and resubmit, and you’ll receive an updated PDF automatically. |
shared_attachment_link |
Use this link to download file attachments uploaded from the File Upload field. |
shared_pdf_link |
For the PDF link of the submitted data, include this custom field in your email body.
|
Attachments and fields
- Notification emails can contain created PDF files, but not files uploaded through forms.
- FormCan can send emails with a maximum size of 10MB.
- If a user uploads a file that exceeds this size limit, email sending may fail.
| Variables | Description |
|---|---|
attach_pdf_file |
Include this variable to attach a PDF file with all the collected data to your email notification. |
attach_csv_data |
Add this variable to attach the CSV data file, containing all the submitted data from a specific form, to your email notifications.
|
Customize file links
By default, shared_attachment_link includes all uploaded files. However, you can also be specific about which files you want to share in the email.
shared_attachment_link: If your form has multiple fields for file uploads, you can add the field ID to the link to only include files uploaded through that specific field. For example,shared_attachment_link.fid4gives you the link(s) to file(s) uploaded via field #4.
Tracking and revisions
| Variables | Description |
|---|---|
tracking_code |
A numeric identifier for searching respondents’ submission details on the Submission page.
|
revision |
This variable indicates the revision number, starting at 1 and increasing with each edit. It helps you track the number of times the online form has been revised. |
revision logic block |
To access the submission number after it has been re-edited with a revision greater than 1, use this variable.
|
If you only want to show revision when a submission has been re-edited and the revision number is greater than 1, you can use this logic: {% if %}...{% endif %}.
Here’s how:
{%if revision > 1 %} Revision {{revision}} {% endif %}
Certificate and Checksum
| Variables | Description |
|---|---|
attach_sign_cert_pdf |
This variable attaches the Signature Certificate PDF to your email notification. The certificate prints its own verification link, so the recipient can check the signed document online. To receive a certificate, enable it in the Invitation settings.
|
sign_cert_checksum |
When using signature certificate feature, it includes the SHA256 checksum of the generated signature certificate PDF. This checksum helps confirm the authenticity of both the certificate and the document. |
checksum logic block |
If you use signature certificate and want to include the logical operation of the Signature Certificate in your email notification, you can use this custom field.
|