# Template 3 · Base replies and the handoff rule

This is the **guardrail** (what she can't do): which cases Alba hands to Rosa, what she tells the customer and how you find out. In the flow the rule has two layers, so it doesn't depend on the AI alone:

1. **Alert words** (node **Alert word?**): if the message has one of these words, it goes straight to Rosa without asking the AI.
2. **Classifier** (node **Guardrail: hand to Rosa?**): the AI reads the message and decides whether it's a case for Rosa, even without a word from the list ("my daughter can't have anything with flour").

## Alert words

```text
allergy, allergic, nut, nuts, walnut, peanut, gluten, celiac, lactose, intolerant, diabetic, complaint, refund, got sick, food poisoning, talk to a person, talk to someone, talk to Rosa, speak to a person, human
```

If your business has others (for example "sugar-free" if you don't make it), add them in the node. Handing off too much is better than too little.

## Base replies

These are fixed: the flow sends them as they are, the AI doesn't write them. `[when]` is worked out by the flow from your hours: "today at 8:00 AM", "tomorrow at 8:00 AM" or "on Monday at 8:00 AM".

| Case | What the customer gets |
|---|---|
| Allergy, complaint, something off the list, or asks for a person | "Rosa will confirm that with you [when]. I've already passed her your message." |
| Order written down (Alba writes it, along these lines) | "Done, it's written down. Rosa will review it [when] and text you to confirm it and take the 50% deposit." |
| Order with less than 2 days' notice (Alba writes it, along these lines) | "Rosa needs two days' notice to do it right. I can put you down for [earliest date]. Does that work?" |
| Message during business hours | Nothing: Rosa replies. The flow doesn't answer. |
| STOP, HELP and similar | Nothing from the flow: Twilio answers opt-out and help keywords itself (step 3 of the guide). |

## How you (Rosa) find out

- **Right away:** an email with the number, the message and the reason ("Alba handed you a case: allergy"). It won't wake you up: you read it when you open it.
- **At 7:45 AM:** a summary of the whole night: the orders written down (to confirm) and the cases she handed you. At 8:00 you reply from the bakery's text line.
- Everything is also saved in the `turno_noche` table in n8n, with status `nuevo` until it goes out in the summary.
