# Template HTML

Some functionality within Workflow can only be accomplished by using HTML. This section provides some examples of this. The examples below

**Candidate list for client emails**

When creating an email for a client you may wish to include information about the candidate(s). In order to do this you must include the following structure:

```html
<div><candidates>
    [candidate content here e.g. ${candidate.name}]
</candidates></div>
```

All information regarding individual candidates must be included within the div and candidate tags. This section is then repeated for each candidate.

**CV send - candidate email**

For the specific case of sending candidate emails via the CV send functionality a few tags are required at the very top of the HTML content. For every candidate CV send email include the following at the top of the HTML source:

```html
<div><candidateemail></candidateemail></div>
```

**Interview scheduler**

When sending a client email within an interview scheduler workflow the repeating candidates section is required, as above. The below example shows how you can include the date and time of the individual interviews.

<pre class="language-html"><code class="lang-html">&#x3C;div>&#x3C;candidates>
    &#x3C;table>
        &#x3C;tbody>
<strong>            &#x3C;tr>
</strong>                &#x3C;td>
                    ${candidate.appointment.dateBegin.formatDate("dd/MM/yyyy' at 'h:mm a")}
                &#x3C;/td>
            &#x3C;/tr>
        &#x3C;/tbody>
    &#x3C;/table>
&#x3C;/candidates>&#x3C;/div>
</code></pre>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.kyloepartners.com/kyloe-workflow/kyloe-workflow-admin-guide/creating-your-email-templates/template-html.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
