Data Analyzer
Description
Section titled “Description”This module is a debugging tool that analyzes the structure of data flowing through the workflow. It examines the data type, verifies if it is parseable (valid JSON, no circular references), evaluates if it is convertible to arrays, detects common issues (empty data, mixed types, non-standard keys, excessive nesting, pseudo-arrays), and generates specific suggestions to resolve the issues found. It produces a complete diagnostic with summary, detailed structure analysis, conversion possibilities and recommendations. It is essential for debugging workflows when data does not arrive in the expected format.
Configuration
Section titled “Configuration”Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
| detailed_analysis | boolean | No | Performs complete structure analysis including value types, depth, keys and circular references. Default true. |
| show_suggestions | boolean | No | Includes specific recommendations on how to fix detected issues. Default true. |
| max_depth_analysis | number | No | Limits how many nesting levels to analyze. High values may impact performance. Default 10. |
| include_preview | boolean | No | Shows examples of original data and possible conversions. Disable for sensitive data. Default true. |
Output
Section titled “Output”{ "nextModule": "siguiente_modulo", "data": { "analysis": { "data_type": "object", "is_parseable": true, "is_array_convertible": true, "issues": [], "suggestions": ["Aplicar transformacion a array usando el nodo iterator o returnarray=true"], "structure_analysis": { "type": "object", "size": 5, "depth": 2, "keys": ["id", "name", "items"], "values_types": ["number", "string", "array"], "is_empty": false, "has_circular_reference": false }, "conversion_possibilities": { "object_values": { "possible": true, "values_preview": ["..."] } }, "diagnostic": "DIAGNOSTICO DE DATOS:\n..." }, "summary": { "type": "object", "parseable": true, "array_convertible": true, "issues_count": 0, "main_issue": "No issues detected" } }}Usage Example
Section titled “Usage Example”Basic case
Section titled “Basic case”{ "detailed_analysis": true, "show_suggestions": true, "max_depth_analysis": 10, "include_preview": true}- Detected issues include: invalid JSON, circular references, empty data, mixed types in arrays, non-string keys, partial numeric keys, excessive nesting
- Each issue has a severity:
low,medium,high - Detects pseudo-arrays (objects with sequential numeric keys) and suggests conversion
- The
diagnosticfield contains a human-readable plain text summary - Disable
include_previewfor sensitive or very large data - Reduce
max_depth_analysisto improve performance with deep structures - Does not modify input data, only analyzes it
Related Nodes
Section titled “Related Nodes”- objectToArray (convert objects to arrays per suggestions)
- objectArrayConverter (bidirectional object/array conversion)
- dataTransform (transform problematic data)
- executescript (apply custom fixes)