Build
AI features
AI is built into Formpik, with no account or key to set up. It drafts forms from a description, and inside flows it reads submissions for you: it summarizes, sorts, extracts, translates and drafts replies, so your team gets submissions that are already sorted.
On this page you will learn
- How to draft a whole form, or new fields, from a sentence
- How to write a prompt that gives you the right field types
- The daily and hourly draft limits of each plan
- Every Ask AI job, what it needs and what it answers
- How AI answers become values you can route on and use in messages
- What happens in test runs and when AI cannot answer
Draft a form with AI
- 01
Describe the form
Choose New form, then Describe it with AI. Write who fills it in, the questions you need answered, and anything you want to route on, like a topic or a budget. Up to 1,500 characters. - 02
Create it
Choose Create with AI. AI drafts a name, a one sentence description and the fields, usually between 2 and 20 of them, in the order visitors fill them in. The form is created with the draft and opens in the builder. If you typed a name, it wins over AI's. - 03
Review and adjust
Check keys, options and required answers before you connect your website. The fields are ordinary fields: change, add or remove anything.
Add fields to an existing form
Choose Add with AI above the preview and describe what else to ask, for example "Ask for a delivery address, a preferred date and a time slot". AI sees the labels you already use and skips them, and the new fields are added after your selection with keys that do not clash with yours. They stay selected, so you can make them required or delete them in one go.
Write a good prompt
- Say who fills it in and why: "A booking form for a dental clinic" gives better labels than "booking form".
- List the questions you need, in the order you want them.
- Name what you route on and its options: "a topic: sales, support or billing" becomes a dropdown or single choice with those options.
- Ask for the special types by name: "a 5 star rating", "an NPS score", "budget in EUR", "photos of the roof", "marketing consent".
- Write in the language of your visitors. Labels follow the language of the description.
The dialog offers these starters, one click each:
- "A booking form for a dental clinic: treatment, preferred date and time, insurance yes or no"
- "Customer feedback with a star rating, an NPS score and what we could improve"
- "Event registration with sessions to pick, dietary needs, country and marketing consent"
- "A quote request for a design agency with services, budget in EUR and a brief upload"
What a draft can contain
Formpik checks every drafted field before it reaches the builder, so a draft always fits the form builder:
- Keys are lowercase with underscores and unique in the form. Repeats get a number, such as email_2.
- Dropdowns, multi-select, single and multiple choice get at least two options. Yes or no gets its fixed yes and no values.
- Ratings have 3 to 10 stars, otherwise 5. Scales start at 0 or 1 and end at 10 at most, with words under the ends. Sliders get a minimum, a maximum above it and a step.
- Amounts get a known currency code, otherwise USD, and a minimum of 0. Country fields get "Choose a country" as the empty choice.
- Layout blocks are never required, and neither are hidden fields.
{
"name": "Dental appointment request",
"description": "Book a visit and we will confirm your time.",
"fields": [
{
"key": "treatment",
"label": "Treatment",
"type": "select",
"required": true,
"options": [
{
"label": "Check-up",
"value": "check_up"
},
{
"label": "Cleaning",
"value": "cleaning"
}
]
},
{
"key": "appointment",
"label": "Preferred date and time",
"type": "datetime",
"required": true
},
{
"key": "insured",
"label": "Do you have dental insurance?",
"type": "yesno",
"required": true
}
]
}The exact fields vary with every draft. Nothing is saved until the dialog creates the form or the builder adds the fields.
Draft limits
Editors, admins and owners can draft. Both Create with AI and Add with AI count, and every request counts, also one AI could not turn into fields. A person can ask for 20 drafts an hour. The workspace can ask for:
| Plan | AI drafts in 24 hours |
|---|---|
| Starter | 10 |
| Pro | 100 |
| Enterprise | 500 |
Past a limit the dialog says so, and drafting works again once older drafts fall out of the window.
Ask AI in a flow
The Ask AI step reads text from the submission and saves its answer as a value. Later steps use that value in emails, chat messages and webhooks, and Route by answer or If / else can branch on it. A typical flow sorts first and routes second:
- 01Form submittedContact form receives a submission.
- 02Ask AISort into Sales, Support, Billing, Other as
{{ai_category}}. - 03Route by answerOne path per category.
- 04Post to SlackEach team gets its own channel.
Step settings
| Setting | What it does |
|---|---|
| What should AI do? | The job, from the list below. |
| Text to read | What AI reads, as a template. {{submission.all_fields}} (the default) gives it every answer. Pick one field, such as {{message}}, to focus it. |
| Categories | Sort into a category only: the categories, separated by commas. |
| Translate into | Translate only: the language, English for a new step. |
| Extra instructions | Optional for most jobs, such as "answer in German". Pull out details calls it What to pull out and Your own instructions calls it Instructions, and both need it. It can use variables. |
| Save the answer as | The value name, such as ai_summary. Lowercase letters, numbers and underscores, starting with a letter, and not the key of a form field. A second Ask AI step gets a free name, such as ai_summary_2. |
Jobs
| Job | What it does | Saved as |
|---|---|---|
| Summarize | A short summary of the submission in two or three sentences. | {{ai_summary}} |
| Sort into a category | Picks exactly one of the categories you list, so later steps can route on it. | {{ai_category}} |
| Detect the mood | positive, neutral or negative, plus urgent when someone needs help fast. | {{ai_sentiment}} |
| Pull out details | Finds the details you describe, like an order number or a company name. | {{ai_details}} |
| Translate | Translates the text into the language you choose. | {{ai_translation}} |
| Draft a reply | Writes a friendly first reply your team can review and send. | {{ai_reply}} |
| Your own instructions | Tell the AI exactly what to do with the text. | {{ai_result}} |
Summarize
- Needs: The text to read. Extra instructions are optional, such as "keep it under 40 words".
- Answers with: Two or three plain sentences: who sent it, what they want, and anything urgent.
- Saved as:
{{ai_summary}}for a new step.
Your name: Ana Ruiz
Budget: $25k to $50k
Project details: We are relaunching our marketing site in March...Sort into a category
- Needs: The text and at least two categories, separated by commas.
- Answers with: Exactly one of your categories, written as you wrote it. An answer that matches none becomes the last category, so put a catch-all like Other last.
- Saved as:
{{ai_category}}for a new step.
Message: My invoice for October was charged twice, can you refund one?
Categories: Sales, Support, Billing, OtherDetect the mood
- Needs: The text. Extra instructions are optional.
- Answers with: One word: positive, neutral, negative or urgent. Urgent is for someone who needs help fast or is very upset. Anything else becomes neutral.
- Saved as:
{{ai_sentiment}}for a new step.
Message: Our checkout has been down for an hour and customers cannot pay.Pull out details
- Needs: The text and What to pull out, such as "order number, company name, delivery date".
- Answers with: One line per detail as "Name: value", with "not given" when a detail is missing.
- Saved as:
{{ai_details}}for a new step.
Message: Hi, this is Lena from Brightside. Order NW-2291 has not arrived yet.
What to pull out: order number, company name, delivery dateTranslate
- Needs: The text and Translate into, English unless you change it.
- Answers with: The translation only. Names, numbers, email addresses and links stay as they are.
- Saved as:
{{ai_translation}}for a new step.
Nachricht: Wir brauchen ein Angebot für 40 Stühle bis Ende Mai.
Translate into: EnglishDraft a reply
- Needs: The text. Extra instructions are optional, such as "answer in German".
- Answers with: A short, friendly first reply that thanks the sender, shows what they asked was understood and says the team will follow up. No subject line, no signature, and no prices or dates the text does not support.
- Saved as:
{{ai_reply}}for a new step.
Message: Do you offer weekend workshops for teams of 10?Your own instructions
- Needs: The text and your Instructions.
- Answers with: Plain text, following your instructions.
- Saved as:
{{ai_result}}for a new step.
Message: We want a new logo, a website and business cards, ideally before our launch on 3 March.
Instructions: list the requested services as a comma separated listThe answers above are examples. Real answers are written by AI for each submission and vary.
Use the answer
The answer is a value of the run, available to every step after the Ask AI step:
- In emails, chat messages and Set values, write its name in braces, such as
{{ai_summary}}, or pick it from the variable menu under Values. - In Route by answer and If / else, pick it from the field list, where it shows as
ai_category (value from a step). Answers of the form come first, so a value never hides a field with the same name. - Webhooks carry it under
valuesin the JSON. - The run keeps the answer with the step, so the inbox shows what AI wrote for each submission.
New lead from {{name | someone}}
{{ai_summary | No summary this time}}
Mood: {{ai_sentiment | not checked}}A fallback after the pipe covers the case where AI could not answer and the value is empty.
Example: sort, then route
- Add Ask AI, choose Sort into a category and type
Sales, Support, Billing, Other. - Add Route by answer and pick
ai_category (value from a step). - Add a route for Sales, Support and Billing, typed exactly like the categories. Other goes down Anything else.
- Connect a Post to Slack or Send email step to each path.
Because AI answers with exactly one of your categories, every submission takes a path.
Example: translate for the team
Add Ask AI with Translate, Text to read {{message}} and Translate into English. In the team email, write Original: {{message}} and English: {{ai_translation}} on separate lines.
Test runs and failures
| Situation | What happens |
|---|---|
| Test run in the editor, or a test submission | AI is not asked. The step uses a stand-in: the first category for Sort into a category, positive for Detect the mood, and a note such as "(summarize written by AI in live runs)" for the rest. |
| The text to read is empty | The step is Skipped with "Nothing to read, the text was empty" and the value is empty. |
| AI cannot answer, is busy or takes longer than 45 seconds | The step is Skipped with the reason, the value is empty, and the next steps still run. |
| Long text | AI reads the first 8,000 characters. The answer is kept up to 4,000 characters. |
What AI reads
- AI reads only the text you put in the step, nothing else from your workspace.
- It is told to treat that text as data from the public: it ignores instructions written inside a submission and must not invent facts.
- Reply to sender emails leave long free text out and cut AI values after 80 characters, so nobody can make AI write a long message to someone else. Use AI drafts in emails to your own team.
Common questions
Do I need an AI account or API key?
What if AI answers with a category that is not in my list?
Why does my test run show a placeholder instead of a summary?
Can I route on the mood?
ai_sentiment with routes for urgent and negative, or If / else with is urgent to page someone only for urgent messages.