I’m trying to build a flow for a loyalty program that will use if statements to show certain content in the emails. I’ve gotten if statements to work before but I’m having trouble with one I’m trying to include that will show different content based on the month the email is sending out. I assumed it would be possible to use a date tag in an if statement but I haven’t been able to get the messaging to show. Below is the if statement I’ve written:
{% if current_month_name = January %}
{% elif current_month_name = February %}
{% elif current_month_name = March %}
{% elif current_month_name = April %}
{% elif current_month_name = May %}
{% elif current_month_name = June %}
{% elif current_month_name = July %}
{% elif current_month_name = August %}
{% elif current_month_name = September %}
{% elif current_month_name = October %}
{% elif current_month_name = November %}
{% elif current_month_name = December %}
{% endif %}
Is there something else I should be using to pull in the month within the statement?