Bulk Edit Extraction Configuration Guide
The JSON editor in the Bulk Edit tab for query configuration must follow the provided schema for validation. All fields must be present unless otherwise specified.
Last updated
Was this helpful?
The JSON editor in the Bulk Edit tab for query configuration must follow the provided schema for validation. All fields must be present unless otherwise specified.
Last updated
Was this helpful?
A query defines a single question or instruction in your form. It includes:
id
: A unique string identifier.
type
: One of the following types:
one_value: expects one answer
multiple_value: allows multiple answers
cell_value/column_value: extracts values from a spreadsheet
yes_no: expects a yes/no answer
page_number: asks for a page number
details
: Description or help text shown to the user.
multi_file_name_field
: Field that links to file metadata (optional).
run_email_mode
: Controls how the result is sent:
email_only: only email
email_document: email + document
document_only: only document
toggle_page_question
: Whether to enable a page-specific toggle.
entities
: List of items to extract, see "Entities" below.
properties
: Additional behavior settings. See below.
data_validation_rules
: Rules for checking extracted values (optional).
Entities are data points you're extracting in each query.
id
: A UUID or empty string.
entity
: The label or name of the data point.
save_to
: Where to store the extracted value.
type
: Custom categorization or data type.
unique
: Whether the value must be unique.
options
: List of valid values (optional).
criteria
: Criteria or instruction for extraction (can be empty).
examples
: Examples to help guide extraction (optional).
required
: Whether this field must be filled.
default_option
: Pre-filled or suggested default value.
data_validation_rules
: Rules for checking extracted values (optional).
Optional settings that affect how the query behaves:
page_filter_start
/ page_filter_end
: Limits pages the query applies to.
page_filter_query
: Keyword-based filter for specific pages.
page_limit
: Max number of pages to process.
multiple_occurrences
: If the answer can appear more than once.
skip_ai_page_filter
: Skip AI-based filtering logic.
group_name
: Label to group queries visually or logically (optional).
page_filter_whitelist
/ blacklist
: Keywords on pages to include or ignore.
page_filter_whitelist_mode
/ blacklist_mode
: Use "AND" or "OR" logic on filters.
Variants define different mappings for queries to fields:
id
: UUID or empty string
variant_name
: Friendly name for the variant
group_variants
: A list of mappings that connect question_group_id
to save_to_fields
question_group_id: Unique identifier matching the query that this variant applies to