AI Form Builder
SingleForm’s AI Form Builder lets you create and edit forms by describing what you need in plain English. Powered by Claude, it generates complete form schemas from a chat conversation.
AI Form Builder is available on Basic and Pro subscription tiers.
How It Works
- Open the AI Form Builder from the SingleForm dashboard
- Describe the form you need — e.g. “I need a patient intake form with name, insurance info, and medical history”
- The AI generates a complete form with sections, fields, validation, and a consent message
- Preview the form in real time on the right panel
- Iterate — ask for changes like “make the phone number optional” or “add a signature field”
- Save the form when you’re happy with it
The builder uses a split-pane UI: chat on the left, live form preview on the right.
Slash Commands
Use slash commands in the chat input for quick actions:
| Command | Description |
|---|---|
/webhook | Set the webhook URL for the form |
/type | Change the form type (webhook or autofill) |
/name | Set the form name |
/description | Set the form description |
/category | Set the form category |
/save | Save the current form |
/help | Show available commands |
Create vs Edit Mode
Create mode generates a new form from scratch. Describe what you need and the AI builds the entire schema.
Edit mode starts with an existing form’s schema. The AI preserves your current fields and structure, only modifying what you ask for. Field IDs are maintained so existing submissions aren’t affected.
What Gets Generated
The AI produces a complete FormSchema including:
- Sections — logical groupings of related fields (e.g. “Contact Information”, “Medical History”)
- Fields — individual form inputs with types, labels, validation rules, and sensitivity levels
- Consent message — a short description of what data the form collects and why
- Storage policy — automatically set to
"never"for webhook forms (data goes straight to your server)
The AI uses SingleForm’s standardized field registry when possible, covering categories like contact, personal, business, medical, legal, and preferences.
Conversation Limits
Each AI builder session supports up to 20 messages. If you need to start fresh, create a new session. Token usage is reported after each generation so you can track consumption.
Example Conversation
You: I need a registration form for a dental office. Collect patient name, date of birth, insurance provider, policy number, and any allergies.
AI: I’ve created a dental patient registration form with two sections:
- Patient Information — first name, last name, and date of birth
- Insurance & Medical — insurance provider, policy number, and an allergies text area
All fields are required except allergies. The consent message reads: “This dental office is requesting your personal and insurance information for patient registration.”
You: Add an emergency contact section with name and phone number, and make allergies required.
AI: Done! I added a third section for Emergency Contact with name and phone fields, and made the allergies field required.