data array in form responses contains question responses, where each response object follows a specific shape based on the component type. This page documents all supported component response shapes.
Response Structure
Each question response in thedata array follows this structure:
Copy
{
questionId: string;
response: {
type: string; // Component type
componentShapeVersion?: string; // Optional version (e.g., "2.0")
headline?: string; // Optional headline
leadAttribute?: string; // Optional lead attribute
// ... component-specific fields
}
}
Identity Info
Component Type:"IdentityInfo"
Show Response Fields
Show Response Fields
Always
"IdentityInfo" for this component type.Version of the component shape (e.g.,
"2.0").Optional headline text displayed with the component.
Optional lead attribute mapping for CRM integration.
First name of the respondent.
Last name of the respondent.
Email address of the respondent.
Work email address of the respondent.
Phone number of the respondent.
Company name of the respondent.
Number of employees at the company.
Website URL of the company.
Job title of the respondent.
Street address.
Apartment, suite, or other address details.
City name.
State or province.
Country name.
ZIP or postal code.
Company revenue range.
URL to the profile picture.
Calculated full name (firstName + lastName).
External state ID being read.
Array of external state IDs to trigger.
Array of field names that were enriched.
Type of enrichment applied.
Copy
{
"questionId": "identity_123",
"response": {
"type": "IdentityInfo",
"componentShapeVersion": "2.0",
"headline": "Tell us about yourself",
"firstName": "John",
"lastName": "Doe",
"emailAddress": "[email protected]",
"companyName": "Acme Corp",
"fullName": "John Doe"
}
}
Multiple Choice Question (MCQ)
Component Type:"MultipleOptionsQuestion"
Show Response Fields
Show Response Fields
Always
"MultipleOptionsQuestion" for this component type.Version of the component shape (e.g.,
"2.0").Optional headline text displayed with the component.
Optional lead attribute mapping for CRM integration.
Whether the “Other” option is selected.
Copy
{
"questionId": "moq_123",
"response": {
"type": "MultipleOptionsQuestion",
"componentShapeVersion": "2.0",
"headline": "Select all that apply",
"choices": [
{ "key": "Option 1", "value": true, "index": 0 },
{ "key": "Option 2", "value": false, "index": 1 },
{ "key": "Option 3", "value": true, "index": 2 }
],
"selectedOther": false
}
}
Dropdown
Component Type:"Dropdown"
Show Response Fields
Show Response Fields
Always
"Dropdown" for this component type.Version of the component shape (e.g.,
"2.0").Optional headline text displayed with the component.
Optional lead attribute mapping for CRM integration.
Selected value(s). Can be a single string for single-select dropdowns, or an array of strings for multi-select dropdowns.
Copy
{
"questionId": "dropdown_123",
"response": {
"type": "Dropdown",
"componentShapeVersion": "2.0",
"headline": "Select a country",
"selected": "United States"
}
}
Copy
{
"questionId": "dropdown_123",
"response": {
"type": "Dropdown",
"componentShapeVersion": "2.0",
"headline": "Select countries",
"selected": ["United States", "Canada", "Mexico"]
}
}
Short Input
Component Type:"ShortInput"
Show Response Fields
Show Response Fields
Always
"ShortInput" for this component type.Version of the component shape (e.g.,
"2.0").Optional headline text displayed with the component.
Optional lead attribute mapping for CRM integration.
The text input value entered by the user.
Copy
{
"questionId": "shortinput_123",
"response": {
"type": "ShortInput",
"componentShapeVersion": "2.0",
"headline": "What's your name?",
"input": "John Doe"
}
}
Long Input
Component Type:"LongInput"
Show Response Fields
Show Response Fields
Always
"LongInput" for this component type.Version of the component shape (e.g.,
"2.0").Optional headline text displayed with the component.
Optional lead attribute mapping for CRM integration.
The textarea input value entered by the user.
Copy
{
"questionId": "longinput_123",
"response": {
"type": "LongInput",
"componentShapeVersion": "2.0",
"headline": "Tell us more",
"input": "This is a longer text response..."
}
}
Graphic Options
Component Type:"GraphicOptions"
Show Response Fields
Show Response Fields
Always
"GraphicOptions" for this component type.Version of the component shape (e.g.,
"2.0").Optional headline text displayed with the component.
Optional lead attribute mapping for CRM integration.
Index of the selected option.
Value/label of the selected option.
Copy
{
"questionId": "graphic_123",
"response": {
"type": "GraphicOptions",
"componentShapeVersion": "2.0",
"headline": "Choose a plan",
"index": 2,
"value": "Premium Plan"
}
}
Calendly Screen
Component Type:"CalendlyScreen"
Show Response Fields
Show Response Fields
Always
"CalendlyScreen" for this component type.Version of the component shape (e.g.,
"2.0").Optional headline text displayed with the component.
Optional lead attribute mapping for CRM integration.
Whether the component autoscrolls.
Whether an event was scheduled.
Calendly URI for the scheduled event.
Meeting start time (ISO 8601 format).
Meeting end time (ISO 8601 format).
Owner email address(es).
Guest email address(es).
Copy
{
"questionId": "calendly_123",
"response": {
"type": "CalendlyScreen",
"componentShapeVersion": "2.0",
"headline": "Schedule a meeting",
"autoscrolls": true,
"eventScheduled": true,
"uri": "https://calendly.com/user/meeting",
"meetingTime": "2024-01-15T10:00:00Z",
"meetingEndTime": "2024-01-15T10:30:00Z",
"ownerEmails": "[email protected]",
"guestEmails": "[email protected]"
}
}
File Uploader
Component Type:"FileUploader"
Show Response Fields
Show Response Fields
Always
"FileUploader" for this component type.Version of the component shape (e.g.,
"2.0").Optional headline text displayed with the component.
Optional lead attribute mapping for CRM integration.
URL of the uploaded file.
Copy
{
"questionId": "file_123",
"response": {
"type": "FileUploader",
"componentShapeVersion": "2.0",
"headline": "Upload a file",
"fileUrl": "https://example.com/uploads/file.pdf"
}
}
Disclaimer
Component Type:"Disclaimer"
Show Response Fields
Show Response Fields
Always
"Disclaimer" for this component type.Version of the component shape (e.g.,
"2.0").Optional headline text displayed with the component.
Optional lead attribute mapping for CRM integration.
Whether the disclaimer checkbox is checked.
Copy
{
"questionId": "disclaimer_123",
"response": {
"type": "Disclaimer",
"componentShapeVersion": "2.0",
"headline": "Terms and Conditions",
"check": true
}
}
Recaptcha
Component Type:"Recaptcha"
Show Response Fields
Show Response Fields
Always
"Recaptcha" for this component type.Version of the component shape (e.g.,
"2.0").Optional headline text displayed with the component.
Optional lead attribute mapping for CRM integration.
The reCAPTCHA token/response.
Copy
{
"questionId": "recaptcha_123",
"response": {
"type": "Recaptcha",
"componentShapeVersion": "2.0",
"headline": "Verify you're human",
"input": "03AGdBq25..."
}
}
Password Input
Component Type:"PasswordInput"
Show Response Fields
Show Response Fields
Always
"PasswordInput" for this component type.Version of the component shape (e.g.,
"2.0").Optional headline text displayed with the component.
Optional lead attribute mapping for CRM integration.
The password value (should be hashed/encrypted).
Copy
{
"questionId": "password_123",
"response": {
"type": "PasswordInput",
"componentShapeVersion": "2.0",
"headline": "Enter your password",
"input": "hashed_password_value"
}
}
Password Creator Input
Component Type:"PasswordCreatorInput"
Show Response Fields
Show Response Fields
Always
"PasswordCreatorInput" for this component type.Version of the component shape (e.g.,
"2.0").Optional headline text displayed with the component.
Optional lead attribute mapping for CRM integration.
The created password value (should be hashed/encrypted).
Copy
{
"questionId": "passwordcreator_123",
"response": {
"type": "PasswordCreatorInput",
"componentShapeVersion": "2.0",
"headline": "Create a password",
"input": "hashed_password_value"
}
}
Turnstile Widget
Component Type:"TurnstileWidget"
Show Response Fields
Show Response Fields
Always
"TurnstileWidget" for this component type.Version of the component shape (e.g.,
"2.0").Optional headline text displayed with the component.
Optional lead attribute mapping for CRM integration.
Cloudflare Turnstile token.
Copy
{
"questionId": "turnstile_123",
"response": {
"type": "TurnstileWidget",
"componentShapeVersion": "2.0",
"headline": "Verify with Turnstile",
"token": "0.abcdefghijklmnop..."
}
}
AI Chatbot
Component Type:"AiChatbot"
Show Response Fields
Show Response Fields
Always
"AiChatbot" for this component type.Version of the component shape (e.g.,
"2.0").Optional headline text displayed with the component.
Optional lead attribute mapping for CRM integration.
Summary of the conversation.
Mode of the chatbot. Can be
"Conversation" or "Questionnaire".Conversation history.
Q&A data if in questionnaire mode.
Copy
{
"questionId": "aichatbot_123",
"response": {
"type": "AiChatbot",
"componentShapeVersion": "2.0",
"headline": "Chat with AI",
"summary": "User asked about pricing and features",
"chatbotMode": "Conversation",
"history": "User: What are your prices?\nAI: Our pricing starts at $99/month..."
}
}
