Detecting stup error

I’m using the “USER: CREATE” node and am storing the result of the operation in path data.setupResult.
When info submitted is incorrect I get the “error” message as shown:
image

How do I best validate if there is an error message?
I want to do various things after this node depending on if there is an error or not.

Hey Lars,

You can use a Conditional Node to check if the error path exists. Based on that you can branch your workflow to do different things.

You can also use the Validate Payload Node to validate the incoming payload against a JSON Schema that you define. This also allows for branching your workflow based on whether or not the validation passes.

Let me know if this is something that works for you.

Thank you,
Heath