# Enable an autoreply

Use an autoreply if you'd like to automatically send your users a message when they email your support mailbox. &#x20;

{% hint style="success" %}
Keeping will only send **one auto reply per 24 hours** per customer.  So if your customer emails you 5 times in one 24 hour period, they will only receive one autoreply.
{% endhint %}

## Create Your Automatic Reply

Receipt Confirmations are **set on a per mailbox basis,** so if you have multiple mailboxes you'll need to set and enable the receipt confirmation for each mailbox. Each mailbox can have up to two auto replies: one that is sent during business hours and another for outside of business hours.

Navigate to the settings page for your mailbox by clicking the "pencil" icon next to your mailbox name.

<figure><img src="https://1058495162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCHa8WIsJ5Z5NqmPmq5VS%2Fuploads%2Fy7ivu903eUtxoOrx6a4m%2FAutoreply%20-%20Step%201.png?alt=media&#x26;token=24ccbeb0-1b9e-491f-ae15-7f64e48ab475" alt="Click the pencil to access your mailbox&#x27;s settings."><figcaption><p>Click the pencil to access your mailbox's settings.</p></figcaption></figure>

On your mailbox settings page, scroll to the bottom **click the checkbox** next to "Enable Automatic Replies", and then enter the message you want to send to your customer.

![Enable your receipt confirmation (auto reply) and hit save.](https://1058495162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCHa8WIsJ5Z5NqmPmq5VS%2Fuploads%2FEDloiOn6upChp8OKHVDH%2Fnew-auto-reply.png?alt=media\&token=818cf81a-230d-4eb0-9480-b2a5ba07e995)

## Configure Auto Replies by Business Hours

You may set two different auto replies based on your organization's business hours. After enabling Automatic Replies, choose **According to business hours** to send an auto reply based on your working schedule.&#x20;

You may choose whether to send an auto reply during business hours, outside of business hours, or both. Click **Enabled** or **Disabled** for each message to configure if a particular message is sent.

<figure><img src="https://1058495162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCHa8WIsJ5Z5NqmPmq5VS%2Fuploads%2FY7hULdRB9pJUjBoagykg%2Fauto-reply-business-hours.png?alt=media&#x26;token=5c1f7ec1-7b84-4e6b-958b-82bd74a62bf3" alt=""><figcaption></figcaption></figure>

## Using Variables in Auto Replies

Templates and Auto Replies support the Liquid templating language. You can use Liquid's bracket notation to insert these variables into your templates.

{% hint style="info" %}
Read more about the [Liquid Templating Language](https://shopify.github.io/liquid/basics/introduction/).&#x20;
{% endhint %}

### Customer Information

`{{customer.first_name}}` = The first name of your customer, if known

`{{customer.last_name}}`= The last name of your customer, if known

`{{customer.full_name}}` = The first and last name of your customer, if known

`{{customer.email_address}}` = The email address of your customer

### Mailbox & Ticket Information

`{{mailbox.email_address}}` = The email address of the current mailbox

`{{mailbox.name}}` = The name of the current mailbox, as you've defined it in Keeping

`{{ticket.id}}` = The 10 digit ID of the newly created ticket, for example eq7am42cxs

### Default Values for Variables

When a value might be absent, you can assign default values to variables using this format: `{{customer.first_name | default: "Customer"}}`

{% hint style="warning" %}
IIt's **strongly advised** to set default values for `customer.first_name`, `customer.last_name`, and `customer.full_name`, as these details might be missing when a customer emails your shared mailbox.
{% endhint %}

<figure><img src="https://1058495162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCHa8WIsJ5Z5NqmPmq5VS%2Fuploads%2FBhKLJEtGvp7jYFgBmJT2%2Fautoreply-with-variables.png?alt=media&#x26;token=dd7fd9e9-4114-40ec-abe3-67e434c9e3cc" alt=""><figcaption><p>Using variables in an auto reply</p></figcaption></figure>

#### Don't forget to hit save when you are done!
