I’m creating a metric flow in Klaviyo and have an event variable, amount_dollars, that gets sent with each payload. Within an email that triggers off of the flow, I want to change one word depending on how large amount_dollars is; e.g. I want it to say “extremely” if amount_dollars is greater than 500. I tried writing the following into my email within the flow:
{{% if event.amount_dollars>500 %}}extremely {{% endif %}}
But when I do, I get an error message. How can I create an if statement based on metric event variables?