-
Notifications
You must be signed in to change notification settings - Fork 7
Zones
Abdulbasit Rubeya edited this page Jun 27, 2025
·
1 revision
Zones are collections of data that can be added edited and reused across your forms i.e countries, projects etc.
The Zone feature comes with a Zone Builder providing a user-friendly interface to create, manage, and execute data extraction rules. It supports advanced filtering, sorting, and formatting options to generate structured data outputs in various formats like JSON, CSV, or a Summary of that data.
- Multiple Rules: Create multiple rules to combine data from different zones
- Custom Output Names: Name each rule output for organized results
- Rule Management: Add, remove, and modify rules dynamically
- Zone Selection: Choose specific zones to extract data from
- Sheet Filtering: Target specific sheets within zones
- Search Terms: Filter data based on content
- Column Filtering: Search within specific columns
- Distinct Values: Extract unique values from columns
- Sorting: Sort by any column in ascending or descending order
- Limiting: Control the number of rows returned
- Multiple Formats: Export as JSON, CSV, or Summary
- Custom Naming: Assign custom names to outputs
- JSON Export: Structured data with metadata
- CSV Export: Spreadsheet-compatible format
- Preview Mode: See data before downloading
- Timestamp: Auto-generated timestamps for tracking
- Click the gear icon (βοΈ) in the Datazones page header
- The Zone Builder will open in a side panel
- Click "Add Rule" to create a new data extraction rule
- Configure each rule with the following options:
- Zone: Select which zone to extract data from
- Sheet: Specify sheet name (optional, extracts all if empty)
- Format: Choose output format (JSON, CSV, Summary)
- Search: Enter search term to filter rows
- Column Filter: Specify which column to search in
- Distinct Column: Get only unique values from a column
- Sort By: Column name to sort results by
- Order: Ascending or Descending
- Limit: Maximum number of rows to return
- Output Name: Custom name for this rule's results
- Preview Data: Click "Preview Data" to see a sample of results
- Generate Dump: Click "Generate Data Dump" to download the file
Rule 1: Users data (active users only)
Rule 2: Products data (top 10 by sales)
Rule 3: Categories (distinct list)
Rule 1: Search "premium" in products, CSV format
Rule 2: Get distinct brands from products
Rule 3: Users from specific region, sorted by join date
Rule 1: Summary of all zones
Rule 2: Distinct statuses across all zones
Rule 3: Recent entries (last 50 rows)
{
"generated_at": "2025-06-27T10:30:00.000Z",
"rules_count": 3,
"data": {
"active_users": {
"rule": { /* rule configuration */ },
"result": [ /* filtered data */ ]
},
"product_categories": {
"rule": { /* rule configuration */ },
"result": { /* distinct values */ }
},
"sales_summary": {
"rule": { /* rule configuration */ },
"result": { /* summary data */ }
}
}
}
If a rule fails, it will be included with error information:
{
"rule_1_error": {
"rule": { /* failed rule config */ },
"error": "Zone not found"
}
}
- Ctrl + Enter: Generate data dump
- Automatic Save: Rules are preserved during session
- Rules without zones are automatically skipped
- Invalid parameters are handled gracefully
- Clear error messages for debugging
- Rules execute concurrently for faster processing
- Preview mode limits data for quick feedback
- Efficient API calls with proper parameter handling
- Name your rules clearly for easy identification
- Use specific filters to reduce data size
- Test with preview before generating large dumps
- Limit row counts for large datasets
- Use specific sheets when possible
- Apply filters early to reduce processing time
- Check distinct values to understand data distribution
- Use search filters to focus on relevant data
- Preview results to verify rule configuration
- "Zone not found": Check if zone exists and is accessible
- "Sheet not found": Verify sheet name spelling
- "No data returned": Check if filters are too restrictive