Using variables and twig expressions
In some of the widgets you can insert variables to create the templates you need. In the emails that are sent to your customer, the variables will then be replaced with the correct content.
Besides the variables, the tables in the Available variables chapter contain also the corresponding twig expressions. You need twig expressions both for the subject line of your email template and for the code widget because it is not possible to use variables in there. And in expert mode, it is of course also possible to use twig expressions.
1. Twig expressions for the code widget and the subject line
Besides the variables, you can find also the twig expressions in the Available variables chapter. Twig expressions can be used in the code widget and in a template’s subject line.
1.1. Twig expression in the subject line
Variables cannot be inserted in the template’s subject. It has to be the twig expression belonging to the variable.
If you want to use a twig expression in the template’s subject line, this expression has to be surrounded by double curly brackets.
Example: If you want to display the shipping service provider in your template’s subject, insert the corresponding twig expression in the template’s subject line as follows: {{order.formattedShipping.providerName}}
.
Click on integration_instructions (Show variables) at the end of the subject line to open the variable list. You can either search for the desired variable using the categories and sub-categories or you enter the variable’s name into the search field. When you click on the desired variable, the corresponding twig expression including the double curly brackets will be inserted in the subject line.
For further code examples for the subject, refer to the Code examples user manual page.
1.2. Twig expression in the code widget
If you use if queries or for loops in your code widget, for example, there is no need to insert double curly brackets in the if query itself, but in the body text. For further information about twig, refer to the Twig documentation.
Insert appropriate twig expression via variable list
If you have inserted the code widget into your template and open it by clicking on , the twig expression will be directly inserted in the code editor once you click on one of the variables from the list. |
Refer to the Code examples for the code widget chapter on the Code examples page to find some if queries and for loops that you can simply copy to your code widget.
2. Available variables
The available variables for the EmailBuilder are grouped into the following categories and sub-categories: Click on an entry in the list to be directly forwarded to the section where the variables and the corresponding twig expressions for the respective category or sub-category are listed.
2.1. Variables: Order
In this category, you can find all order-relevant sub-categories.
Click on one of the following links to be forwarded directly to the corresponding sub-chapter:
2.1.1. Order / Subscription
Name of the variable | Explanation | Twig expression |
---|---|---|
|
Number of orders that were created based on a subscription. |
|
|
ID of the subscription. The ID is automatically assigned by the system and cannot be changed. |
|
|
Interval of the subscription as determined in the Setup » Orders » Subscription menu. The interval determines the regularly recurrent times at which the items are sent to the customers. |
|
|
Date when the subscription ends. |
|
|
|
|
|
Date when the subscription starts. |
|
2.1.2. Order / General
Name of the variable | Explanation | Twig expression |
---|---|---|
|
|
|
|
Returns the owner saved in the order. |
|
|
Name of the order status as it is saved in the Setup » Orders » Order status menu. |
|
|
Returns the tags that are assigned to the order. |
|
|
Name of the order type, e.g. |
|
|
ID of the order type, e.g. |
|
|
|
|
|
ID of the direct preceding order |
|
|
|
|
|
Value of the coupon. |
|
|
ID of the highest preceding order. Usually, this is a normal order. |
|
|
Name of the order referrer as it is saved in the Setup » Orders » Referrers menu. |
|
|
ID of the order referrer as it is saved in the Setup » Orders » Referrers menu. |
|
|
Indicates whether the order is a guest order. |
|
|
|
|
|
During the checkout via the online shop, the contact can enter a wish regarding the items they ordered. This wish is saved as order note in the order data. |
|
|
Returns the flag that was selected in the order. |
|
|
The ID is automatically assigned by the system and cannot be changed. You can find the ID in the Setup » Client » [Select client] » Settings menu. |
|
|
|
|
|
ID of the order status as it is saved in the Setup » Orders » Order status menu. |
|
|
|
|
|
This is the hash to uniquely identify the order. |
|
2.1.3. Order / Order date
Name of the variable | Explanation | Twig expression |
---|---|---|
|
Date of the incoming order as saved in the order. |
|
|
Date and time of the incoming order as saved in the order. |
|
|
Date and time of the outgoing items as saved in the order. |
|
|
|
|
|
Date and time of the outgoing items as saved in the order. |
|
|
Date and time of the incoming payment as saved in the order. |
|
2.1.4. Order / Order notes
Name of the variable | Explanation | Twig expression |
---|---|---|
|
Returns the newest note of the order. |
|
|
Returns all order notes of the order. Individual order notes are separated by a dividing line. |
|
2.1.5. Order / Order items (item list widget only)
Click on one of the following links to be forwarded directly to the corresponding sub-chapter:
2.1.5.1. Order / Order items (item list widget only) / General
Name of the variable | Explanation | Twig expression |
---|---|---|
|
ID of the item. A consecutive ID is automatically assigned by the system and cannot be changed. |
|
|
|
|
|
|
|
|
Name of the item. |
|
|
|
|
|
Returns the item types as saved in the item (Item » Edit item menu) in the Global tab. |
|
|
Attribute names as they are saved in the Setup » Item » Attributes menu. |
|
|
Attribute values as they are saved in the Setup » Item » Attributes menu. |
|
|
|
|
|
|
|
|
|
|
|
Gross price of the item. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name of the manufacturer. |
|
|
|
|
|
ID of the warehouse as it is saved in the Setup » Stock » Warehouse menu. |
|
|
Name of the warehouse as it is saved in the Setup » Stock » Warehouse menu. |
|
|
|
|
|
Model name of the item |
|
|
Net price of the item. |
|
|
|
|
|
Name of the return reason as it is saved in the Setup » Orders » Order types » Returns menu. |
|
|
ID of the return reason as it is saved in the Setup » Orders » Order types » Returns menu. |
|
|
|
|
|
Returns all serial numbers separated by comma when these are assigned to the item. |
|
|
Name of the status of the returned item. |
|
|
ID of the status of the returned item. |
|
|
Returns the URL to the item in the online shop. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2.1.5.2. Order / Order items (item list widget only) / Barcodes
Name of the variable | Explanation | Twig expression |
---|---|---|
|
Amazon Standard Ident Number (ASIN) of the item |
|
|
Global Trade Item Number (GTIN) of the item |
|
|
Returns the barcode based on the GTIN code of the item. The barcode is returned as an image. GTIN = Global Trade Item Number. |
|
|
ISBN code of the item |
|
2.1.5.3. Order / Order items (item list widget only) / Images
Name of the variable | Explanation | Twig expression |
---|---|---|
|
Returns the URL to the variation image in second preview size. |
|
|
Returns the URL to the variation image in medium size. |
|
|
Returns the URL to the variation image in full size. |
|
|
Returns the URL to the variation image in preview size. |
|
2.1.5.4. Order / Order items (item list widget only) / Item Properties
In this EmailBuilder section, all variables for which you have created properties of the Item section in the Setup » Settings » Properties menu are displayed in this section.
For further information, refer to the Properties page.
2.1.5.5. Order / Order items (item list widget only) / Order Item Properties
In this EmailBuilder section, all variables for which you have created order item properties are displayed. You can find the value and name of the order item property as separate variables.
For further information, refer to the Working with orders page.
2.1.5.6. Order / Order items (item list widget only) / Free text fields
Name of the variable | Explanation | Twig expression |
---|---|---|
|
Free text fields for the items as they are saved in the Setup » Item » Free text fields menu. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2.1.5.7. Order / Order items (item list widget only) / Suppliers
Name of the variable | Explanation | Twig expression |
---|---|---|
|
|
|
|
|
|
|
|
|
|
Returns the name of the company that is linked with the supplier. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns the first and last name of the contact that is linked with the supplier. |
|
2.1.5.8. Order / Order items (item list widget only) / Availabilities
Important: Usage of variables regarding stock availability
Note the following explanation about the usage of variables regarding stock availability: The variable must not be used if the stock falls below a value that leads to a change in the delivery time. The variable takes into account the value after the order was placed and not at the moment the order is triggered in the shopping cart. This statement applies to the following variables:
|
Name of the variable | Explanation | Twig expression |
---|---|---|
|
ID of the item availability of the net stock as it is saved in the Setup » Item » Availability menu. A consecutive ID is automatically assigned by the system and cannot be changed. |
|
|
ID of the item availability of the physical stock |
|
|
Name of the item availability of the net stock |
|
|
Name of the item availability of the physical stock |
|
2.1.6. Order / Bank details of the order
Name of the variable | Explanation | Twig expression |
---|---|---|
|
Bank code as saved in the Bank details section of the order. |
|
|
Name of the bank as saved in the Bank details section of the order. |
|
|
BIC as saved in the Bank details section of the order. |
|
|
IBAN of the bank as saved in the Bank details section of the order. |
|
|
Name of the account holder as saved in the Bank details section of the order. |
|
|
Account number as saved in the Bank details section of the order. |
|
|
Country of the bank as saved in the Bank details section of the order. |
|
|
Postcode and town of the bank as saved in the Bank details section of the order. |
|
|
SEPA type as saved in the Bank details section of the order. |
|
|
SEPA payment frequency as saved in the Bank details section of the order. |
|
|
SEPA direct debit mandate as saved in the Bank details section of the order. |
|
|
Date when the SEPA direct debit mandate was granted. Is saved in the Bank details section of the order. |
|
|
SEPA type as saved in the Bank details section of the order. |
|
|
Street of the bank as saved in the Bank details section of the order. |
|
2.1.7. Order / Order properties
In this section of the EmailBuilder, all variables of all order-related properties are shown.
2.1.8. Order / Item Properties
In this section of the EmailBuilder, all variables of all order-related item properties are shown.
2.1.9. Order / Delivery address
Click on one of the following links to be forwarded directly to the corresponding sub-chapter:
2.1.9.1. Order / Delivery address / Delivery address data
Name of the variable | Twig expression |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2.1.9.2. Order / Delivery address / Delivery address options
Name of the variable | Explanation | Twig expression |
---|---|---|
|
Age rating from the delivery address as saved in the order. |
|
|
Email address from the delivery address as saved in the order. |
|
|
External address ID from the delivery address as saved in the order. |
|
|
External customer ID from the delivery address as saved in the order. |
|
|
Birthday from the delivery address as saved in the order. |
|
|
Entry certificate from the delivery address as saved in the order. |
|
|
Contact person from the delivery address as saved in the order. |
|
|
Personal number from the delivery address as saved in the order. |
|
|
Phone number from the delivery address as saved in the order. |
|
|
Title from the delivery address as saved in the order. |
|
|
VAT number from the delivery address as saved in the order. |
|
2.1.10. Order / Suppliers
Name of the variable | Explanation | Twig expression |
---|---|---|
|
|
|
|
|
|
|
ID of the reorder. |
|
2.1.11. Order / Invoice address
Click on one of the following links to be forwarded directly to the corresponding sub-chapter:
2.1.11.1. Order / Invoice address / Invoice address data
Name of the variable | Twig expression |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2.1.11.2. Order / Invoice address / Invoice address options
Name of the variable | Explanation | Twig expression |
---|---|---|
|
Age rating from the invoice address as saved in the order. |
|
|
Email address from the invoice address as saved in the order. |
|
|
External address ID from the invoice address as saved in the order. |
|
|
External customer ID from the invoice address as saved in the order. |
|
|
Birthday from the invoice address as saved in the order. |
|
|
Entry certificate from the invoice address as saved in the order. |
|
|
Contact person from the invoice address as saved in the order. |
|
|
Personal number from the invoice address as saved in the order. |
|
|
Post number from the invoice address as saved in the order. |
|
|
Phone number from the invoice address as saved in the order. |
|
|
Title from the invoice address as saved in the order. |
|
|
VAT number from the invoice address as saved in the order. |
|
2.1.12. Order / Invoice data
Name of the variable | Explanation | Twig expression |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns the Giro code in the order currency. Your customers can then scan the Giro code directly with their banking app and pay the bill. |
|
|
Returns the Giro code in the system currency. Your customers can then scan the Giro code directly with their banking app and pay the bill. |
|
|
Returns the total value of items that were cancelled and not delivered as part of a reorder. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Currency code, e.g. EUR or USD. |
|
|
Currency symbol, e.g. € or $. |
|
|
|
2.1.13. Order / Shipping
Name of the variable | Explanation | Twig expression |
---|---|---|
|
Shows the number of packages contained in the order. |
|
|
Sends your customers a QR code for DHL Retoure Online. The QR code is shown as an image in the email of your customers. |
|
|
Sends your customers a QR code for DHL Retoure Online. The QR code is shown as an URL in the email of your customers. After clicking on the URL, the QR code appears in a separate window. |
|
|
Sends your customers a QR code for GLS ShipIT. The QR code is shown as an image in the email of your customers.
If your customers want to send back an item, they have to show the QR code on their smartphone to one of the employees in the GLS ParcelShop and they will print the return label and attach it to the parcel. Thus, your customers do no longer need a printer at home and you do no longer have to send the return label attached as PDF. |
|
|
Sends your customers a QR code for GLS ShipIT. The QR code is shown as an URL in the email of your customers. After clicking on the URL, the QR code appears in a separate window.
If your customers want to send back an item, they have to show the QR code on their smartphone to one of the employees in the GLS ParcelShop and they will print the return label and attach it to the parcel. Thus, your customers do no longer need a printer at home and you do no longer have to send the return label attached as PDF. |
|
|
Returns the ID of the delivery note. |
|
|
|
|
|
|
|
|
|
|
|
Package weight and unit as saved in the Orders » Shipping centre menu in the Shipping packages section. |
|
|
Package numbers/tracking numbers are saved at the order after the order was successfully registered with the shipping service provider. |
|
|
|
|
|
|
|
|
Returns the link to the website of the shipping service provider that is used to track the shipment. The tracking URL of the shipping service provider is saved in the Setup » Orders » Shipping » Settings menu in the Shipping service provider tab. |
|
|
Name of the shipping service provider as it is saved in the Setup » Orders » Shipping » Settings menu in the Shipping service provider tab. |
|
|
Is automatically saved by the system. You can find the ID of the shipping service provider in the Setup » Orders » Shipping » Settings menu in the Shipping service provider tab. |
|
|
|
|
|
|
|
|
Name of the shipping profile as it is saved in the Setup » Orders » Shipping » Settings menu in the Shipping profiles tab. |
|
|
Is automatically saved by the system. You can find the ID of the shipping profile in the Setup » Orders » Shipping » Settings menu in the Shipping profiles tab. |
|
|
|
|
|
|
2.1.14. Order / Payment
Name of the variable | Explanation | Twig expression |
---|---|---|
|
|
|
|
Returns the link to the PayPal payment page. |
|
|
Returns the image with an integrated link to the PayPal payment page. |
|
|
ID of the payment transaction. |
|
|
|
|
|
|
|
|
The ID is automatically assigned by the system. The IDs of the payment methods are listed in the Setup » Orders » Payment » Payment methods menu. |
|
|
|
2.2. Variables: Global
In this category, you can find all global sub-categories.
Click on one of the following links to be forwarded directly to the corresponding sub-chapter:
2.2.1. Global / General
Name of the variable | Explanation | Twig expression |
---|---|---|
|
Returns the sender of the email. |
|
|
Unique identification number that is required for customs-related procedures. |
|
|
Returns today’s date in the format |
|
|
Returns the ID of the client (shop). |
|
|
Shows the name of the client (shop). |
|
|
Returns the first and last name of the logged in user. |
|
|
Returns the signature of the currently logged in user in html-format. To save the signature, go to Setup » Account management » Accounts. |
|
|
Returns the signature of the currently logged in user. To save the signature, go to Setup » Account management » Accounts. |
|
|
To save the signature of the client, go to the section Signature in the Email accounts menu. You can find the section in the Setup » Client » Global » Email accounts menu. |
|
|
To save the signature of the client, go to the section Signature in the Email accounts menu. You can find the section in the Setup » Client » Global » Email accounts menu. |
|
2.2.2. Global / Bank details of the client
Name of the variable | Explanation | Twig expression |
---|---|---|
|
Bank name from the master data of your system. Is saved in the Setup » Settings » Bank menu. |
|
|
BIC from the master data of your system. Is saved in the Setup » Settings » Bank menu. |
|
|
IBAN from the master data of your system. Is saved in the Setup » Settings » Bank menu. |
|
|
Account holder from the master data of your system. Is saved in the Setup » Settings » Bank menu. |
|
2.2.3. Global / Coupons
Name of the variable | Explanation | Twig expression |
---|---|---|
|
Coupon codes are generated in the campaign in the Orders » Coupons menu. A coupon code can always be assigned to only one campaign to send this coupon code from the campaign in an email template. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2.2.4. Global / Links
Name of the variable | Explanation | Twig expression |
---|---|---|
|
Returns the URL for the terms and conditions. |
|
|
Returns the URL to the My Account page. |
|
|
Returns the URL to confirm the email address change of the contact. |
|
|
Returns the URL to a form that allows to create a new password. The contact enters their email address in this form. |
|
|
Returns the URL to the basket in the online shop. |
|
|
Returns the URL of the online shop. |
|
|
Returns the URL for the Change password section in the online shop. The contact can enter a new password. |
|
|
Returns the URL of the order confirmation in the online shop. |
|
2.2.5. Global / Legal texts
Your legal texts are not displayed correctly in sent emails?
If your legal texts that you inserted in the code widget as twig expressions are not displayed correctly in sent emails, solve this problem by adding `\| raw ` to the end of the twig expression. |
Name of the variable | Explanation | Twig expression |
---|---|---|
|
The text is saved in the Setup » plentyShop » [Select shop] » Legal menu. |
|
|
The text is saved in the Setup » plentyShop » [Select shop] » Legal menu. |
|
|
The text is saved in the Setup » plentyShop » [Select shop] » Legal menu. |
|
|
The text is saved in the Setup » plentyShop » [Select shop] » Legal menu. |
|
|
The text is saved in the Setup » plentyShop » [Select shop] » Legal menu. |
|
|
The text is saved in the Setup » plentyShop » [Select shop] » Legal menu. |
|
|
The text is saved in the Setup » plentyShop » [Select shop] » Legal menu. |
|
|
The text is saved in the Setup » plentyShop » [Select shop] » Legal menu. |
|
|
The text is saved in the Setup » plentyShop » [Select shop] » Legal menu. |
|
|
The text is saved in the Setup » plentyShop » [Select shop] » Legal menu. |
|
2.3. Variables: Contact
In this category, you can find all contact-relevant sub-categories.
Click on one of the following links to be forwarded directly to the corresponding sub-chapter:
2.3.1. Contact / General
Name of the variable | Explanation | Twig expression |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns the external number saved in the contact details. |
|
|
Name of the company. |
|
|
If gender is male, male is shown. |
|
|
Class that is assigned to the contact. Classes are created in the Setup » CRM » Classes menu. |
|
|
ID of the contact. A consecutive ID is automatically assigned by the system and cannot be changed. |
|
|
|
|
|
|
|
|
Date when the contact has confirmed the newsletter receipt. |
|
|
Additional number for the contact. |
|
|
First name and last name of the system user who is saved as owner in the contact data record. |
|
|
First name and last name of the system user who is saved as owner in the contact data record, in HTML format. |
|
|
Language as saved in the contact data record. If you created an email template in the selected language, the email templates are sent to the contact in this language. |
|
|
|
|
|
|
|
|
|
|
|
First name and last name of the system user who is saved as owner in the contact data record. |
|
2.3.2. Contact / Bank details of the contact
Name of the variable | Explanation | Twig expression |
---|---|---|
|
Bank name as saved in the contact data record. |
|
|
BIC as saved in the contact data record. |
|
|
IBAN as saved in the contact data record. |
|
|
Account owner as saved in the contact data record. |
|
2.3.3. Contact / Properties
In this EmailBuilder section, all variables for which you have created properties of the Contact section in the Setup » Settings » Properties menu are displayed in this section.
For further information, refer to the Properties page.
2.3.4. Contact / Contact options
Name of the variable | Twig expression |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2.3.5. Contact / Delivery address
Click on one of the following links to be forwarded directly to the corresponding sub-chapter:
2.3.5.1. Contact / Delivery address / Delivery address data
Name of the variable | Twig expression |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2.3.5.2. Contact / Delivery address / Delivery address options
Note: If it’s a reorder, some of the following variables for the address options in the delivery address are not shown in the email to your customers. This is because the addresses that are saved for a supplier are not taken into account because you can save suppliers without an address in your system. |
Name of the variable | Explanation | Twig expression |
---|---|---|
|
Age rating from the delivery address as saved in the Address > Address options section of the contact data record. |
|
|
Email address from the delivery address as saved in the Address / Address options section of the contact data record. |
|
|
External address ID from the delivery address as saved in the Address / Address options section of the contact data record. |
|
|
External customer ID from the delivery address as saved in the Address / Address options section of the contact data record. |
|
|
Birthday from the delivery address as saved in the Address / Address options section of the contact data record. |
|
|
Entry certificate from the delivery address as saved in the Address / Address options section of the contact data record. |
|
|
Contact person from the delivery address as saved in the Address / Address options section of the contact data record. |
|
|
Personal number from the delivery address as saved in the Address / Address options section of the contact data record. |
|
|
Post number from the delivery address as saved in the Address / Address options section of the contact data record. |
|
|
Phone number from the delivery address as saved in the Address / Address options section of the contact data record. |
|
|
Title from the delivery address as saved in the Address / Address options section of the contact data record. |
|
|
VAT number from the delivery address as saved in the Address / Address options section of the contact data record. |
|
2.3.6. Contact / Invoice address
Click on one of the following links to be forwarded directly to the corresponding sub-chapter:
2.3.6.1. Contact / Invoice address / Invoice address data
Name of the variable | Twig expression |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2.3.6.2. Contact / Invoice address / Invoice address options
Note: If it’s a reorder, some of the following variables for the address options in the delivery address are not shown in the email to your customers. This is because the addresses that are saved for a supplier are not taken into account because you can save suppliers without an address in your system. |
|
Age rating from the invoice address as saved in the Address / Address options section of the contact data record. |
|
|
Email address from the invoice address as saved in the Address / Address options section of the contact data record. |
|
|
External address ID from the invoice address as saved in the Address / Address options section of the contact data record. |
|
|
External customer ID from the invoice address as saved in the Address / Address options section of the contact data record. |
|
|
Birthday from the invoice address as saved in the Address / Address options section of the contact data record. |
|
|
Entry certificate from the invoice address as saved in the Address / Address options section of the contact data record. |
|
|
Contact person from the invoice address as saved in the Address / Address options section of the contact data record. |
|
|
Personal number from the invoice address as saved in the Address / Address options section of the contact data record. |
|
|
Post number from the invoice address as saved in the Address / Address options section of the contact data record. |
|
|
Phone number from the invoice address as saved in the Address / Address options section of the contact data record. |
|
|
Title from the invoice address as saved in the Address / Address options section of the contact data record. |
|
|
VAT number from the invoice address as saved in the Address / Address options section of the contact data record. |
|
2.4. Variables: Messenger
Automatic mapping
The emails that come into your system via the Messenger are assigned according to keywords or textual parameters that are automatically recognised by your system. |
Name of the variable | Explanation | Twig expression |
---|---|---|
|
Returns the text of the first whispered message within the conversation. |
|
|
Returns the text of the first message within the conversation. |
|
|
Returns the ID of the conversation. |
|
|
|
|
|
Returns the short ID of the conversation. |
|
|
Returns the text of the last whispered message within the conversation. |
|
|
Returns the text of the last message within the conversation. |
|
|
Returns the subject of the conversation. |
|
2.5. Variables: Newsletter
Name of the variable | Explanation | Twig expression |
---|---|---|
|
Last name of the person who wants to subscribe for the newsletter. |
|
|
First name of the person who wants to subscribe for the newsletter. |
|
|
Returns the URL to unsubscribe from the newsletter. |
|
|
Returns the URL to confirm the newsletter subscription. |
|
2.6. Variables: Text blocks
In the Text blocks section, you can find all text blocks as variables that you created in the CRM » EmailBuilder menu. You can later insert the text blocks in your Messenger messages.