Create Your First AI Smart Form in 10 Minutes
AIWU Forms adds AI to your contact forms and calculators — so instead of just collecting data, your forms respond intelligently. A visitor fills out a form; the AI instantly processes their input and returns a personalized result. This guide builds your first working smart form in 10 minutes.
Before You Start
You’ll need:
- AIWU plugin installed with an API key configured (Quick setup guide)
- A page or post where you want to embed the form
- Time needed: ~10 minutes
- Plan required: Free (basic forms)
What smart forms can do:
- Answer visitor questions based on what they typed
- Generate personalized recommendations
- Calculate estimates (costs, ROI, savings)
- Qualify leads and route them based on their answers
Step 1: Open the Form Builder
Go to WordPress Admin → AI Copilot → Forms.
Click Create New Form.
What you should see: The form builder interface opens with a blank form canvas on the left and settings on the right.
Step 2: Add Your Form Fields
Click Add Field to add input fields. The most common field types are:
- Text — short single-line input (“What’s your budget?”)
- Textarea — multi-line input (“Describe your situation”)
- Select / Dropdown — multiple choice options
- Number — numeric input for calculators
- Email — captures email address
For your first form, add 2–3 fields. Here’s a simple example — a Service Recommendation Form:
- Field 1 (Select): “What type of project do you need help with?” → Options: Website, Mobile App, E-commerce, Other
- Field 2 (Number): “What’s your approximate budget ($)?”
- Field 3 (Textarea): “Describe your goals in 1–2 sentences”
Step 3: Write the AI Prompt
This is the instruction you give the AI — it tells the AI what to do with the form submission. Go to the AI Settings tab in the form builder.
In the AI Prompt / Instructions field, write your instruction. Use field names as variables in curly braces — the AI will receive the actual values when the form is submitted.
Example prompt for the Service Recommendation Form:
A visitor submitted a project inquiry. Project type: {project_type}. Budget: ${budget}. Their goals: {goals}. Based on this, write a 3–4 sentence personalized response that: (1) acknowledges their specific project type, (2) confirms whether their budget is realistic for that type, (3) suggests one concrete next step. Be friendly and professional.
What you should see: The prompt is saved in the AI Instructions field.
project_type, use {project_type} in the prompt. Mismatched names mean the AI won’t receive the field value.
Step 4: Configure the Submit Button and Response Display
In the form settings:
- Set Submit Button Label to something action-oriented: “Get My Recommendation”, “Calculate Now”, “See Results”
- Set Response Display to
Below Form(the AI response appears on the same page after submission) orNew Section - Optionally add a Loading Message: “Analyzing your project…” — shown while the AI processes
Step 5: Save and Embed
Click Save Form. Copy the shortcode shown (it looks like [aiwu_form id="123"]).
Go to the WordPress page or post where you want the form to appear. Add a Shortcode block (or Classic HTML block) and paste the shortcode. Update or Publish the page.
What you should see: Open your page — the form appears. Fill it in and submit — the AI response displays below the form within 3–5 seconds.
Verify It Works
- Open the page with your form
- Fill in all fields with test values
- Click the Submit button
- The loading message appears briefly, then the AI response shows
Common Issues
Problem: “Form submits but the AI response never appears.”
Fix: Check your API key in Settings → API. Make sure you have billing/credits with your provider. See AI Not Responding guide.
Problem: “The AI response doesn’t include the values the visitor entered.”
Fix: Check that variable names in your prompt exactly match field names in the form (case-sensitive). Go to each field’s settings and verify the Field Name / ID.
Problem: “The form doesn’t appear on the page.”
Fix: Make sure the shortcode was added correctly. Check that the form is published/active in the Forms list. Clear your cache and test in incognito.
What’s Next
- 📋 Build a lead qualification form: Lead Qualification Form: Score and Route Leads with AI
- 🎯 Build a quiz: AI Quiz Builder: Recommendations Based on Quiz Answers
- 🧮 Build a calculator: ROI Calculator: Build an AI-Powered Cost Estimator
Last verified: AIWU v.4.9.2 · Updated: 2026-02-25
