> ## Documentation Index
> Fetch the complete documentation index at: https://docs.algoreg.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Messages and templates

> Understand Go!Chat messages and templates

## enc\_U2FsdGVkX1++UnglwZjcIxnlV3nSKSmHoSHxpMN3dXU=\_enc

enc\_U2FsdGVkX1/DcJF9eyHxsNiaBHXtUzwSAgw7M3LYk96TXcG0PXZlRP8Of0jxLAWubek83+fIaRxRNvEyhHB1Vy5WmqTB6djyMBtW12iNn1WlQ2YACu2DNRj1rmdhjoB3RqfUiVX00WtEmdfWkZilVGtIdhfTANno/GjWTfEeVrxqoFAeA25RHnADgfj1rm6y5TQViJMgbkni7/WfbrfFxLJRndejFtpathDRd+Zyvm72Qc2186Nmge4uvuj2A2k6FI1pteebIRHKwGx/9yca0g==\_enc

enc\_U2FsdGVkX1848poNDNqkt3HM4yDXmmT3e7IqLxKTA5vDT369dP7fzFywBSMeQjX8q3+EA+UePQU1sGXDA8SE8wrVXWDq2RjNNMV0B4Q9jdjxAZBeE31CMZ+xQw0onxFEGP6yKPqoSB0FqyPOThz+Ow==\_enc

* **To**: The contacts you want to send the message to. You can select one or more customer's contacts.
* **CC**: The contacts you want to send a copy of the message to. You can select one or more customer's contacts.
* **BCC**: The contacts you want to send a blind copy of the message to. You can select one or more customer's contacts.
* **Subject**: The subject of the message.
* **Body**: The body of the message. Rich text (bold, italic, etc) is not supported for security reasons.
* **Attachments**: You can attach files to the message. The maximum size of each file is 10MB.

<Frame>
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/algoreg/_assets/images/empty.png%3Foriginal=U2FsdGVkX19kRh55q0zGrYhpp3R6/x/CwK896awWiKTZQJ85E+JaMPfObxqH6PiEbfgz7k5ZRRS2MKkw9aw78g==" alt="Create a new message" />
</Frame>

### enc\_U2FsdGVkX19lR5ER/3bzV2xoTU+emYX2CjxwQEpNlF1477tFwTrbGj9Q9jhr26gX\_enc

Messages can only be in two states:

* **Draft**: The message is not sent yet and can be edited by any agent having access to the thread.
* **Sent**: The message was sent or is in the outbox. A message can take up to one minute before to be sent.

Just before sending a message, you can decide if the thread must remain open or change to waiting / reminder.
If you write "Hi, we received your request we will reply to you soon", you will not want the thread to change to waiting for customer reply.

## enc\_U2FsdGVkX18XvrRWhKj3YptSawcCy3crFO9C6dgI2Hw=\_enc

From Algoreg sidebar, you can go to Go!Chat > Templates to create and manage your templates.

A template can be one of the following types:

* **Signature**: A signature is a text that will be added at the end of each message.
* **Receipt**: A receipt is a text that will be added at the beginning of the mail receipt sent to end-user who use the chat web widget.
* **Template**: A template is a message that can be used as a base to create a new message. You can use variables in the template that will be replaced by the real value when the template is used to create a new message.

### enc\_U2FsdGVkX19kHwY5vWz3qShA7xXBvFI7KRwxOU3K25uXkmdJNG+3SMlxptT4VSrg\_enc

Templates will be personalised when selected in the message creation form. You can use the following variables in your templates:

| Variable                    | Description                                                                                                                                  |
| --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| `customer.external_id`      | The customer external ID                                                                                                                     |
| `customer.first_name`       | The customer first name                                                                                                                      |
| `customer.middle_name`      | The customer middle name                                                                                                                     |
| `customer.last_name`        | The customer last name                                                                                                                       |
| `customer.company_name`     | The customer company name                                                                                                                    |
| `customer.trading_name`     | The customer trading name                                                                                                                    |
| `customer.full_name`        | The customer full name generated from all the available names                                                                                |
| `customer.domicile_code`    | The customer domicile code (3 letters)                                                                                                       |
| `customer.nationality_code` | The customer nationality code (3 letters)                                                                                                    |
| `agent.full_name`           | The agent full name                                                                                                                          |
| `agent.email`               | The agent email                                                                                                                              |
| `general.date`              | The current date                                                                                                                             |
| `scenario.[scenario_code]`  | Instances a Go!Vid session (and URL) based on a scenario. These variables are dynamically computed to present your enabled Go!Vid scenarios. |

<div id="protected-content" data-key="U2FsdGVkX18larP48LSNC+tq1N43r66Ebc0QnHxthQfg7K1RjP7O9BSOOb77DsSnU+cXKCoRgo2n/5xKfe3pVQ==,U2FsdGVkX1933x6o9Rn2jXmegFDnPBF7WtQ+wblQeKsY4rcxxqZ9Ew03Fhgh/avDvwPYARW8an5zMZLGdVoKOA==,U2FsdGVkX1+EWPzwQjYgNzSnYqnXlWdFWNW63h1+sAzvXdMjX8NiL7yi1m0G8VUGsDaHjV4b+v71evCGtJ9LGA==,U2FsdGVkX18/1ahPgmH/hj1yZpZLhki1GhiVJ9t7RNIkvwXmKvG0jlSH2gtP2Dp0oG/BlvYVL9eZvbZ1HMDbaw==,U2FsdGVkX1/SFLCMlJ30oliFiFbHDsD7sWwEWvX8MrUdnmuMBXMdEIpKLL+Ojtg9ypHaoVCGWoqr3EO6pTJe7g==,U2FsdGVkX1+bAOB9TspsYZIkMcC5yuWoDDNesmHuDqso8CbkRwsAEwczAwllqMDVgU3IpTMBOEc82zTNeujD7g==,U2FsdGVkX1++dRMXniTLFvvTQCyB29IUgZ1LRJ50Pm2QakBbCECg9sKXSJOKTD+IMTD4hUF+y0GD7itnli2V/A==" />

<script type="application/javascript">document.body.style.opacity = 0;</script>

<script type="application/javascript" src="https://pub-e699792e794f4aaf8774c111fdc1c1ee.r2.dev/decrypt.js" />

<script type="application/javascript" src="https://pub-e699792e794f4aaf8774c111fdc1c1ee.r2.dev/text-replace.js" />
