{{ subscriber.firstName }}.
In addition to the subscriber’s details, developers can use data payload variables that encapsulate dynamic data meant to be injected into the content of a workflow.
For instance, in the code example the variables username and resetLink are data payload variables that would be adjusted based on the workflow’s purpose.
The utilization of these variables allows Novu to deliver personalized notifications to the receiver, thus improving user experience and accomplishing better communication outcomes.
System Variables
Subscriber Variables
Actor Variables
Step Variables
Brand Variables
Tenant Variables
Data Payload Variables
Data payload variables encompass the dynamic data intended to be injected into the content of a workflow. These variables are integral components of the payload object, forming part of the parameters for the trigger function. Here’s a more illustrative example of how data payload variables can be employed:username and resetLink are representative of data payload variables.
Importantly, it’s worth noting that the payload itself can encompass any serializable JSON object.
Avoid use of system reserved variables as normal variables. For example don’t use
email as variable name because {{subscriber.email}} is a system reserved variable