Data hydration appears as a collapsible section on question action editors. It is only available for question-type actions (multiple choice, open-ended, rating, etc.).
Prerequisites
Before configuring data hydration, ensure you have:- Admin access to the Nudj control room with Manager role or above
- An existing challenge with at least one question-type action (multiple choice, open-ended, rating, date selection, etc.)
- Shopify connection (optional) — if you want to sync data to Shopify, your community must have a linked Shopify store with the
write_customersscope
Enabling Data Hydration
Open a Challenge
Navigate to Engagement > Challenges in the admin panel and open the challenge containing your question action.
Edit the Question Action
Find the question action you want to hydrate and expand its configuration. Scroll to the Customer Data section.
Enable Collection
Toggle Enable Customer Data Collection to on. This activates the generic custom data layer — answers will be stored on user profiles immediately.
Configure the Field
Set up the field configuration:
- Field Key — A unique identifier for this data field. Auto-suggested from the question text. Must be lowercase alphanumeric with underscores (e.g.,
favorite_color). - Data Type — How the value should be stored: Text, Integer, Decimal, Boolean, or Date.
- Display Name — A human-readable label for the field (e.g., “Favorite Color”).
- Description — Optional description explaining what this field captures.
Configure Multi-Select (if applicable)
For questions where users can select multiple options, choose a multi-select mode:
- None — Single selection only.
- Comma Separated — All selections joined as text (e.g.,
"Red, Blue, Green"). - Boolean Expansion — Each option becomes its own true/false field. Limited to 5 options.
Field Key Best Practices
The field key is the most important configuration choice because it becomes immutable after the first sync.Do
- Use descriptive, stable names:
shirt_size,dietary_preference - Use snake_case consistently
- Keep keys short but meaningful (max 64 characters)
- Reuse the same key across actions if they capture the same data point
Don't
- Use vague names:
q1,answer,data - Include action or challenge IDs in the key
- Change your mind after sync — the key locks permanently
- Use different keys for the same semantic data point across communities in your organization
Data Type Selection
Choose the data type that best matches your question and how you plan to use the data downstream:| Question Type | Recommended Data Type | Why |
|---|---|---|
| ”What’s your favorite color?” | Text | Free-form preference |
| ”How many pets do you have?” | Integer | Whole number count |
| ”Rate this product (1-5)“ | Decimal | Allows fractional ratings |
| ”Do you prefer morning delivery?” | Boolean | Yes/no question |
| ”When is your birthday?” | Date | Calendar date |
| ”Pick your top 3 interests” | Text + Comma Separated | Multi-select labels |
Multi-Select Mode Details
Comma Separated
Stores all selected labels as a single comma-delimited text value. Supports up to 50 choices.Boolean Expansion
Creates a separate boolean field for each option. Each field istrue if the user selected that option, false otherwise.
Boolean expansion keys are generated from the parent field key plus the option ID. The expansion keys are managed automatically — you only configure the parent key.
Immutability Rules
Once data has been synced to any external platform (indicated by afirstSyncedAt timestamp), certain fields lock:
| Field | After First Sync |
|---|---|
| Field Key | Locked |
| Data Type | Locked |
| Multi-Select Mode | Locked |
| Choices Override | Locked |
| Display Name | Editable |
| Description | Editable |
| Platform-specific settings (e.g., pin to customer detail) | Editable |
Schema Consistency
Nudj enforces type consistency per field key within a community:- If action A uses
shirt_sizeas Text, action B cannot useshirt_sizeas Integer. - If action A uses
shirt_sizewith Boolean Expansion, action B cannot share theshirt_sizekey (boolean expansion keys are exclusive to one action). - Multiple actions can share the same key with the same type and mode — the latest answer wins.
Capacity Limits
External platforms may have limits on field definitions:| Platform | Limit | What Counts |
|---|---|---|
| Shopify | 256 metafield definitions per namespace | Each field key = 1 definition. Boolean expansion: each option = 1 definition. |
Next Steps
Shopify Integration
Configure Shopify-specific sync settings including metafield pinning and customer detail visibility.
Overview
Review the full architecture and supported action types.

