What are template variables, what do they do, and how can I use them:
With template variables, you can create placeholders that you can populate when creating a Hub from a template. You can also populate these variables using automation tools such as Zapier or Make.
How can I use template variables?
To create template variables, you can use the following syntax in any text field in the Hub: [[VARIABLE_NAME]]. You can choose the variable name freely, but note that only numbers, letters, and underscores are allowed—no spaces, hyphens, or other special characters.
Important: Template variables can be used anywhere in the Hub, including in the Custom Code Widget. The syntax is the same there.
Here is an example of what the syntax looks like in action:
Welcome to [[INTRANET_NAME]]!
Here are some ideas for what you could do with template variables:
User-specific links for individual customers, such as Google Drive links
Replacing text such as first name, last name, intranet name, etc. for individual Members
Displaying custom Custom Code elements for each user
Here you will find a step-by-step guide on how to use template variables in Zapier:
Here you will find a step-by-step guide on how to use template variables when creating new Hubs:
We hope this article was helpful!
