BuildBetter Docs

Creating Surveys

Survey creation runs through a setup wizard at /surveys/new. It is template-first — you pick a starting point and adjust — but there is always an explicit path to build your own from an empty survey.

Question Types

Native surveys store five primitives: text, single_select, multi_select, rating, and nps. The authoring UI exposes richer variants by saving presentation config on top of those primitives, so you get familiar survey building blocks without a separate data model:

Family Variants available
Text Long text, short text, email, URL, number, date
Choice Single select, multi-select, dropdown, yes/no, image choice
Scale Rating, opinion scale, slider, NPS
Structured Ranking, matrix / Likert, best-worst

Answer validation runs server-side regardless of which variant you pick. It checks typed text formats, valid option ids, duplicate multi-selects, matrix row and column selections, and whether a required matrix was fully completed.

Tip: Rating and NPS questions carry their own scale settings — the authoring controls expose them rather than flattening everything into a generic prompt. Set the scale deliberately; it affects how the response reads later.

Question Descriptions

Non-follow-up questions can carry a description that renders on the respondent page beneath the question. Use it for context the question itself shouldn't have to carry ("we're asking because we're deciding what to build next quarter"), not for restating the question.

Versioning and Edits

Questions are written into an immutable survey_version snapshot. This matters more than it sounds:

Warning: Because recipients are pinned to a version, editing a live survey's questions produces a mixed dataset — early recipients answered a different version than late ones. If you need a clean comparison, launch a new survey rather than editing a running one.

Once a survey is launched, editing happens through a deliberate edit mode rather than inline, so a live survey can't be changed by accident.

AI Follow-Ups

Any question can set allow_ai_follow_up. When enabled, and a respondent gives a low-detail answer, BuildBetter may generate one concise clarifying prompt.

The behavior worth understanding before you enable it:

A follow-up answer can itself produce the next follow-up, chaining until the configured depth is reached.

How follow-ups are stored

Follow-up answers are ordinary survey_response_answer rows carrying three extra fields:

Generated prompts are deliberately not added to the shared survey version, because they are unique to one respondent. That is why two people answering the same survey can have different follow-up chains.

Info: Follow-ups use gpt-5-nano. Raw survey answers and generated prompts are excluded from AI telemetry input/output capture. Each generated prompt costs 1 credit; suppressed, no-op, and failed decisions cost nothing. See Settings & Billing.

Duration Claims

Because follow-ups are dynamic, a survey's real length varies by respondent. Avoid promising a fixed completion time in your intro copy — a survey with follow-ups enabled genuinely does not have one.

Creating Surveys Programmatically

MCP and Quick Agent create complete surveys in a single operation through SurveyCompositionService — delivery copy, questions, follow-up settings, branding, recipients, View connections, and optional activation together.

Failure handling is deliberately split:

Next