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.
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
- Write the full question bank with a short purpose for each
- Model allowed transitions in XState
- After each answer, ask Jev a Choice question over the allowed next questions
- Store answers and the path taken in Airtable
- Staff review the submission before replying to the respondent
Tools
- Jev (TypeSafe AI)
- XState
- Next.js
- Airtable
Risks and guardrails
- Respondents may skip questions you needed
- Unexpected answers can loop the flow without a guard
- Personal data in forms needs a privacy notice
Sources
Written by Agents Lookup. Credits and official pages for the tools this use case names:
- JevForm by Tamir on Made with Jev: madewithjev.com/builds/jevform
- JevForm: original post or repo by Tamir: jevform.spiritt.app
- Airtable MCP server (official page): support.airtable.com/articles/9897799762-using-the-airtable-mcp-server (checked 2026-11-09)