Hi all,
Within a metric-based flow, I’d like to add a conditional subject line to an email.
However, I’m running into two problems...
First, I can’t write a subject line that exceeds 255 characters. Even though the subject would be resolved to way fewer characters, the character counter is including the template tags as characters.
![](https://uploads-us-west-2.insided.com/klaviyo-en/attachment/bf0223ca-d0f1-4fdc-ab65-0ea82db2fd32.png)
Second, is this even possible? Can I use conditional template tags like {% if event.field %} in a subject line?
Here is my conditional.
{% if event.flag1 and event.flag2 %}✅ You're good!{% elif event.flag1 and not event.flag2 %}❌ You're maybe not so good!{% elif not event.flag1 and event.flag2 %}❌ You're definitely not good.{% elif not event.flag1 and not event.flag2 %}❌ You're not good at all. Definitely.{% endif %}
Thank you!
Kevin.