Back to The Times of Claw

Automating Web Forms with DenchClaw's Browser Agent

Automating web forms with DenchClaw's browser agent saves hours of repetitive data entry. Here's how to fill any web form automatically using your CRM data.

Mark Rachapoom
Mark Rachapoom
·7 min read
Automating Web Forms with DenchClaw's Browser Agent

Automating web forms with DenchClaw's browser agent is one of the most immediately useful things you can do with browser automation. If you've ever spent an afternoon copying contact data from a spreadsheet into a web form — or submitting leads to a portal that has no API — this is for you.

DenchClaw's browser agent can fill and submit virtually any web form using data from your local CRM. No code. No API integration required.

Why Web Form Automation Matters#

Web forms are everywhere in sales and ops workflows:

  • Submitting leads to partner portals
  • Registering contacts for events
  • Adding prospects to external tools that lack API integrations
  • Filling out enterprise procurement forms
  • Submitting RFPs or vendor registrations

Most of these have no API. You either do it manually or you don't do it at all. Browser automation changes that equation.

How DenchClaw's Browser Agent Handles Forms#

The OpenClaw browser agent uses an AI model to understand web pages — it doesn't rely on fragile CSS selectors or recorded click paths. When you give it a task like "fill out the contact form at this URL", it:

  1. Navigates to the URL
  2. Identifies the form fields by reading the page (labels, placeholders, aria attributes)
  3. Maps your CRM data to the appropriate fields
  4. Fills in each field
  5. Handles dropdowns, radio buttons, checkboxes as needed
  6. Submits the form
  7. Logs the result (success, error, or required field missing)

Because it's AI-driven, it adapts to different form layouts rather than breaking when a field moves.

For more on what you can build without code, see browser automation without code.

Step-by-Step: Automating a Form Submission#

Let's walk through a concrete example: submitting leads to a partner portal.

Step 1: Install DenchClaw#

npx denchclaw

Open the interface at localhost:3100.

Step 2: Set Up Your Leads#

Make sure your CRM records have the fields the form requires. For a typical contact submission form:

  • First name
  • Last name
  • Email
  • Company
  • Phone (if required)
  • Notes or message

Step 3: Write the Automation Task#

In the DenchClaw browser agent task interface:

"For each lead in the 'Partner Submission' list:

  1. Go to https://partnerportal.example.com/submit-lead
  2. Fill in: First Name → first_name, Last Name → last_name, Email → email, Company → company_name, Message → 'Referred by [Your Company Name]'
  3. Click Submit
  4. If submission succeeds, mark the lead status as 'Submitted to Partner'
  5. If there's an error, log the error message to the 'submission_notes' field"

Step 4: Run on a Test Record First#

Before running on your full list, test with one record. Open the browser agent window to watch it work. Confirm:

  • Did it find the right form fields?
  • Did it fill in the correct values?
  • Did it submit successfully?

Step 5: Scale It Up#

Once validated, run on the full list. The agent works through records sequentially with natural delays between submissions.

Handling Complex Forms#

Multi-Step Forms#

Many forms have multiple pages. DenchClaw handles these natively — the agent completes each page and moves to the next until the form is done.

Example task:

"Complete the 3-step registration form at [URL]. Step 1: contact info. Step 2: company details. Step 3: preferences. Use [field mapping]."

Dynamic Forms (Fields That Appear Based on Selections)#

The AI model reads the page state after each interaction, so it handles conditional fields. If selecting "Enterprise" in a dropdown reveals a "Number of Employees" field, the agent sees the new field and fills it in.

Forms with File Uploads#

The browser agent can handle file uploads if you have a local file path to provide. This is useful for submitting PDFs, logos, or documents as part of a form.

Forms Requiring Authentication#

Because DenchClaw copies your Chrome profile, if the form is behind a login (e.g., a partner portal you access regularly), the agent is already authenticated. No separate login step needed.

Real-World Use Cases#

Event Registration at Scale#

You're running a webinar and want to pre-register 50 prospects. The event platform has a registration form but no bulk import. The browser agent fills out the form for each person in your list.

CRM Data Entry for Legacy Systems#

Your company has an old internal tool with no API but a web interface. The browser agent can fill data into it from DenchClaw's local database.

Demo Request Submissions#

For outbound campaigns, some teams submit demo requests on behalf of prospects to trigger internal workflows. The browser agent can handle these submissions.

Vendor Portals#

Many large enterprises require vendors to enter contact info into procurement portals. The browser agent can fill these out from your CRM records.

What to Do When Form Filling Fails#

Form automation can fail for several reasons. Here's how to handle the most common ones:

Field not found:

  • Check the form labels. The agent uses label text to identify fields.
  • If a field has an unusual label, specify it explicitly in your task.

CAPTCHA blocks submission:

  • The agent can't solve CAPTCHAs automatically. For occasional CAPTCHAs, the agent will pause and you can complete it manually.
  • If a form has consistent CAPTCHAs, look for an API or import option instead.

Submission succeeds but nothing happens:

  • Some forms have success messages that the agent interprets as "done." Others redirect. Tell the agent what to look for: "After submission, confirm you see 'Thank you' on the page."

Form changes layout:

  • Re-run the agent with an updated task description. Unlike traditional RPA tools that rely on exact coordinates, the AI re-reads the page each time.

DenchClaw vs. Traditional Form Automation#

Traditional RPA tools (UiPath, Automation Anywhere) can fill forms, but they:

  • Require professional setup and licensing
  • Break when form layouts change
  • Need dedicated IT infrastructure

Browser automation without code with DenchClaw is different:

  • Runs on your laptop
  • Adapts to layout changes via AI
  • Takes 30 minutes to set up
  • Costs nothing beyond your time

See browser automation for CRM for a full breakdown of what DenchClaw can automate.

FAQ#

Q: Can the agent fill forms on sites I'm not logged into? Yes, for public forms. For forms that require authentication, you need to be logged into that site in Chrome — which DenchClaw's profile copy handles automatically.

Q: What if the form has a honeypot field (anti-spam measure)? The AI reads the page and typically avoids hidden fields. Honeypots are invisible to users and the agent treats them like a user would — it doesn't see them as fillable.

Q: Can I map CRM fields to form fields with custom logic? Yes. You can specify in the task: "If the company_size field is >100, select 'Enterprise' from the dropdown. Otherwise select 'SMB'."

Q: How do I handle required fields my CRM doesn't have? Specify a default value in the task: "For the 'How did you hear about us' field, always select 'Partner referral'."

Q: Does this work for forms embedded in iframes? Generally yes. The AI browser agent can interact with most iframes, though deeply nested or cross-origin iframes with strict security headers may be inaccessible.

Ready to try DenchClaw? Install in one command: npx denchclaw. Full setup guide →

Mark Rachapoom

Written by

Mark Rachapoom

Building the future of AI CRM software.

Continue reading

DENCH

© 2026 DenchHQ · San Francisco, CA