with one click
order-tracker
订单管理系统,状态跟踪 + 客户通知
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
订单管理系统,状态跟踪 + 客户通知
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
动态定价引擎,铜价/数量阶梯/客户等级/汇率计算
审批流程引擎,报价审批 + 异常处理
邮件智能回复系统,自动识别客户意图并生成个性化回复草稿
生成专业收款通知,支持 HTML/PDF 格式,自动集成银行账户信息
Use when a sales workflow needs single-company customer background research, buyer/contact discovery, email verification, lead-fit scoring, source-backed outreach angles, or company dossier generation.
产品工程图纸结构化提取器 v5.0。pdftotext 优先 + Vision 兜底,支持软连字符清理/跨行关联/数据校验。专为 Your Company 线材产品图纸设计。
| name | order-tracker |
| description | 订单管理系统,状态跟踪 + 客户通知 |
| metadata | {"openclaw":{"emoji":"📦","requires":{"anyBins":["node"]}}} |
本地订单跟踪系统,提供手动订单状态管理、客户邮件通知和命令行看板功能。适用于 Your Company 外贸订单生命周期管理(从生产到交付),无需对接工厂 ERP 或物流 API。
imap-smtp-email skill 的 SMTP .env 文件(用于发送通知邮件)npm install(在 skill 目录下执行)/path/to/your/.openclaw/workspace/skills/order-tracker/
All scripts are run from the scripts/ subdirectory.
cd /path/to/your/.openclaw/workspace/skills/order-tracker/scripts
# 查看所有订单(按状态分组)
node order-dashboard.js
# 按状态过滤
node order-dashboard.js --status in_production
node order-dashboard.js --status shipped
# 查看单个订单详情
node order-dashboard.js --order-id ORD-20260324-001
# 输出格式(table / compact / json)
node order-dashboard.js --format json
cd /path/to/your/.openclaw/workspace/skills/order-tracker/scripts
# 预览(dry-run,不写入)
node update-order-status.js --order-id ORD-20260324-001 --status ready_to_ship --dry-run
# 更新状态
node update-order-status.js \
--order-id ORD-20260324-001 \
--status shipped \
--notes "DHL Express, 单号: 1234567890, ETA: 4月25日"
# 更新状态 + 标记需要发通知
node update-order-status.js \
--order-id ORD-20260324-001 \
--status in_production \
--notes "工厂已排期" \
--trigger-notification
cd /path/to/your/.openclaw/workspace/skills/order-tracker/scripts
# 预览邮件(不发送)
node send-order-notification.js --order-id ORD-20260324-001 --dry-run
# 发送通知(使用订单当前状态的邮件模板)
node send-order-notification.js --order-id ORD-20260324-001
# 指定状态模板发送
node send-order-notification.js --order-id ORD-20260324-001 --status shipped
6 状态机:
pending_production → in_production → ready_to_ship → shipped → completed
↘ cancelled(任意阶段可取消)
| 状态 | 中文 | 说明 |
|---|---|---|
pending_production | 待生产 | 订单确认,等待生产 |
in_production | 生产中 | 工厂生产中 |
ready_to_ship | 待发货 | 生产完成,等待发货 |
shipped | 已发货 | 货物已发出 |
completed | 已完成 | 客户确认收货 |
cancelled | 已取消 | 订单取消 |
通知脚本支持 5 种双语(EN/ZH)邮件模板:
in_production — 生产进度通知ready_to_ship — 准备发货通知shipped — 发货确认(含物流单号)completed — 订单完成确认cancelled — 取消通知BASE=/path/to/your/.openclaw/workspace/skills/order-tracker/scripts
ORDER=ORD-20260324-001
# 开始生产 + 通知客户
node $BASE/update-order-status.js --order-id $ORDER --status in_production --notes "工厂已排期"
node $BASE/send-order-notification.js --order-id $ORDER
# 发货 + 通知客户
node $BASE/update-order-status.js --order-id $ORDER --status shipped --notes "DHL 单号: 1234567890"
node $BASE/send-order-notification.js --order-id $ORDER
# 查看看板
node $BASE/order-dashboard.js
| 文件 | 路径 | 说明 |
|---|---|---|
| 订单数据 | data/orders.json | 所有订单(手动维护) |
| 订单 Schema | config/order-schema.json | JSON Schema 验证定义 |
| 状态变更日志 | logs/status-changes.log | 每次状态更新记录 |
| 通知日志 | logs/notifications.log | 邮件发送记录 |