create-text-from-template
Last updated
create-text-from-template adaptor creates a dynamic text using a Mustache template.
template
Type: text
Required: Yes
The Mustache template text that contains any number of Mustache variable tags. Variable tags are indicated by the double mustaches that surround them, e.g. {{ person }} is a tag.
variables
Type: dictionary
Required: Yes
A dictionary of variable names (dictionary keys) with values (dictionary values).
text
Type: text
The rendered text.
template: {{city}} is the only city in {{county}}, {{country}}, of which it is the county town. It had a population of {{population}} at the {{year}} census.
variables:
city
World
county
Oxfordshire
country
England
population
162,100
year
2021
text: Oxford is the only city in Oxfordshire, England, of which it is the county town. It had a population of 162,100 at the 2021 census.
-> Created a dynamic text using the Mustache variable tags {{city}}, {{country}} {{county}}, {{population}} and {{year}}.
Build customized messages to combine with the send-email-message adaptor
Last updated