Hey,
I was wondering if I could set a variable to use later on from the person profile in an email, I was thinking something like thing
{% points=person|lookup:"Influence.io Point Balance" %}
{% if points %}{{ points }} points{% else %}<a>Join Now</a>{% endif %}
Best answer by annasophiefc
Hi @chrisB
Thank you for posting in the Community
You can use this syntax in a text block to differentiate your messaging if someone has points available in their profile.
{% if person|lookup:'Points' >= 0 %}
Join Now
{% else %} {{ points }} points
{% endif %}
I hope this helps!
View original