Lead Generation Form: How Your AI Agent Builds, Publishes and Scores It (2026)
A lead generation form that sorts buyers from browsers: what to ask, what to skip, and how your AI agent builds, publishes and scores it.
Josue HernandezAI Specialist
A lead generation form is the first conversation your company has with a buyer, and most of them waste it. They ask for a name and an email, then hand sales a list of strangers. So your reps spend their week on calls that should never have been booked, while the real buyers wait.
The fix is not a longer form. Instead, it is a smarter one: a few questions that tell you who is ready to buy, with points on every answer. This guide shows what to capture and which fields to drop. Then it shows how your AI agent builds, publishes and scores the whole thing from one message.
What a lead generation form needs to capture (and what to skip)
A good lead capture form has one job. It collects just enough to decide what happens next with each person. Anything beyond that slows people down and adds nothing to the decision.
The usability research agrees. In its web form design recommendations, Nielsen Norman Group puts "keep it short" first. It also advises cutting any field you can derive another way, collect later, or leave out. That is a useful test for every field you are tempted to add.
The minimum every form needs
Start with the contact basics, because your team cannot follow up without them:
- Name. One field is enough. Split first and last name only if your CRM truly needs it.
- Work email. It identifies the company, so you may not need a separate "company" field.
- One question about the problem. This is the field that turns a contact into a lead.
That is a working form. However, it does not tell you who to call first. For that you need a few qualifying fields, which the next section covers.
What to skip
Some fields feel useful but rarely change what your team does. For example, a phone number on a first touch adds friction for many buyers. A street address almost never matters for B2B. Similarly, "How did you hear about us?" belongs in your analytics, not in the buyer's way.
A simple rule helps here. If an answer would not change who follows up, how fast, or with what, drop the field. You can always ask later, once the lead is talking to you.
Make every field easy to answer
Small details decide whether people finish. Every field needs a clear label, and the W3C forms tutorial explains why: labels tell people, and screen readers, what each control is for. In addition, mark the optional fields and keep them rare. Finally, use multiple choice wherever you can, since a click is faster than typing.
The fields that separate buyers from browsers
This is where a basic contact form becomes a B2B lead generation form. A handful of qualifying questions sort the people who are ready to buy from the people who are still reading. Each answer carries points, so the total tells you who to call.
Here are the signals that matter most, and one question for each:
| Signal | Question to ask | Why it separates buyers |
|---|---|---|
| Fit | What is your role? | A founder or a head of sales can decide. A student cannot. |
| Fit | How many people work at your company? | It tells you whether you can serve them well. |
| Need | What is the main problem you want to solve? | A sharp problem is the strongest buying signal. |
| Timing | When do you want this in place? | It separates active buyers from researchers. |
| Budget | Do you have budget set aside for this? | It shows whether a deal can close this quarter. |
| Intent | What would you like to do next? | "Book a call" is a buyer raising their hand. |
You do not need all six on every form. In fact, most teams do well with three or four qualifying questions plus the contact basics. If you want a deeper question bank, our guide on how to qualify a sales lead has 25 of them with scoring rules. Here, we focus on the form itself.
Use multiple choice for anything you want to score
Open text is great for nuance. However, multiple choice is faster to answer and easier to score, because every option maps to a point value. So keep open text for one question at most, such as "What would make this a success for you?"
Use conditional logic to keep it short
Conditional logic hides questions that do not apply. For example, if someone picks "Just researching" for timing, the form can skip the budget question. As a result, each person sees a shorter form, while you still collect the full picture from serious buyers.
Order the questions from easy to personal
People commit as they go. So open with an easy question, such as role or company size, then move to need and timing. Leave budget and contact details toward the end, when the person already knows why you are asking.
How your AI agent builds and publishes it (pasteable prompt)
Building this by hand means dragging fields, typing options, setting points and wiring up a calendar. Alternatively, your agent can do it. dForms is the form builder for AI agents: the one your agent actually wants to use. With one API key, your agent builds the lead generation form, publishes it, scores every answer and sends hot leads to your calendar or CRM. It is also free and open source.
Step 1: Connect your agent
You have two ways in. First, you can connect the dForms MCP at mcp.dforms.ai from Claude or another MCP client. Second, you can create an API key on the Developers page of dForms and give it to any agent that can call an API. If you work in Claude, our guide to creating a form with Claude walks through the setup.
Step 2: Ask for the form in one message
Describe the form the way you would brief a colleague. Name the questions, the points for each option and where hot leads should go. Here is a prompt you can copy and adapt:
Build a lead generation form in dForms called "Talk to sales".
Ask for name and work email.
Then ask: role, company size, main problem, when they want a solution, budget, and what they want to do next.
Make every qualifying question multiple choice and give each option points.
If timing is "Just researching", skip the budget question.
Send leads that score 70% or more of the maximum to my booking calendar.
Sync every lead to HubSpot with its score.
Create it as a draft and show me the questions before you publish.
Step 3: Review the draft, then publish
Your agent creates the form as a draft, so nothing goes live yet. Edits stay in that draft until someone publishes them. In the dForms MCP connector, publish, revert and delete are marked destructive. So your agent tells you what will change and waits for your yes before it runs them, as the dForms connector docs describe. That matches the MCP specification, which asks clients to keep a human in the loop for sensitive operations.
With an API key, nothing asks for you. Therefore, if you want to approve every form, tell your agent to leave it in draft. And if a change goes live by mistake, your agent can revert the published form.
Score every lead and route the hot ones
A score only matters if it triggers an action. So once your form is live, decide in advance what each score range does. Our guide to the form with scoring explains points, ranges and negative scores in detail.
Three buckets to start with
- Hot (70% or more of the maximum score): the lead sees your booking calendar right away.
- Warm (40% to 69%): your team follows up by email within a day.
- Cold (under 40%): you send a useful resource and keep them in your CRM.
These lines are a starting point, not a benchmark. After a few weeks of answers, compare scores with the deals that actually closed. Then move the lines.
Send leads where your team already works
In dForms, every response arrives with its score. From there, your agent can route high scores to a calendar step, sync contacts to HubSpot, or send each response to a webhook. If HubSpot is your CRM, see how to connect a form to HubSpot with the score in its own property. Meanwhile, if an AI SDR follows up for you, read our guide to the AI SDR lead qualification form.
Ask your agent who came in hot
Because your agent can list responses and analytics, you can simply ask it questions. For example, ask: "Which leads scored above 70% this week?" That turns your lead gen form into a daily briefing instead of a spreadsheet nobody opens.
Lead generation form mistakes that cost replies
Even a well-built form can underperform. Watch for these common mistakes:
- Asking for everything on the first touch. Every extra field is one more reason to leave. Ask what changes the decision and nothing more.
- Scoring every question the same. Need and timing usually say more about a deal than company size. So give them more weight.
- Burying the call to action. If someone is ready to talk, let them book on the spot instead of waiting for an email.
- Hiding the score from sales. When reps cannot see why a lead scored high, they redo discovery anyway.
- Never revisiting the form. Your buyers change, and so should your questions. Review answers against closed deals every month.
- Treating cold leads as dead. A cold lead today can be a buyer next quarter. Keep them in your CRM with their answers.
Paying for a form tool that cannot score? Compare it with our open-source Typeform alternative. And once a lead becomes a customer, the next form you need is a client onboarding questionnaire.
Frequently asked questions
What should a lead generation form include?
It should include a name, a work email and three or four qualifying questions. Good qualifying questions cover role, need, timing and budget. Anything that would not change your follow-up can wait until later.
How many fields should a lead capture form have?
Keep a lead capture form as short as your decision allows. Most teams need the contact basics plus a few multiple-choice questions. Then use conditional logic to skip the questions that do not apply to each person.
Can my AI agent publish the form without me?
In the dForms MCP connector, no: publish is marked destructive, so the agent waits for your yes. With an API key, the agent can publish on its own. If you want to approve every form, ask your agent to leave it in draft.
Does this work with ChatGPT or only with Claude?
It works with any agent that can use an MCP server or call an API. You can connect the dForms MCP from Claude or another MCP client, or give any agent an API key from the Developers page.
Can a lead gen form send hot leads to my calendar?
Yes, dForms can route leads above a score threshold to a calendar step. Your agent sets the threshold when it builds the form. It can also sync every lead to HubSpot or send it to a webhook.
Is dForms free?
Yes, dForms is free, and responses are not counted or billed. It is open source under the MIT license, so you can also self-host it.
A lead generation form works best when it asks less and decides more. Pick your qualifying questions, set the points, and let your agent build it.