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.
Este exercício faz parte do curso
Intermediate Workflow Automation with n8n
Exercício interativo prático
Transforme a teoria em ação com um de nossos exercícios interativos
Começar o exercício