ComeçarComece de graça

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 exercício faz parte do curso

Intermediate Workflow Automation with n8n

Ver curso

Exercício interativo prático

Transforme a teoria em ação com um de nossos exercícios interativos

Começar o exercício