With the Feedbackly email tool you can add dynamic metadata value to the email body. Here is an example of how the dynamic values can be used:
You can add brackets in the email body: {{ }} so that the tool understands that there is a variable in there and checks the contact list if such a field exists. It then replaces it with the result for each contact. In this example we will use first name {{ firstName }} as the metadata variable we would like to use.
Here is an example contact list that we will use in this case:
email || firstName
ida@g.co || ida
michaela@g.co || michaela
kristian@g.co || (empty)Please note that the contact lists need to have exactly the same format headers in the uploaded contact lists as the variables added to the email body.
In the email body we have written "Hi {{ firstName }}...", because we wan't to have the first name added as metadata to the email sent.
So in this case the recipients listed above will receive the following:
ida@g.co : "Hi Ida..."
michaela@g.co : "Hi Michaela..."
kristian@g.co : "Hi..." (The name is missing because the first name value was empty in the contact list above).
Another option is to add {{ firstName | there }} to the email body. By doing this the email tool will add "there" when a contact is missing the value for firstName field. So, in this example we have added: "Hello {{ firstName | there }}..." to the email body.
We are still using the same contact list:
email || firstName
ida@g.co || ida
michaela@g.co || michaela
kristian@g.co || (empty)
The recipients listed above will receive the following emails:
ida@g.co : "Hello Ida..."
michaela@g.co : "Hello Michaela..."
kristian@g.co : "Hello there..." (the name was replaced with there, as the value for the firstName field was empty).
Note that you can add whatever dynamic metadata values that comes to mind to your email templates by using the same logic described above.
Read more about contact lists in this article.