Skip to main content

How to Create Expressions for Conditional Integration Execution

Learn how to build expressions that control when an integration should run, using form answers, variables, and logical conditions to trigger actions only when criteria are met.

This document helps you understand and apply dynamic formulas to control the execution of integrations in our system. The formulas make it possible to define logical conditions based on input data, which determine whether an integration will run or not.

Expression Patterns

Expressions are written using placeholders for data and logical or comparison operators to form conditions. Below are the components you can use:

Placeholders

Represented by @, they identify specific data. Examples include @campo1, @hiddenfiled, @utm_source, and @variable_name. In this case, you only need to type @ and the list of fields, hidden fields, UTM parameters, and variables will appear, as shown in the image below:

Boolean Values

TRUE: Represents a true value.
FALSE: Represents a false value.

Logical Operators

AND: Conjunction (and).
OR: Disjunction (or).
NOT: Negation.

Comparison Operators

EQUALS: Equality.
CONTAINS: Contains text.
>: Greater than.
<: Less than.
>=: Greater than or equal to.
<=: Less than or equal to.
ISNOTEMPTY(@Suapergunta): Is not empty.
ISEMPTY(@Suapergunta): Is empty.

Parentheses

Used to change the default precedence of operations, ensuring that specific expressions are evaluated first.

Expression Examples


Explanatory Video

Here is an example of how to send a custom conversion to Meta:

Como enviar uma conversรฃo personalizada para a Meta

Conclusion

Use this guide as a reference when defining conditions for executing your integrations. Understanding and correctly using operators, especially parentheses, is essential for creating effective and secure control logic.