Inside an OpenAI module how to test a variable content using if then else

What are you trying to achieve?

I am trying to validate a variable value without success, I guess the error is syntax and I did not find on help how to use [IF THEN ELSE]
this is the prompt code I am using "IF Condition == " 142 has the output I set using TOOLS → CASE***

the problem I believe is the syntax of the whole logical command

{% if {{142.output}} == “Repetida” %}
[DEBUG2: Used]
{% else %}
[DEBUG: New]
{% endif %}

Steps taken so far

I have tried using SET VARIABLE and testing SearchRows results 1 or 0 to set a value, but also I did not find the correct SYNTAX