Skip to content

Data Analyzer

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.

ParameterTypeRequiredDescription
detailed_analysisbooleanNoPerforms complete structure analysis including value types, depth, keys and circular references. Default true.
show_suggestionsbooleanNoIncludes specific recommendations on how to fix detected issues. Default true.
max_depth_analysisnumberNoLimits how many nesting levels to analyze. High values may impact performance. Default 10.
include_previewbooleanNoShows examples of original data and possible conversions. Disable for sensitive data. Default true.
{
"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"
}
}
}
{
"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 diagnostic field contains a human-readable plain text summary
  • Disable include_preview for sensitive or very large data
  • Reduce max_depth_analysis to improve performance with deep structures
  • Does not modify input data, only analyzes it
  • objectToArray (convert objects to arrays per suggestions)
  • objectArrayConverter (bidirectional object/array conversion)
  • dataTransform (transform problematic data)
  • executescript (apply custom fixes)