after-sales
售后管理技能,提供客户投诉管理、返单报价、满意度调查、分析报表和 OKKI CRM 同步功能。
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/cjboy007/ssa-after-salesAfter-Sales Skill - 售后管理
功能
- ⚠️ 客户投诉管理(创建/跟踪/解决)
- 🔄 返单报价管理
- 📊 满意度调查
- 📈 分析报表(投诉统计/客户风险分析)
- 🔄 OKKI CRM 同步(自动创建售后跟进记录)
使用方式
CLI 命令
# 使用 after_sales.sh 快捷脚本
./after_sales.sh <module> <command> [options]
# 或直接用 Node.js CLI
node cli/after_sales_cli.js <module> <command> [options]
常用命令
# 投诉管理
./after_sales.sh complaint list
./after_sales.sh complaint create -n '客户名' -t quality -d '问题描述'
./after_sales.sh complaint get CMP-xxx
# 返单报价
./after_sales.sh repeat-order list
./after_sales.sh repeat-order create -n '客户名' -R 50000
# 满意度调查
./after_sales.sh satisfaction list
./after_sales.sh satisfaction stats
# 分析报表
./after_sales.sh analytics summary
./after_sales.sh analytics risk
# OKKI 同步
./after_sales.sh okki sync-complaint CMP-xxx
./after_sales.sh okki logs
环境变量
复制 .env.example 到 .env 并配置:
# OKKI 路径配置(可选,默认使用相对路径)
OKKI_WORKSPACE_PATH=/path/to/xiaoman-okki
OKKI_CLI_PATH=/path/to/okki_cli.py
OKKI_CLIENT_PATH=/path/to/okki_client.py
目录结构
after-sales/
├── api/ # API 服务
├── cli/ # 命令行工具
├── scripts/ # 脚本工具
├── models/ # 数据模型
├── data/ # 数据文件(运行时生成)
└── test/ # 测试文件
OKKI 集成
- 自动将投诉/返单记录同步到 OKKI CRM
- 使用
trail_type=107(售后跟进) - 支持客户 ID/名称匹配
- 同步日志持久化到
data/okki_sync_logs/
注意事项
- ⚠️
data/目录为运行时数据,已加入 .gitignore - ⚠️ 敏感信息请通过环境变量配置
- ⚠️ OKKI 路径支持环境变量覆盖,默认使用相对路径
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-cjboy007-ssa-after-sales": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
logistics
物流管理技能,提供提单生成、报关单据生成、物流跟踪等功能。支持 OKKI 客户数据同步和自动化文档处理。
okki-email-sync
Synchronize email activities and quotation events with OKKI CRM as follow-up trail records. Automatically matches emails to CRM customers via domain lookup and vector search, creates trail records (email type=102, quotation type=101), and deduplicates entries. Requires OKKI CRM API access and optional vector search setup. Use when you need to automatically log email communications and quotation events in your CRM.
follow-up-engine
Automated customer follow-up scheduling and execution engine for B2B sales. Generates personalized follow-up email drafts based on customer stage, last contact date, and follow-up strategy. Integrates with CRM systems (configurable) to sync follow-up records. Use when you need to automate outbound sales follow-ups, schedule reminders, or generate follow-up email content for dormant leads.
报价单工作流
自动化生成报价单(Excel/Word/HTML/PDF),集成数据验证防止示例数据,支持 OKKI CRM
auto-evolution
Multi-agent auto-evolution system — orchestrate review-execute-audit loops with 4 roles (Coordinator, Reviewer, Executor, Auditor). A single coordinator agent drives the loop by spawning sub-agents for review, execution, and audit. Break goals into subtasks, auto-iterate with dual quality gates, and auto-package results. Use when: user wants autonomous task execution with built-in quality assurance.