Tools
Dom Zalo Care
Zero-token Zalo customer care + group moderation plugin for OpenClaw
Install
openclaw plugins install dom-zalo-care
Configuration Example
{
"plugins": {
"entries": {
"dom-zalo-care": {
"enabled": true,
"config": {
"botName": "Dom",
"zaloDisplayNames": ["Dom"],
"faqEnabled": true,
"welcomeEnabled": true,
"ownerId": "your-zalo-user-id",
"faqEntries": [
{
"patterns": ["giá", "price", "phí"],
"reply": "Bảng giá: 500K/tháng"
}
]
}
}
}
}
}
README
# Dom Zalo Care
Zero-token Zalo customer care + group moderation plugin for OpenClaw.
## Features
- **FAQ Auto-Reply (zero-token)** — Auto-answer common questions (pricing, address, hours, hotline, greetings) without LLM tokens
- **Slash Commands** — `/dom-noi-quy`, `/dom-menu`, `/dom-huong-dan`, `/dom-warn`, `/dom-note`, `/dom-report`, `/dom-memory`, `/dom-rules`
- **Anti-Spam** — Detect repeated messages, emoji floods, spam links
- **Welcome** — Auto-greet new group members (polling-based)
- **Silent Mode** — Bot only replies when @mentioned
- **Mute/Unmute** — Admin can toggle bot in group
- **Memory Sync** — Log chat highlights, violations, warns, admin notes
- **Sticker Detection** — Transform sticker JSON to `[Sticker]`
- **DM Whitelist** — Control who can DM the bot
- **Owner Panel** — Manage settings via DM
## Install
```bash
npx openclaw plugins install dom-zalo-care
```
## Config
In `openclaw.json`:
```json
{
"plugins": {
"entries": {
"dom-zalo-care": {
"enabled": true,
"config": {
"botName": "Dom",
"zaloDisplayNames": ["Dom"],
"faqEnabled": true,
"welcomeEnabled": true,
"ownerId": "your-zalo-user-id",
"faqEntries": [
{
"patterns": ["giá", "price", "phí"],
"reply": "Bảng giá: 500K/tháng"
}
]
}
}
}
}
}
```
## FAQ Customization
Add entries to `faqEntries` array. Each entry has:
- `patterns`: array of regex strings to match
- `reply`: text to send back
Default FAQ covers: pricing, address, hours, hotline, thank you, greetings.
## Commands
| Command | Who | Description |
|---------|-----|-------------|
| `/dom-noi-quy` | All | View group rules |
| `/dom-menu` | All | Command menu |
| `/dom-huong-dan` | All | Usage guide |
| `/dom-warn @name [reason]` | Admin | Warn a member |
| `/dom-note [text]` | Admin | Admin note |
| `/dom-report` | Admin | Violation report |
| `/dom-memory` | Admin | Save memory digest |
| `/dom-rules` | Owner | Settings panel |
| `/dom-rules status` | Owner | Current config |
| `/dom-rules silent-on/off` | Owner | Toggle silent mode |
| `/dom-rules welcome-on/off` | Owner | Toggle welcome |
| `/dom-rules tracking-on/off` | Owner | Toggle chat tracking |
| `/dom-mute` | Admin | Mute bot |
| `/dom-unmute` | Admin | Unmute bot |
## License
MIT
tools
Comments
Sign in to leave a comment