# Set up keyword replies

> Answer common questions automatically whenever a message contains certain words.

Source: https://docs.soosh.io/guides/chatbot/set-up-keyword-replies/

## Before you start

- Owner, admin or manager role in Soosh

## Add a keyword reply

1. Go to [**Automation > Keyword replies**](https://app.soosh.io/chatbot/keyword-replies) and click **Add keyword reply**.
2. In **Keywords (comma-separated)**, enter the words to listen for, separated by commas, like
   *delivery, deliver, shipping*.
3. In **Match type**, choose how they must appear:
   - **Contains**: anywhere in the message.
   - **Exact match**: the whole message is the keyword.
   - **Pattern**: a regular expression, for advanced use.
4. In **Response type**, choose **Text response** to answer, **Hand over to a
   person** to hand the chat to your team, or **Products from your catalog**
   to [send products](#send-products). A handover sends the customer your
   **Handover message (optional)** first.
5. In **Response message**, write the answer. Optional: click **Reply button**
   to add buttons the customer can tap, or **Link button** to add one that
   opens a web page. Up to 3 reply buttons show as buttons, and more show as a
   list.
6. Optional: if several rules could match the same message, give this one a
   higher **Priority (higher = checked first)**.
7. Click **Create**.

   *Picture: The New keyword page with the keywords delivery, deliver, shipping and the delivery answer, and a preview of a customer's message and the reply*

The **Preview** on the right shows a message that matches and the reply. To
change a keyword reply later, open it, edit it and click **Save** in the bar
that appears at the bottom.

## Send products

A keyword reply can send products from a
[catalog](https://docs.soosh.io/guides/workspace/set-up-a-product-catalog/), as a WhatsApp product
message the customer can open, add to their cart and order from.

1. In **Response type**, choose **Products from your catalog**.
2. Click **Choose products**. If your workspace has more than one catalog,
   choose it in **Catalog**.
3. Tick one product, or up to 30. For several, add a **Heading** and a
   **Message**, and optionally click **Add section** to group them.
4. Click **Use product** or **Use 3 products**. The **Preview** shows them as
   the customer will.

Keyword replies answer on every number, but products go only from numbers
connected to the catalog's WhatsApp Business Account. A customer who writes to
another number gets the message alone, or nothing if it has none.

## Result

The keyword reply is in the list, switched on. It answers only while the bot is
on: in [**Automation > Bot overview**](https://app.soosh.io/chatbot), click **Turn on bot** if it says **Off**. To
check what a customer would get, type a message under **Try the bot** on that
page. Nothing is sent to WhatsApp.

To stop one keyword reply without deleting it, turn off its switch in the list.

## Related

- [Build your first bot](https://docs.soosh.io/get-started/build-your-first-bot/)
- [How AI answers are built](https://docs.soosh.io/concepts/how-ai-answers-are-built/)
