Key Features
- AI-Assisted Analysis – Analyzes JSON structure and suggests field types and mappings
- Intelligent Type Detection – Recognizes dates, numbers, text, and boolean values automatically
- Live Preview – See how your JSON will be parsed before saving your configuration
- Multiple Input Sources – Works with API responses, file uploads, and direct JSON input
Supported JSON Formats
The JSON File Reader handles flat and nested objects, arrays, and mixed types—including API responses, configuration files, data exports, and webhook payloads. JSON can come from:- Text Value Reference – Direct input or paste
- API Request Actions – Responses from external APIs
- Data Transform Actions – Output from other automations
- Record Triggers – JSON fields from record updates
Creating a JSON File Reader
Configure Basic Settings
Name: Enter a descriptive name (e.g., “API Response Parser”)Description: Optional description for your team
Set Up JSON Analysis
The system analyzes your JSON and suggests field types and mappings, with a live preview of parsed data.
Configuration Options
Field Type Mapping
The system automatically detects and maps field types:Text Fields
Text Fields
- Text (default for strings)
- Date with format selection
- DateTime with timezone support
- Number for numeric strings
- Decimal for precise calculations
- Boolean for true/false values
Number Fields
Number Fields
- Number (integer values)
- Decimal (floating point, default for numbers)
Boolean Fields
Boolean Fields
- Automatically detected and mapped as boolean type
- Handles true/false, 1/0, and yes/no variations
Date Format Recognition
The system supports various date formats:- ISO 8601 standard formats
- Common regional formats (MM/DD/YYYY, DD/MM/YYYY)
- Custom format specification
- Automatic timezone detection
Working with JSON Data
Simple JSON Objects
JSON Arrays
Using in Automations
Use the JSON File Reader in automation workflows. Example flow:Common Automation Patterns
API Data Processing
API Data Processing
Trigger: API Request Action (JSON response)
File Reader: Parse API response data
Actions:
- Transform Data to clean values
- Create Record with parsed data
- Update Record Fields with new information
- Send Email Notification with results
Webhook Processing
Webhook Processing
Trigger: Webhook Received (JSON payload)
File Reader: Extract webhook data
Actions:
- AI Classification to determine event type
- Search Records to find related entries
- Update Record Fields with webhook data
- Post Comment with processing status
Configuration Processing
Configuration Processing
Trigger: File Upload (JSON config)
File Reader: Parse configuration data
Actions:
- Transform Data to validate settings
- Update Record Fields with configuration
- Start Approval Process if required
- Generate Report with config summary
File Reader Actions
- Create Action - Add a File Reader action to your automation
- Select Type - Choose your configured JSON File Reader
- Configure Input - Connect your JSON source
- Map Output - Use the parsed fields in subsequent actions
Best Practices
- Data Validation – Validate critical fields before processing to prevent automation failures
- Consistent Structure – Maintain consistent JSON structures across related automations for reliable processing
- Type Accuracy – Choose appropriate field types during configuration to ensure accurate data handling
- Testing – Test with sample data before deploying to production environments
Advanced Features
Nested Object Handling
The JSON File Reader handles complex nested structures:user.profile.name.
For varying JSON structures, you can use AI Classification to determine structure type before Dynamic Field Mapping and the JSON File Reader, so parsing adapts to the data format.
Error Handling and Troubleshooting
Common Issues
Invalid JSON Format
Invalid JSON Format
Symptoms: JSON parsing fails with syntax errorsCauses:
- Missing brackets, quotes, or commas
- Malformed JSON structure
- Invalid characters in JSON
- Check for syntax errors using JSON validators
- Verify JSON structure matches expected format
- Use Transform Data to clean JSON before parsing
- Implement IF conditions to handle malformed data
Missing Field Values
Missing Field Values
Symptoms: Expected fields return null or empty valuesCauses:
- Field names don’t match JSON keys (case-sensitive)
- Optional fields missing in source JSON
- Nested object path incorrect
- Verify field names match exactly (case-sensitive)
- Use Branch actions to handle optional fields
- Check nested object paths and dot notation
- Add default values for missing fields
Type Conversion Errors
Type Conversion Errors
Symptoms: Data type mismatches in automation actionsCauses:
- Field types don’t match JSON data types
- String values expected as numbers
- Date format not recognized
- Ensure field types match the actual data
- Use Transform Data for type conversion
- Configure date formats properly
- Implement data validation steps
Validation Strategies
Validate critical JSON fields (e.g., with Branch actions) before processing to ensure data quality and prevent automation failures.
Performance Optimization
- Map only the fields you need instead of parsing the full JSON.
- Use appropriate field types and process large payloads in batches when possible.
- For very large JSON, limit size or use streaming; clear variables after use.
Comparison with Other File Readers
When to Use JSON File Reader
Use the JSON File Reader for API responses, webhooks, configuration files, and other structured JSON. Consider alternatives when:- Processing unstructured documents (Text File Reader)
- Working with business forms (Purchase Orders Reader)
- Handling spreadsheet data (Table File Reader)
- Requiring AI-powered analysis (Elementum Intelligence Reader)
Next Steps
Automation System
Learn how to integrate JSON File Readers with automation workflows
AI Services
Enhance JSON processing with AI classification and analysis
Table File Reader
Process structured data from spreadsheets and CSV files
Elementum Intelligence Reader
Upgrade to AI-powered document analysis for complex data extraction