Agents Lookup

Use cases / Decision models (Jev)

Choose the next intake form question from the last answer

Let Jev read a respondent's free-text answer and pick which question to ask next from a fixed list, instead of hand-coded branches.

DifficultyIntermediate
Setup time4-8 hours
CategoryDecision models (Jev)

The use case

Agencies, clinics and service businesses use intake forms whose branching logic gets messy as soon as people answer in their own words. In this pattern each free-text answer goes to Jev, which picks the next question from a fixed list you wrote, so the form follows the meaning of the answer rather than exact keywords. A state machine keeps the flow valid and records each choice. Staff review completed submissions before quoting, booking or advising, and the question list itself stays under your control, since Jev only chooses among options.

Example workflow

  1. Write the full question bank with a short purpose for each
  2. Model allowed transitions in XState
  3. After each answer, ask Jev a Choice question over the allowed next questions
  4. Store answers and the path taken in Airtable
  5. Staff review the submission before replying to the respondent

Tools

Risks and guardrails

Sources

Written by Agents Lookup. Credits and official pages for the tools this use case names: