Skip to main content
All CollectionsBuild AutomationsTorq Interact
Condition Elements in Interact: Create Dynamic Forms and Pages
Condition Elements in Interact: Create Dynamic Forms and Pages
Updated yesterday

Condition Elements in Interact

Under Control Elements, you can find the Condition element. The condition element allows you to create complex logic directly in your Interaction by dynamically presenting display and user input elements based on live responses.

The condition element utilizes And/Or logic with Equals/Not Equals and Filled conditions to flexibly build your interactions dynamically present questions and information based on answers to previously existing elements.

And/Or Logic: Utilize And to require all conditions to be met before presenting the follow-up questions, or use Or to allow any of the conditions to be met to present the follow-up.

  • Drag the condition element into an Interaction with at least one user input element.

  • Place the condition element below the existing user input element.

  • Set your condition based on an existing user input element. Within one condition section, you can set multiple And/Or conditions.

    • Condition elements cannot reference user inputs or elements created beneath themselves.

    • However, a secondary condition can be created beneath (not within) the first condition element and reference user-input elements from within the first condition.

  • After setting your condition, drag and drop either display or user input elements within it. If the condition is met, the elements contained within the condition will be shown to the end-user.

When should you use Conditions, and when should you use If/Switch?

The Condition Element should be used when the elements shown on the condition directly relate to the user-input elements in that same Interaction or when the Interaction Flow does not require multiple Interactions or Operators.


Interaction Flows built using multiple Interactions and If/Switch/ other Operators should be used when:

  1. The content is affected by other Interaction Flows or steps within the workflow.

  2. You wish to keep each Interaction as short as possible.

Condition Element: Example

In the following example, a form asking which location was affected by an outage is sent to a user.

  1. After creating an Interaction-triggered workflow, drag and drop a Single-Select element with the question and three options: US, EU, CA. This question will be presented to every user who receives the Interaction.

  2. Drag and drop a Condition element beneath the first single-select.

  3. Give the condition a unique and meaningful name.

  4. Select an element from the drop-down menu.

    1. As there is only one other element in our interaction currently, only the single-select will be available.

  5. Select the Equals option for the condition, and in the Value field, enter US.

  6. Now drag a Boolean element underneath the Related elements line. This will ensure the Boolean is only shown to those who selected the US.

  7. It is important to note that any elements added outside of a condition element will be shown to all end users, regardless of meeting any created conditions.

  8. After setting multiple elements under the Related elements line, this is what the form will look like for the end user:

Did this answer your question?