AI Condition Builder

Prev Next

The AI Condition Builder turns a plain-language description of an audience into Userflow conditions. Type who should see a flow or checklist, such as "users who signed up in the last 7 days and haven't completed onboarding", and it builds the matching attribute and event conditions for you to review and edit.

How do I use the AI Condition Builder?

  1. Open a flow or checklist in the builder and go to the Auto-start section.

  2. Click AI Condition Builder, or the AI icon next to the conditions.

  3. Describe your audience in plain language.

  4. Review the conditions it creates. You can change operators and values, or remove a condition.

  5. Click Apply to save the conditions.

Can I change the conditions by asking again?

Yes. Type a follow-up instead of starting over, and the AI Condition Builder adds to or replaces the current conditions. For example, after the first set, type "Also make sure they're admins" and it adds a role condition.

Can I edit conditions the AI Condition Builder created?

Yes. They're standard Userflow conditions, the same as ones you add by hand. You can:

  • Edit any value in a condition

  • Remove a condition with the × icon

  • Add more conditions with Add condition

  • Switch between AND and OR

How auto-start conditions decide who sees a flow is covered in Flow targeting and audience rules. To check why a flow did or didn't start for someone, use the Debugger.

Tips for describing an audience

  • Name the attributes you send. "Users with role = admin and days_since_signup < 30" works better than "new users". Your attributes are listed in Settings > Attributes; see Standard Attributes.

  • Say what the users have or haven't done: "users who haven't seen the onboarding flow yet" is clearer than "new users".

  • If the result isn't right, refine it with a follow-up instead of starting again.

  • For events that aren't tracked yet, set them up with No-code event tracking first.