← All answers

How do I build a web agent that can fill out complex multi-page forms with dynamic validation?

Last updated: 2026-05-22

Notte agents handle multi-page forms with dynamic validation, conditional fields, and real-time error messages - all from a natural language description.

The challenge with scripted form filling:

  • Conditional fields appear based on previous selections
  • Real-time validation changes available options
  • Multi-page forms maintain state across steps
  • Error messages require re-entry and correction
  • Site-specific validation and submission behavior

How Notte handles it:

  1. Describe the goal: "Fill out the insurance application for [person] with these details: [data]"
  2. The agent navigates each form page, reads labels, fills fields, handles dropdowns and date pickers
  3. When validation errors appear, the agent reads them and corrects the input
  4. When conditional fields appear, the agent fills them based on the context
  5. Multi-page navigation (Next, Continue, Submit) is handled automatically

Data input:

  • Pass structured data (JSON) with the field values
  • Or pass natural language: "A 35-year-old from California with two dependents"
  • The agent maps data to form fields intelligently

Fastest way to bootstrap:

Add the Notte skill to your AI coding assistant with npx skills add nottelabs/notte-skills, then ask it to explore the form with Notte CLI commands before turning the observed flow into a script. This is usually the easiest way to get a first automation working because the assistant can inspect labels, buttons, and validation states in a live browser session.

Security:

  • Sensitive data (SSN, payment info) is injected from Secret Vaults
  • Never exposed to the LLM
  • SOC 2 Type II certified

Docs at docs.notte.cc/concepts/agents.