Modify an existing Code node
"Something's in the field" isn't the same as a real value — a friendly "N/A" can sail through as non-empty and quietly wreck averages downstream.
Tighten the Python Code node so humidity must be numeric, re-run the flow, and let Is Valid? show who gets kicked to the stricter branch.
This exercise is part of the course
Intermediate Workflow Automation with n8n
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise