# Out of hours message

### Overview

Zaapi’s Out of Hours Automation ensures customers are informed when they reach out outside of business hours. This helps manage expectations by letting them know when they can expect a response.

{% hint style="info" %}
If a **greeting message** is enabled, the out-of-hours message will take priority when triggered during non-working hours.
{% endhint %}

***

### How to set an out of hours message

1. **Go to Basic Automations** – Navigate to the **Basic Automations** tab in the side navigation.
2. **Click "Create New Automation"** – This will open the automation setup.
3. **Select "Out of Hours Message"** – This automation will trigger when a customer messages outside of working hours.
4. **Choose Messaging Channels** – Select the platforms where this automation should apply.
5. **Review and Adjust Business Hours** – Check the current business hours and modify them in settings if needed.
6. **Create the Automated Response** – Choose what to send to the customer:
   * **Text Message** – Add a message, and optionally include variables like `{customer_name}` or `{integration_name}` for personalization.
   * **Images or Videos** – Attach relevant media if needed.
7. **Name Your Automation** – Give it a recognizable name for easy management.
8. **Click "Create Automation"** – The out-of-hours message will now be triggered whenever a customer sends a message outside of business hours.


---

# 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.zaapi.com/automations/basic-automations/out-of-hours-message.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.
