> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://typeform.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://typeform.ferndocs.com/_mcp/server.

# AI Form Builder

Create high-performing forms in seconds using natural language. Typeform's AI Form Builder generates complete, optimized forms trained on insights from over 1 billion responses.

> **Success**
>
> **Currently in Beta**: AI Form Builder is available to all users during the
> beta period.

## How It Works

The AI Form Builder uses advanced language models trained specifically on form creation best practices to generate forms that maximize completion rates and data quality.

### From Prompt to Form in 30 Seconds

### Write Your Prompt

Describe what you want to create in natural language:

```
"Create a customer onboarding survey for a B2B SaaS product with questions about company size, use cases, integration needs, and success metrics"
```

### AI Generates Your Form

Within seconds, AI creates a complete form with:

* Optimized question sequence
* Appropriate field types
* Logic jumps where beneficial
* Professional design
* Completion tracking

### Review and Refine

Edit generated content:

* Modify questions
* Adjust field types
* Add or remove sections
* Customize design

## Writing Effective Prompts

### Include Key Details

**What to Include:**

* Form purpose and goal
* Target audience
* Number of questions (approximate)
* Specific topics to cover
* Response types needed
* Any required logic

**Example: Basic Prompt**

```
"Create a 5-question customer feedback survey"
```

**Example: Detailed Prompt**

```
"Create a post-purchase customer feedback survey for an e-commerce clothing store. Include questions about fit, quality, shipping experience, and likelihood to recommend. Use a mix of rating scales and open-ended questions. Keep it under 3 minutes to complete."
```

### Prompt Templates by Use Case

**Lead Generation**

```
"Create a lead qualification form for [industry] capturing company size, budget range, timeline, decision makers, and pain points. Include conditional logic to route high-value leads."
```

**Event Registration**

```
"Create an event registration form for a [type] conference with attendee details, session preferences, dietary restrictions, and networking interests. Add payment collection."
```

**Employee Survey**

```
"Create an anonymous employee engagement survey measuring satisfaction, manager effectiveness, career growth, work-life balance, and company culture. Use 5-point scales and include space for suggestions."
```

**Customer Research**

```
"Create a user research survey about [product/feature] exploring current usage, pain points, feature requests, and willingness to pay. Target 10 minutes completion time."
```

## Advanced Features

### Multi-Page Forms

Request forms with logical sections:

```
"Create a multi-page job application form with sections for:
1) Personal information
2) Work experience
3) Skills assessment
4) Availability"
```

### Conditional Logic

AI automatically adds logic when beneficial:

```
"Create a customer satisfaction survey that asks different follow-up questions based on NPS score"
```

### Custom Calculations

Include scoring or calculations:

```
"Create a quiz with 10 questions and automatic score calculation at the end"
```

## Customization Options

### Post-Generation Editing

After AI generates your form, customize:

**Content**

* Edit question text
* Modify answer options
* Add or remove questions
* Reorder fields

**Design**

* Apply themes
* Add images and videos
* Customize colors and fonts
* Adjust layout

**Logic**

* Add conditional jumps
* Set up calculations
* Create outcome screens
* Configure integrations

### Regeneration

Not happy with the results? Click **Regenerate** to get a fresh version, or edit your prompt for different results.

## Best Practices

### Do's ✓

* Be specific about your audience and purpose
* Mention desired form length or question count
* Specify any required questions or topics
* Include industry or context when relevant
* Request specific question types if needed

### Don'ts ✗

* Don't use vague descriptions like "create a survey"
* Avoid extremely long prompts (keep under 200 words)
* Don't expect perfection—plan to refine
* Don't include sensitive data in prompts

## Quality & Optimization

### AI Training Data

Forms are generated using patterns learned from:

* 1B+ form responses
* Completion rate analysis
* Drop-off point identification
* A/B test results
* Industry benchmarks

### Optimization Features

AI automatically:

* Orders questions for maximum completion
* Chooses optimal field types
* Adds progress indicators when helpful
* Suggests logic jumps
* Estimates completion time

## Examples

### Example 1: Customer Feedback

**Prompt:**

```
"Create a restaurant feedback survey with ratings for food quality, service, ambiance, and value. Include space for dietary preferences and suggestions."
```

**Generated Form Includes:**

* Welcome screen with restaurant branding
* Star ratings for each category
* Open-ended feedback field
* Dietary preferences (multiple choice)
* Thank you screen with incentive offer

### Example 2: Lead Qualification

**Prompt:**

```
"Create a B2B SaaS lead form for enterprise customers capturing company info, team size, current tools, budget, and timeline. Route demos for qualified leads."
```

**Generated Form Includes:**

* Company name and industry
* Team size selector
* Current tools (multiple choice)
* Budget range (dropdown)
* Timeline (multiple choice)
* Calendar for qualified leads
* Logic jump to book demo

### Example 3: Employee Onboarding

**Prompt:**

```
"Create a new employee onboarding form collecting personal details, emergency contacts, equipment needs, department preferences, and first-day logistics."
```

**Generated Form Includes:**

* Personal information section
* Emergency contact fields
* Equipment checklist
* T-shirt size and preferences
* Department introduction
* Start date confirmation

## Troubleshooting

### Form Too Long?

Refine your prompt:

```
"Create a SHORT customer feedback survey with just 5 essential questions"
```

### Wrong Question Types?

Be explicit:

```
"Create a survey using ONLY multiple choice and rating scale questions, no open-ended"
```

### Missing Topics?

List specific requirements:

```
"Create a survey covering these exact topics: [list topics]"
```

### Need More Logic?

Request it explicitly:

```
"Create a survey with conditional logic that shows different questions based on customer type"
```

## Limitations

### Current Limitations

* Maximum 50 questions per generation
* English language prompts (translations available post-generation)
* Cannot access external data sources
* May require refinement for highly specialized forms

### Coming Soon

* Multi-language prompt support
* Template library integration
* Bulk form generation
* API access for form generation

## Next Steps

* **[AI Content Optimizer](./ai-content-optimizer)** - Improve existing forms
* **[AI Form Translator](./ai-form-translator)** - Translate your forms
* **[Getting Started](./getting-started)** - More AI features

Start creating: Click **Create with AI** in your workspace!