Skip to content
Conditions in YourGPT Chatbot Studio

What Are Conditions?

A condition is a check that uses variables or predefined inputs to determine if the flow should continue in a certain direction.

Direct the conversation to the right path when users provide specific inputs or when some conditions are met. If a condition matches the AI chatbot proceeds with the intended route. Otherwise, it follows the No Match path.


Step-by-Step Setup: Creating a Condition

Follow these 6 clear steps to create or update a condition in your chatbot flow.


1. Add a Condition Step

Click Add Step β†’ Condition to insert a new condition block.


2. Name the Condition

Provide a descriptive name to identify the condition later like β€œCheck User Input”


3. Select the Expression Type

Click add Expression button to create your check. Choose the type of check you want to perform:

Conditions-check
  1. Variable Type: Uses Variables in the condition to check.

  2. Value Type: Uses a specific text, numeric value or variables.

  3. Logic Group: Combine multiple checks using AND/OR logic.


4. Choose an Operator

  • Equals to

  • Contains

  • Greater than / Less than

  • Enter the Value or Variable to compare.

  • Add multiple expressions if needed using Add Expression button.

  • You can also create multiple condition by clicking on add conition.


5. No Match

  • Use Re Prompt Message or path to handle cases where the input doesn’t match.

6. Remove Condition (Optional)

  • If a condition is no longer necessary, simply click Remove Condition to delete it.

Common Pitfalls

  • Vague Naming: A condition named β€œCheck 1” might be confusing later. Use descriptive names.
  • Wrong Operator Choice: β€œEquals to” only works for exact matches. Use β€œContains” if partial matches matter.
  • No Match Not Configured:Always set a fallback so users don’t get stuck.
  • Ignoring Case Sensitivity: β€œYes” vs. β€œyes” can be different if you use β€œEquals to.”
  • Overusing Logic Groups: Too many AND/OR combinations can make your logic difficult to manage.