# Keywords that actually fire

By default, a keyword matches **anywhere** in the comment or DM. `price` fires on `whats the price?`, and even inside `pricey`. This page explains exactly how matching works, and when to use the stricter **Exact match** and **Starts with** conditions.

## How matching works

1. **Case doesn't matter.** `PRICE`, `price` and `Price` are the same. (The editor shows keywords in capitals, but matching ignores case.)
2. **Spaces at the start and end are ignored**, on both the message and the keyword.
3. **Any one keyword is enough.** If a trigger has several keywords, a message that matches one of them fires the trigger.
4. **Match Condition decides where the keyword must appear.** See [below](#match-condition).

Thai, Indonesian and Vietnamese follow the same rules. Tuku normalises text first, so Thai vowel and tone marks typed in a different order still match.

## Match condition

Each keyword trigger (**Comment Keyword** and **DM Keyword**) has a **Match Condition** setting:

| Condition | Fires when | Example (keyword `price`) |
| --- | --- | --- |
| **Contains** (default) | The keyword appears anywhere in the message. | `whats the price?`, `pricey`, `price pls` all match. |
| **Exact match** | The whole message is the keyword. | Only `price` matches. `price?` does not. |
| **Starts with** | The message begins with the keyword. | `price please` matches. `whats the price` does not. |

- **Contains** is right for most real-world comments, which are messy.
- **Exact match** is for tightly controlled keywords. For example, your video asks viewers to comment one exact word, and you don't want `pricey` or `price is too high` to fire.
- **Starts with** is in between: the message has to *start* with the keyword.

When a trigger uses **Exact match** or **Starts with**, the trigger card on the canvas shows a small badge. **Contains** has no badge.

:::caution
Exact match and Starts with are strict. If real comments say `price?`, `how much is the price` or `price ka`, none of them fire on Exact match. When in doubt, stay on **Contains** and build a good [keyword list](#build-a-strong-keyword-list) instead.
:::

## Build a strong keyword list

A good list has three rings.

### 1. The literal word

The most common form: `PRICE`, `ราคา`, `harga`, `giá`.

### 2. Common typos and short forms

Real comments are messy. Add the variants you see:

- `prc`, `pricw`, `pirce`
- `ราคาเท่าไร`, `ราคาเทาไหร่`, `เท่าไร`, `เท่าไหร่`
- `brp`, `brapa`, `berapa`
- `bnhieu`, `bao nhiêu`

### 3. The implied question

People don't always say "price". They say "how much" or "available?". Add these as keywords if you see them often:

- `how much`
- `กี่บาท`, `ขายเท่าไร`
- `ada stok`, `still available`

**Tip:** Leave the `?` **off** your keyword. With **Contains**, `how much` still catches `how much?`. But a keyword typed as `how much?` only matches when the `?` is there.

## What not to put in your list

- **Very short words** like `a`, `is`, `ม`. They fire on almost everything.
- **Brand or product names**, unless you really want to DM everyone who mentions them.
- **Negative words** like `bad` or `แพง` (expensive), unless you've planned the reply.

## Overlapping keywords across automations

Only one automation runs per comment or DM. If two active automations share a keyword, you can't predict which one runs. Remember that case doesn't matter, so `LINK` and `link` are the same keyword.

When you **Publish**, Tuku checks your other active automations and shows a warning (**Published — heads up:**) if it finds an overlap:

- **Comment Keyword** automations overlap when their post scopes overlap. Two **Specific Posts** triggers only overlap if they share a post. Two **All Posts of One Account** triggers only overlap on the same account.
- **DM Keyword** automations overlap only when they listen on the same account. A trigger on **All accounts** overlaps with every DM trigger.

The warning does not stop publishing. But it is a strong hint to merge the two automations or give them different keywords.

## Keywords and auto messages

Taps on a [chat prompt](/automations/auto-messages#chat-prompts) or a new follower message quick reply arrive as the customer's own DM. To answer them with a flow, use a **DM Keyword** trigger with **Exact match** on the same text. The **Automate** and **Set up automation** buttons on the Auto messages page build this for you.

Don't use a [suggested question](/automations/auto-messages#suggested-questions) as a DM keyword. TikTok already answers it, so the customer would get two replies.

## Mixed-language audiences

- Create **one trigger with keywords in every language**, and write the DM in a way everyone understands, or
- Create **one automation per language**, each with keywords and messages in that language. This is a bit more setup, but each message fits its audience better.