ComenzarEmpieza gratis

Add validation to a webhook workflow

Your Acme Corp webhook workflow is receiving orders, but there's a problem — some requests arrive with missing data. Before processing anything, you need to validate that each incoming payload contains the required fields and return an appropriate response.

You'll extend the existing webhook workflow by adding an If node that checks whether the email field is present. Each branch prepares its own response data using Edit Fields, and both feed into a single Respond to Webhook node — valid requests get a success message, invalid ones get an error.

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