Payload
Learn how to define and validate workflow payload schemas for data passed during the novu.trigger method.
Workflow payload is the data passed during the novu.trigger method. This is useful for ensuring that the payload is correctly formatted and that the data is valid.
Payload Schema
Payload schema is defining the payload passed during the novu.trigger method. This is useful for ensuring that the payload is correctly formatted and that the data is valid.
Passing Payload
Here is an example of the validated payload during trigger: