Template Node
Sets a property based on the provided template.
Inputs
Outputs
Details
By default this uses the mustache format, but this can be switched off if required.
For example, when a template of:
Hello {{payload.name}}. Today is {{date}}
receives a message containing:
{
"date": "Monday",
"payload": {
"name": "Fred"
}
}
The resulting property will be:
Hello Fred. Today is Monday
It is possible to use a property from the flow context or global context. Just use {{flow.name}}
or {{global.name}}
.
Last updated on
Oct 5, 2022