WhatsApp Flows support conditional logic — showing or hiding questions based on what the user answered previously. You can also create calculated fields that automatically compute a total, a score, or a recommendation based on the user's inputs. This turns a simple form into a smart, personalised experience.
Conditional logic: show or hide fields
Conditional logic lets you show a question only when a previous answer meets a condition.
1
In the Flow Builder, open the screen where you want to add a conditional field.
2
Add the field you want to conditionally show (e.g., 'Which specific product are you interested in?').
3
Click Visibility Settings or Condition on that field.
4
Set the condition: Show this field when [Previous Field] [is equal to] [Value]. Example: Show 'Product type' when 'Are you interested in our products?' = 'Yes'.
5
Save the condition. In preview mode, verify the field hides and shows correctly.
Multiple conditionsYou can stack conditions — show a field when Condition A AND Condition B are both met, or when Condition A OR Condition B is met. Use the AND/OR toggle in the condition builder.
Calculated fields: dynamic totals and scores
Calculated fields automatically compute a value based on other field inputs.
1
Add a Calculated Field to your screen from the field type menu.
2
In the formula editor, build your calculation using field references and operators.
3
Example: {{quantity}} × {{unit_price}} computes the order total.
4
The result displays dynamically to the user as they fill in the form.
5
Map the calculated field to a CRM Super Field if you want to store the computed value.
Examples of calculated field formulas:
Order total: {quantity} * {unit_price}
Discount amt: {order_total} * ({discount_percent} / 100)
Final price: {order_total} - {discount_amount}
BMI: {weight_kg} / ({height_m} * {height_m})
Conditional calculationsCombine both features: show a discount field only when order total exceeds ₹10,000, then calculate the discounted price automatically.
Testing your logic
1
Use the Preview mode in the Flow Builder to test all conditional paths.
2
Work through each possible answer combination to verify conditions trigger correctly.
3
Check that calculated fields display the right values for different inputs.
4
Publish only after testing all logic paths.
Was this helpful? If you are stuck, message us on WhatsApp and a real person will help.
Ask us on WhatsApp