Run and read a Python Code node
Code nodes work in Python too. In this exercise, you'll run a Python Code node that validates records — checking whether required fields are present and tagging each record as "valid" or "invalid." Your job is to execute, inspect, and understand what the code does.
You'll import a workflow with a Python Code node connected to an If node that routes records based on their validation status. By comparing input, code, and output, you'll see exactly how Code nodes drive downstream logic.
Cet exercice fait partie du cours
Intermediate Workflow Automation with n8n
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
Commencer l’exercice