Adapt the message according to contact's gender

Create gender-based personalization and personalize with the contact's first name

{% if contact.custom_fields["gender"] == "female" %}
	Dear {{ contact.firstname }}, take advantage of our exclusive offers just for you!
{% elsif contact.custom_fields["gender"] == "male" %}
	Dear {{ contact.firstname }}, here are some promotions that might interest you!
{% else %}
	Hello {{ contact.firstname }}, discover our latest news!
{% endif %}

Reformat all these first names to uppercase format

{% if contact.custom_fields["gender"] == "female" %}
	Dear {{ contact.firstname | upcase }}, take advantage of our exclusive offers just for you!
{% elsif contact.custom_fields["gender"] == "male" %}
	Dear {{ contact.firstname | upcase }}, here are some promotions that might interest you!
{% else %}
	Hello {{ contact.firstname | upcase }}, discover our latest news!
{% endif %}