LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

Intermediate Workflow Automation with n8n

Kurs anzeigen

Interaktive Übung

In dieser interaktiven Übung kannst du die Theorie in die Praxis umsetzen.

Übung starten