Back to Help
Question Types

Text Chat Survey Questions

Use Text Chat questions when a study calls for a guided conversational response rather than a fixed form field.

When To Use Text Chat

Text Chat is a stable question type for conversational survey interactions. It can support qualitative probes, guided reflection, tutoring-style checks, interview-like prompts, or AI-assisted tasks inside a social science research survey. It requires a Standard plan or above.

Block Builder: Question Type

Pilot the prompt before live collection, review sample transcripts for unexpected AI behavior, and confirm your IRB protocol allows AI-mediated respondent interaction.

How It Supports Research Design

  • System prompt control defines how the assistant should interact with participants. It can include piped answers and variables: type {{ to pick from earlier questions and survey variables, and a reference that resolves flashes mint as you close it — the same as in question text.
  • Turn limits keep conversations comparable across respondents.
  • Goes first chooses who opens the chat. With Respondent (the default) the chat starts on an empty message box. With Interviewer, the interviewer speaks first: write an Opening message to show every respondent the same first line (it supports piped text and can be translated), or leave it blank to have the model write its own opener from the system prompt. A model-written opener stays the same if the respondent leaves the question and comes back; it is written again only if they changed an earlier answer that the system prompt pipes in.
  • Last turn chooses who has the final word. With Interviewer (the default) the model replies to the respondent's last message. With Respondent, the respondent's final message (their max-turns message) ends the chat with no reply; when the model ends the interview itself, the respondent gets one last reply before the chat closes.
  • Let the interviewer end the chat (off by default) lets the model end the interview itself once it judges the topic is covered, instead of every respondent running for exactly max turns. Max turns still applies as a hard cap, and min turns is a floor the model cannot end before.
  • Endpoint configuration lets research teams connect a compatible model provider, either directly or through a saved credential. Leave the endpoint blank to use the one shown in the field, which follows the model: OpenAI for gpt- models, Google for gemini-, and likewise Mistral, xAI, DeepSeek, and Groq (Llama). A saved credential's own endpoint takes priority: with a saved key, the question's endpoint can only point to another address on the key's own server, so nobody who can edit the survey can send your key somewhere else. To use a different server, change the endpoint on the key itself in Settings → Integrations → API Keys, which asks for the key again. Only a model from another provider needs its URL typed in. A key pasted into the question is saved to Settings → Integrations → API Keys as soon as you leave the field — surveys never store raw keys — and every chat, including Preview, runs through Domandata's server with it.
  • Message length limits set a minimum and/or maximum length (in characters, words, or sentences) for each participant message.
  • Paste controls can disable pasting into the message box, and/or record blocked or allowed paste attempts in response metadata — the same paste-tracking behavior available on Short Answer.
  • Track typing timing (opt-in) records keystroke count, typing duration, and longest pause across the respondent's own messages, the same typing-timing tracking available on Short Answer. It can raise the "No Typing Detected" response-quality flag.
  • Transcript validation can require the respondent's messages to contain (or not contain) specific words or phrases, or run a custom Python check against the full transcript text (both sides, as User: … | Assistant: …) — the same validation options available on Short Answer. Respondents see what's missing when they try to continue and can keep chatting to add it. The rule only applies while they can still send a message: once the chat has reached max turns or the interviewer has ended it, nothing could change the transcript, so the respondent is not held back.
  • Advanced request body (in the question's advanced settings) lets you merge additional JSON fields into the request sent to the model endpoint, for providers that need parameters beyond the standard chat-completions shape.
  • Transcript export supports qualitative coding and audit review, and includes which model produced each assistant reply so a later review can tell if the model changed mid-study.
  • Response delay can make the interaction feel paced rather than instantaneous.

Preview: Respondent Experience

Configure It In Domandata

  1. Step 1: Open Block Builder. Open the survey and select the block where the chat task belongs.

    Step 1: Open Block Builder

  2. Step 2: Add a Text Chat question. Choose Text Chat from the question type selector.

    Step 2: Choose Text Chat question type

  3. Step 3: Write both prompts. Add the respondent-facing prompt and the system prompt that controls chat behavior.

    Step 3: Write both prompts

  4. Step 4: Configure the model connection. Set the endpoint, saved credential, model name, who goes first (and the opening message), who has the last turn, minimum and maximum turns, whether to let the interviewer end the chat, message length requirements, and response delay.

    Step 4: Configure the model connection

  5. Step 5: Preview with realistic responses. Use Preview to test the interaction before publishing, including awkward, short, and off-topic participant answers.

    Step 5: Preview with realistic responses

  6. Step 6: Export and review transcripts. Submit a test response, confirm the transcript is suitable for coding and audit review, and check privacy expectations before live collection.

    Step 6: Export and review transcripts

Data And Export Notes

Text Chat exports the chat transcript, including participant and assistant messages, followed by a Respondent Turns column with the number of messages the respondent sent. It is blank when the respondent never reached the chat, so it works as a dropout or engagement measure without counting messages in the transcript. Treat transcripts as qualitative research data and review privacy, consent, and institutional review requirements before collecting live responses.

A Silicon Sample run on a Text Chat question generates both sides of the conversation from the simulation model in a single pass — it does not call the question's own configured endpoint or model. Treat a silicon-sample Text Chat transcript as a preview of plausible conversational content, not as a test of how your actual configured model will behave with a real respondent.

Export: Data and Files

Related Help