
## Before You Start

- **Business Hours** must be enabled and configured in [WhatsApp General Settings](/docs/whatsapp-general-settings). This rule uses the "After business hours" condition.

- **Test Group** — Add at least one phone number in [Whatsapp General Settings](/docs/whatsapp-general-settings).

If you are new to auto reply rules, read [Setting Up Auto Reply Rules](/docs/setting-up-auto-reply-rules-for-your-whatsapp) first.

---

## When This Rule Fires

Pre-configured condition:

- **After business hours** — Any incoming message that arrives outside your opening hours.

That is the only condition. Unlike the [New Customer After Hours](/docs/new-customer-after-hours) rule, this one does not require the customer to be new or the conversation to be new. It matches **anyone** messaging after hours — new or returning.

---

## How to Set It Up

1. Go to **WhatsApp Settings** → <Badge>Auto Reply Rules tab</Badge>

![Go to WhatsApp Settings → Auto Reply Rules tab](https://cdn.easybizcloud.app/knowledge/c9aefd0c85eae241324918fc428160ccdadedea258a9cff528f61cbd388e13bf.png)

2. Click <Badge>+ Add Rule</Badge>

![Click + Add Rule](https://cdn.easybizcloud.app/knowledge/6c06e161fd1f220a027b89f5d7aac29fb5e1afbefe7a08d33b4f2d66baa4f36a.png)

3. Under **Operational**, select **After Working Hours**

![Under Operational, select After Working Hours](https://cdn.easybizcloud.app/knowledge/53a5637ee80bc026c797a8a60deba7d65e6d5b4fb247561ad588221a4756bac0.png)

4. The "After business hours" condition will be pre-configured.

![The "After business hours" condition will be pre-configured.](https://cdn.easybizcloud.app/knowledge/5fdd993e44de3486e093b6b926a16d017a37ddd894049cdccd19a18364be8e43.png)

5. Edit the **reply message**(optional).The default is:

> "Hi, thanks for reaching out! We're currently closed and will get back to you during our next business hours at @Next Available Time."

!["Hi, thanks for reaching out! We're currently closed and will get back to you during our next business hours at @Next Available Time."](https://cdn.easybizcloud.app/knowledge/5fdd993e44de3486e093b6b926a16d017a37ddd894049cdccd19a18364be8e43.png)

6. Set **Action type** — the default is **None**. See the upgrade tip below for a better option.

7. Set **Send frequency** to **Once every 24 hours** — this prevents the same customer from receiving the after-hours message multiple times in one evening if they send more than one message.

8. Click <Badge>Save</Badge>.

9. Set **Status** to **Testing**.

![Set Status to Testing.](https://cdn.easybizcloud.app/knowledge/fd2e243cd75b56dd43ae8c14a27b648f687cf49febab6cb1d463961f2f805d7a.png)

---

## Rule Priority

<Callout type="important" title="⚠️ Important">

Put this rule at the **very top** of your rule list. It must sit above all greeting rules so that any customer messaging at night gets the after-hours message first — not a daytime welcome.

</Callout>

Recommended order:

1. **After Hours Notice** (this rule — top)

2. New Customer After Hours

3. New Customer Welcome

4. (Other auto reply rules below)

<Video src="https://cdn.easybizcloud.app/knowledge/video/0129376357a6eed8102254c73bb20120ce9234821043e2c6a84cc23be79422b6.mp4" />

---

## Testing the Rule

1. Make sure the rule is set to **Testing** status

2. Confirm your test phone number is in the **Test Group** ([General Settings](/docs/whatsapp-general-settings))

3. **Outside** your configured business hours, send a WhatsApp message from your test phone

4. You should receive the after-hours notice with the next opening time filled in

5. Send a second message a few minutes later — if you set the frequency to "Once every 24 hours" or "Once per conversation" you should **not** receive the reply again

<Video src="https://cdn.easybizcloud.app/knowledge/video/3d524e85219eeaf92b04c7ca40a5cc42e4151ab78b2ebb2aa28524d5ad77d70b.mp4" />

Once verified, switch the status from **Testing** to **Live**.

---

## What's Next

Now that all after-hours messages are covered, continue to [New Order Confirmation](/docs/new-order-confirmation) to set up the auto-reply that confirms a customer's order the moment it is placed.
