Hostfully allows users to customize the data which can be provided as variables to the Template and Triggers system, providing extra flexibility and expanding automation capabilities.
Step 1: creating your custom fields
To get started review this functionality, open the Template and Triggers page, then click on the Custom Data tab:
Enter the field name and a corresponding field type, which can be one of the two:
Text: a string with a maximum length of 255 characters
Long Text: text with a ~4GB limit
Note that Hostfully will provide the variable name automatically (3rd column), based on the name you used for your field. The variable name will later be usable in your custom templates.
Step 2: providing your custom data for each custom field
Now, let's provide data for those custom fields. The custom fields we created above will be exposed for each of the property we have. Head to the Properties list, select a property to load the Property Settings page. On that page, click the Custom Data link to load the Custom Data page for that property:
Step 3: Using the variables in your custom templates
Now that we provided values for each field, we can start using the variables in our custom templates. We can test this by creating a new template on the Templates and Triggers page, Custom Templates tab. Click on the green Create a Template button, which opens the editor, as below:
When selecting the "Insert a Variable" drop down, you will find your new custom variables in the list of variables (they're identified by a [Custom] marker).
Once you select a variable, it will be automatically added to the field and will be automatically filled with the value you defined for each property, once the message using this template will be sent.
In the case above, the email was sent and the wifi name and password were automatically added to the email, based on the values we had provided in Property Settings > Custom Data for that property:
For more information on using custom templates, please see our article at http://help.hostfully.com/messaging-and-automation/creating-custom-templates-and-triggers