ComenzarEmpieza gratis

Modify an existing Code node

You can read Code nodes — now it's time to make a small change. The validation logic from the previous exercise checks for non-empty name and email, but it doesn't verify that the email is actually valid. A record with "notanemail" passes validation, which it shouldn't.

You'll add one new rule to the existing Python Code node: the email must contain an @ symbol. This is exactly how real-world automation development works — you read existing code, understand it, and make targeted modifications.

Este ejercicio forma parte del curso

Intermediate Workflow Automation with n8n

Ver curso

Ejercicio interactivo práctico

Pon en práctica la teoría con uno de nuestros ejercicios interactivos

Empezar ejercicio