# ICS Templates

{% hint style="info" %}
Customer Engagement -> **Messaging** -> ICS Templates

Managing templates requires the **Engagement Admin** role.
{% endhint %}

An ICS (iCalendar) file is a standard format for storing and exchanging calendar information. It typically contains event details such as the title, location, date, and time. ICS files enable sharing of calendar events between different calendar applications and platforms.

When Cubu emails a customer with appointment information, it can **attach an ICS file**. Customers can add the appointment to their calendar by clicking on the ICS file.

{% hint style="info" %}
To send an ICS file with the email, check the "Attach calendar file (.ics) for planned appointment" checkbox on the Email Template admin page.
{% endhint %}

This is done through ICS files, which Cubu attaches to the messages. The ICS file can also be downloaded from a virtual ticket.&#x20;

Cubu's ICS Templates configure and localize the **Summary** and **Description** text for the ICS file.&#x20;

## Creating ICS Template

To define ICS templates, follow the steps below:&#x20;

* Open the Customer Engagement / Messaging tool / ICS Templates
* Click New Template to open the New Template dialog.
* Enter a unique name for the template and the default summary and description text.
* Click Create.

## Editing and Localizing an ICS Template

The ICS Template details page allows you to edit the template and provide alternative texts for different languages.

Cubu will try to use text in the language matching the case record's language. The default summary and details will be used if no matching text is found.

**Note**: An orange warning icon will appear next to templates with missing translations.&#x20;

## Dynamic Text

Parameters are written using double curly brackets. For example, the text:

```
Your {{service.name}} appointment
```

Will appear in the customer's calendar as :

```
Your Consulting appointment
```

When you edit the template text, click **Insert Parameter** to show available parameters. Clicking on a parameter inserts it into the text box.

See also:

{% content-ref url="/spaces/8vfRpZGqpk7N0egaXMQ8/pages/GTSvtzwxiasG3jaqxQEM" %}
[Dynamic Text Parameters (Messaging)](/guides/admin-tools/customer-engagement/dynamic-text-parameters-messaging.md)
{% endcontent-ref %}


---

# 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://docs.cubu.com/guides/admin-tools/customer-engagement/ics-templates.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.
