# Chat rules by channel, with a message

> Limit a chat rule to WhatsApp, email, website chat or any other channel, and send the customer a short message when the rule hands the chat to your team.

> Status: in development, not available yet.

A chat rule can apply to one channel, such as WhatsApp or email, instead of every conversation. When the rule hands the chat to your team, it can also send the customer a short message first, so the chat never goes silent while they wait for a person.

## What it does

- **Limit a rule to one channel.** Choose **On which channels?** and pick **Website chat**, **Email**, **WhatsApp**, **SMS**, **Telegram**, **Slack**, **Discord**, **Messenger**, **Instagram** or **Phone calls**. The default is **Every channel**.
- **Cover the channel's variants.** **Website chat** covers the embedded widget and the hosted chat page. **Email** covers both email channels.
- **Tell the customer first.** On a rule that hands the chat to your team, **Tell the customer (optional)** is sent right before the hand-over.
- **Keep the rest unchanged.** A rule with no channel applies everywhere, as before.

## How to use it

1. Open **Automation** and the **Chat rules** tab. See [Chat rules](/automation/chat-rules/) for the basics.
2. Add a rule, or open one, and set the trigger under **When**.
3. Under **Then**, choose **Hand it to your team**.
4. In **Tell the customer (optional)**, write one or two sentences, for example "Sorry about that. Someone from our team will reply here shortly."
5. In **On which channels?**, pick the channel.
6. Check the sentence at the bottom, which reads back what the rule does, then select **Add rule** or **Save**.

The message goes out on the same channel the customer is writing in, as a reply from your agent.

## Limits

- The message is sent only when the rule hands the chat to your team. A rule with another action cannot carry one.
- The message is up to 300 characters in the editor.
- A rule has one channel, or all. To cover two channels with different wording, make two rules.

## Questions

### Can one rule cover WhatsApp and email?
Not with a channel set. Leave **On which channels?** on **Every channel**, or make one rule per channel.

### Does the customer see the rule's note?
No. The **Note for your team** is shown only in the Inbox. Only **Tell the customer** reaches the customer.

### What if nobody can take the chat?
The message is still sent, and the conversation is marked as handed over. See [Hand a chat to a person](/actions/hand-off-to-a-person/).

## Related

- [Chat rules](/automation/chat-rules/)
- [Chat rules that fire when a chat goes quiet](/automation/when-a-chat-goes-quiet/)
- [Assign and claim conversations](/inbox/assignment/)

Source: https://docs.askvault.co/automation/rules-by-channel/
