--- title: Add customized variables in a document template description: Customize variables at a record producer level, and call out those variables in the HTML document template that you are configuring. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/employee-service-management/hr-service-delivery/add-variables-html.html release: australia product: HR Service Delivery classification: hr-service-delivery topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Variables supported in HTML document templates, Document Templates of type HTML, Configuring Document Templates, Document Templates, HR Documents, HR Service Delivery, Employee Service Management] --- # Add customized variables in a document template Customize variables at a record producer level, and call out those variables in the HTML document template that you are configuring. ## Before you begin Role required: sn\_doc.admin ## Procedure 1. Open a record producer and fill in the required fields. Add the variables that you want to use in the **Variables** list. 2. Open an HTML document template that has the same table selected as the record producer. Call out the customized variables in the HTML template body by typing in the variable in this format, for example, $ \{variables.start\_date\). **Note:** start\_date refers to the exact **Name** of the variable in the **Variables** list in the record producer.