# PEKO AI Agent — Prompt Library

Copy any prompt below and paste it into the **Try the AI Agent** widget on peko's product, restaurant-CRM, or comparison pages. The Agent drafts the full configuration inside PEKO; you review and click **Approve**. Nothing goes live until you approve.

Every prompt ships bilingually — English first, Vietnamese below.

---

## Vouchers & discounts · Voucher & khuyến mãi

> Draft a voucher in one sentence. The Agent fills every field — value, cap, audience, timing, channel — and waits for your approval.
>
> Mô tả voucher trong một câu. Trợ lý AI điền mọi ô — giá trị, giới hạn, tệp khách, thời gian, kênh — rồi chờ bạn duyệt.

### Weekday lunch drive · Kéo khách trưa các ngày trong tuần

**Prompt (EN)**

```
Create a 20% off voucher on pasta and rice bowls for weekday lunch (11:00–14:00), Mon–Fri. Target lapsed diners we haven't seen in 30 days. Cap 1 redemption per customer, push via app and Zalo.
```

**Prompt (VI)**

```
Tạo voucher giảm 20% cho món pasta và cơm phần bữa trưa các ngày trong tuần (11:00–14:00), thứ Hai–thứ Sáu. Nhắm khách lâu chưa quay lại quá 30 ngày. Giới hạn 1 lần đổi mỗi khách, đẩy qua app và Zalo.
```

*What the Agent does:* Drafts a percentage voucher scoped to two menu categories, sets the weekday time window, builds the 30-day lapsed segment, sets per-customer limit, and prepares an app + Zalo push.

*Trợ lý AI làm gì:* Dựng voucher % giới hạn theo hai nhóm món, đặt khung giờ trưa các ngày trong tuần, dựng tệp khách 30 ngày chưa quay lại, đặt giới hạn theo khách và chuẩn bị push app + Zalo.

---

### BOGO for top spenders · Mua 1 tặng 1 cho khách chi tiêu cao

**Prompt (EN)**

```
Buy-1-get-1 on all bubble tea items during weekday happy hour 14:00–17:00 for our top 100 spenders in the last 90 days. One redemption per customer, valid two weeks.
```

**Prompt (VI)**

```
Mua 1 tặng 1 cho toàn bộ trà sữa vào happy hour 14:00–17:00 các ngày trong tuần, dành cho 100 khách chi tiêu cao nhất trong 90 ngày qua. Một khách đổi một lần, hiệu lực hai tuần.
```

*What the Agent does:* Ranks customers by 90-day spend, targets the top 100, drafts a BOGO rule on the bubble tea category, and sets the two-week validity window.

*Trợ lý AI làm gì:* Xếp hạng khách theo chi tiêu 90 ngày, chọn top 100, dựng luật BOGO trên nhóm trà sữa và đặt hiệu lực hai tuần.

---

### New-signup welcome · Chào mừng khách mới

**Prompt (EN)**

```
Give new members who signed up this month a $5 off voucher on any order above $30. Valid two weeks from signup. Send by app push + SMS at 10:00 the day after signup.
```

**Prompt (VI)**

```
Tặng khách mới đăng ký trong tháng voucher giảm 30.000đ cho đơn từ 200.000đ. Hiệu lực 2 tuần từ ngày đăng ký. Gửi qua app push + SMS lúc 10:00 ngày hôm sau.
```

*What the Agent does:* Builds a rolling new-member segment, drafts a fixed-amount voucher with a $30 minimum, schedules a delayed send the day after signup, and picks app + SMS channels.

*Trợ lý AI làm gì:* Dựng tệp khách mới cuộn, dựng voucher số tiền cố định với đơn tối thiểu 200k, hẹn gửi trễ 1 ngày sau đăng ký, chọn kênh app + SMS.

---

### Free-dessert brunch · Brunch tặng tráng miệng

**Prompt (EN)**

```
Free dessert with any main course on Saturday and Sunday brunch 10:00–13:00. One per table, limit 200 redemptions this weekend.
```

**Prompt (VI)**

```
Tặng tráng miệng khi gọi món chính vào brunch thứ Bảy và Chủ Nhật 10:00–13:00. Mỗi bàn 1 lần, tổng 200 lượt đổi cuối tuần này.
```

*What the Agent does:* Drafts a free-item voucher tied to a mains condition, sets weekend day-part rules, adds table-level and total-redemption caps.

*Trợ lý AI làm gì:* Dựng voucher tặng món kèm điều kiện món chính, đặt khung ngày cuối tuần, thêm giới hạn theo bàn và tổng lượt đổi.

---

### Birthday treat · Ưu đãi sinh nhật

**Prompt (EN)**

```
For every member whose birthday is next week, send a 25% off voucher valid for 14 days starting on their birthday. Push through Zalo, then SMS fallback if unread after 48 hours.
```

**Prompt (VI)**

```
Với mọi thành viên có sinh nhật tuần sau, gửi voucher giảm 25% hiệu lực 14 ngày từ ngày sinh nhật. Đẩy qua Zalo, dự phòng SMS nếu chưa đọc sau 48 giờ.
```

*What the Agent does:* Runs a birthday query for next week, drafts a personalized voucher per member, schedules the primary Zalo push, and configures the 48-hour SMS fallback.

*Trợ lý AI làm gì:* Chạy truy vấn sinh nhật tuần sau, dựng voucher cá nhân hóa từng khách, hẹn push Zalo chính và cấu hình dự phòng SMS sau 48 giờ.

---

## Membership & loyalty · Thành viên & tích điểm

> Change tiers, points and perks by chat. The Agent updates loyalty rules and drafts the member-facing message in the same screen.
>
> Đổi hạng, điểm và ưu đãi bằng chat. Trợ lý AI cập nhật luật loyalty và soạn thông báo cho thành viên ngay trong màn hình đó.

### Launch a 3-tier program · Ra mắt chương trình 3 hạng

**Prompt (EN)**

```
Set up three loyalty tiers: Silver (0–999 points), Gold (1000–4999), Platinum (5000+). Members earn 1 point per $1. Gold gets 10% off drinks; Platinum gets 15% off entire bill + priority reservation. Announce the launch to all existing members.
```

**Prompt (VI)**

```
Cài chương trình 3 hạng: Bạc (0–999 điểm), Vàng (1000–4999), Bạch Kim (5000+). Tích 1 điểm cho mỗi 20.000đ. Vàng giảm 10% đồ uống; Bạch Kim giảm 15% cả hóa đơn + ưu tiên đặt bàn. Thông báo ra mắt tới toàn bộ thành viên hiện có.
```

*What the Agent does:* Creates three tier definitions with point ranges and earn rate, attaches per-tier perks, and drafts a launch announcement to the full member base.

*Trợ lý AI làm gì:* Tạo 3 định nghĩa hạng với ngưỡng điểm và tỷ lệ tích, gắn ưu đãi từng hạng, và soạn thông báo ra mắt tới toàn bộ thành viên.

---

### Double points weekend · Cuối tuần nhân đôi điểm

**Prompt (EN)**

```
Turn on 2x points for all orders this Saturday and Sunday. Notify Gold and Platinum members Friday 18:00 by Zalo.
```

**Prompt (VI)**

```
Bật nhân đôi điểm cho mọi đơn thứ Bảy và Chủ Nhật tuần này. Thông báo cho khách Vàng và Bạch Kim vào 18:00 thứ Sáu qua Zalo.
```

*What the Agent does:* Adds a 2x point multiplier on the weekend window, targets the two highest tiers, and schedules the Zalo notification for Friday 18:00.

*Trợ lý AI làm gì:* Bật hệ số nhân điểm 2x cho khung cuối tuần, nhắm hai hạng cao nhất, và hẹn thông báo Zalo vào 18:00 thứ Sáu.

---

### Surprise perk for Platinum · Ưu đãi bất ngờ cho Bạch Kim

**Prompt (EN)**

```
Send every Platinum member a free signature dessert voucher, no minimum spend, valid this month only. Personalize the message with their first name.
```

**Prompt (VI)**

```
Gửi mọi khách Bạch Kim voucher tráng miệng đặc trưng miễn phí, không yêu cầu tối thiểu, chỉ hiệu lực trong tháng. Cá nhân hóa lời chào bằng tên riêng.
```

*What the Agent does:* Filters to the Platinum tier, drafts a free-item voucher with no minimum, inserts a first-name merge tag in the copy, and picks the highest-open channel per member.

*Trợ lý AI làm gì:* Lọc hạng Bạch Kim, dựng voucher tặng món không yêu cầu tối thiểu, chèn thẻ ghép tên riêng và chọn kênh có tỷ lệ mở cao nhất cho từng khách.

---

### Referral bonus rule · Luật thưởng giới thiệu

**Prompt (EN)**

```
Any member who refers a friend earns 500 bonus points once the friend places their first order. Send both the referrer and the new customer a thank-you note.
```

**Prompt (VI)**

```
Mọi thành viên giới thiệu bạn được thưởng 500 điểm khi bạn của họ đặt đơn đầu tiên. Gửi lời cảm ơn tới cả người giới thiệu và khách mới.
```

*What the Agent does:* Adds a referral-triggered points rule, sets the fulfillment condition to first paid order, and drafts thank-you messages for both parties.

*Trợ lý AI làm gì:* Thêm luật cộng điểm kích hoạt bằng giới thiệu, đặt điều kiện là đơn trả tiền đầu tiên, và soạn lời cảm ơn cho cả hai bên.

---

### Point-expiry nudge · Nhắc điểm sắp hết hạn

**Prompt (EN)**

```
Any member with points expiring in the next 30 days should get a reminder message with a redemption suggestion. Send Sunday 11:00 by Zalo.
```

**Prompt (VI)**

```
Thành viên có điểm hết hạn trong 30 ngày tới nhận tin nhắn nhắc kèm gợi ý đổi điểm. Gửi Chủ Nhật 11:00 qua Zalo.
```

*What the Agent does:* Runs the expiring-points query, calculates a personalized redemption suggestion per member, and schedules a Sunday 11:00 Zalo send.

*Trợ lý AI làm gì:* Chạy truy vấn điểm sắp hết hạn, tính gợi ý đổi cá nhân hóa cho từng khách và hẹn gửi Zalo Chủ Nhật 11:00.

---

## Segmentation & win-back · Phân tệp khách & kéo khách trở lại

> Describe the customers in plain language. The Agent builds the segment, checks the size, and drafts the campaign against it.
>
> Mô tả tệp khách bằng ngôn ngữ tự nhiên. Trợ lý AI dựng tệp, kiểm tra quy mô và soạn chiến dịch chạy trên tệp đó.

### 30-day lapsed win-back · Kéo khách 30 ngày chưa quay lại

**Prompt (EN)**

```
Build a segment of customers who ordered at least twice in the last 6 months but haven't visited in 30 days. Send them a personalized win-back message with a 15% off voucher valid one week. Channel: Zalo, SMS fallback.
```

**Prompt (VI)**

```
Dựng tệp khách đã đặt ít nhất 2 lần trong 6 tháng qua nhưng chưa quay lại trong 30 ngày. Gửi lời kéo khách cá nhân hóa kèm voucher giảm 15% hiệu lực 1 tuần. Kênh: Zalo, dự phòng SMS.
```

*What the Agent does:* Composes the two-condition segment, shows the current size, drafts a 15% voucher with a 7-day validity, and configures Zalo primary + SMS fallback.

*Trợ lý AI làm gì:* Ghép tệp khách hai điều kiện, hiển thị quy mô hiện tại, dựng voucher 15% hiệu lực 7 ngày, cấu hình Zalo chính + SMS dự phòng.

---

### High-value VIP watchlist · Danh sách VIP giá trị cao

**Prompt (EN)**

```
Segment customers who spent more than $500 in the last 90 days and visit at least once a week. Add them to a VIP watchlist and send the manager a weekly Monday summary of their activity.
```

**Prompt (VI)**

```
Tệp khách chi hơn 10 triệu trong 90 ngày qua và ghé ít nhất 1 lần mỗi tuần. Thêm vào danh sách VIP và gửi quản lý bản tổng hợp hoạt động hàng tuần vào thứ Hai.
```

*What the Agent does:* Runs the spend + frequency filter, saves the result as a named VIP watchlist, and schedules a Monday summary email/Zalo to the manager.

*Trợ lý AI làm gì:* Chạy bộ lọc chi tiêu + tần suất, lưu kết quả thành danh sách VIP có tên, và hẹn bản tổng hợp thứ Hai gửi email/Zalo cho quản lý.

---

### Family brunch audience · Tệp khách brunch gia đình

**Prompt (EN)**

```
Find customers whose orders usually include 3+ mains and often order on weekend mornings. Build an audience I can reuse and draft an invite for a family brunch tasting event next Sunday.
```

**Prompt (VI)**

```
Tìm khách thường đặt 3+ món chính và hay đặt sáng cuối tuần. Dựng tệp có thể tái sử dụng và soạn thư mời sự kiện thử món brunch gia đình Chủ Nhật tuần sau.
```

*What the Agent does:* Builds a reusable audience from basket-size + day-part behavior and drafts an event invite with a save-the-date CTA.

*Trợ lý AI làm gì:* Dựng tệp tái sử dụng từ kích thước giỏ hàng + thời điểm ghé và soạn thư mời sự kiện có CTA giữ chỗ.

---

### One-and-done rescue · Cứu khách chỉ ghé một lần

**Prompt (EN)**

```
Customers who ordered exactly once in the last 60 days and never came back — send them a friendly check-in message with a free coffee voucher, no strings. Zalo only.
```

**Prompt (VI)**

```
Khách chỉ đặt đúng 1 lần trong 60 ngày qua và không quay lại — gửi lời hỏi thăm thân thiện kèm voucher cà phê miễn phí, không điều kiện. Chỉ Zalo.
```

*What the Agent does:* Filters to exactly-one-order-in-60-days, drafts a warm one-line message, attaches a no-minimum free coffee voucher, and locks the channel to Zalo.

*Trợ lý AI làm gì:* Lọc đúng 1 đơn trong 60 ngày, soạn tin nhắn ấm áp một dòng, đính voucher cà phê miễn phí không điều kiện, và cố định kênh Zalo.

---

### Gift-shoppers pre-Tet · Khách mua quà cận Tết

**Prompt (EN)**

```
Two weeks before Tet, target anyone who bought gift cards or hampers in the last two years. Send a preview of this year's gift catalog with early-bird pricing valid 7 days.
```

**Prompt (VI)**

```
Hai tuần trước Tết, nhắm mọi khách đã mua thẻ quà hoặc hộp quà trong 2 năm qua. Gửi trước catalogue quà năm nay kèm giá early-bird hiệu lực 7 ngày.
```

*What the Agent does:* Runs a two-year purchase-history filter for gift SKUs, schedules the send two weeks pre-Tet, and drafts the catalog announcement with a 7-day pricing window.

*Trợ lý AI làm gì:* Chạy bộ lọc lịch sử mua 2 năm cho SKU quà, hẹn gửi trước Tết 2 tuần, và soạn thông báo catalogue với ưu đãi giá 7 ngày.

---


_Generated from `src/data/aiAgentPromptTemplates.ts`. Regenerate with `bun run scripts/generate-prompt-library.mjs`._
