CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Intermediate Workflow Automation with n8n

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice