简介
Sophiie B2B销售管道管理技能,通过REST API实现AI智能呼叫、短信、线索跟进全流程自动化,适合销售团队提升转化效率
原始描述
Manage your Sophiie sales pipeline — leads, inquiries, appointments, FAQs, policies, SMS, and calls via the Sophiie REST API.
通过你的 Agent 添加
点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。
或者手动安装
包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。
技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。
中文使用说明 来自收录源
核心用法
Sophiie技能通过自然语言指令管理完整的B2B销售管道,覆盖线索(Leads)、咨询(Inquiries)、预约(Appointments)、FAQ知识库、业务策略等模块。用户可通过简单对话完成复杂操作,如"给我看看今天的线索"、"给张三打个电话"、"更新退款政策"等。
主要功能域:
- 线索管理:创建、查询、更新、删除客户线索,支持分页浏览和详情查看
- 沟通自动化:发起AI外呼(支持转接模式)、发送短信、查看通话记录与转录文本
- 知识库维护:管理FAQ问答对和业务策略文档,供AI客服实时调用
- 组织管理:查看团队成员、服务产品、营业时间等企业配置
技术实现:基于curl+jq构建,所有请求通过HTTPS传输,API Key采用Bearer认证,生产环境密钥以sk_live_为前缀。支持沙箱模式(sk_test_*)供开发测试。
显著优点
- 端到端销售自动化:将传统CRM的被动记录升级为主动触达——AI可直接外呼客户、发送短信,真正实现"对话即行动"
- 自然语言交互:无需记忆API端点或参数格式,用日常英语即可完成复杂多步操作(如先查成员ID再发短信)
- 实时数据零缓存:每次操作直连Sophiie云端,避免数据过期或本地泄露风险
- 企业级知识库联动:FAQ和Policies与AI客服深度整合,更新后立即影响外呼和在线客服的应答策略
潜在局限
- 地域限制:E.164电话号码格式要求可能增加非国际业务用户的使用摩擦
- 速率瓶颈:60请求/分钟的限制在高并发场景(如批量导入)下可能成为瓶颈
- 确认依赖:外呼、删除等敏感操作需人工二次确认,虽提升安全但降低纯自动化程度
- 生态封闭:仅支持Sophiie自有平台,无法与Salesforce、HubSpot等主流CRM直接互通
适合人群
- 已采用Sophiie AI客服的B2B企业销售团队
- 需要高频电话触达、线索快速跟进的业务场景(教育、SaaS、本地服务)
- 非技术背景但希望用自然语言管理销售管道的业务人员
常规风险
- 误操作风险:外呼和短信功能可能因自然语言理解偏差导致非预期触达,需严格执行号码确认流程
- 数据主权:客户线索、通话记录存储于Sophiie云端,需评估合规要求(GDPR、数据本地化等)
- API密钥泄露:尽管技能本身不记录密钥,但环境变量注入环节仍存在被旁路攻击的可能
- 服务依赖性:Sophiie平台稳定性直接影响销售流程,建议配置降级预案
技能正文
name: sophiie description: Manage your Sophiie sales pipeline — leads, inquiries, appointments, FAQs, policies, SMS, and calls via the Sophiie REST API. metadata: openclaw: requires: env: - SOPHIIE_API_KEY bins: - curl - jq primaryEnv: SOPHIIE_API_KEY emoji: "📞" homepage: https://docs.sophiie.ai files: - SKILL.md - README.md - scripts/sophiie.sh
Sophiie — Sales Pipeline Management
Sophiie is a B2B SaaS platform for sales pipeline management. Organizations get AI-powered virtual assistant agents that handle calls, SMS, and lead management. This skill lets you manage your Sophiie pipeline via natural language.
Authentication
All requests use Authorization: Bearer <key> where the key is SOPHIIE_API_KEY. Keys are prefixed sk_live_* (production) or sk_test_* (sandbox).
- Base URL:
https://api.sophiie.ai - Rate limit: 60 requests/minute
- All responses: JSON
External Endpoints
| Method | URL | Data Sent |
|---|---|---|
| GET | https://api.sophiie.ai/v1/leads |
Query: page, limit |
| GET | https://api.sophiie.ai/v1/leads/{id} |
None |
| POST | https://api.sophiie.ai/v1/leads |
Body: firstName, lastName, email, phone, suburb, businessName, socials |
| PUT | https://api.sophiie.ai/v1/leads/{id} |
Body: firstName, lastName, email, phone, suburb, businessName, socials |
| DELETE | https://api.sophiie.ai/v1/leads/{id} |
None |
| GET | https://api.sophiie.ai/v1/leads/{id}/notes |
Query: page, limit |
| GET | https://api.sophiie.ai/v1/leads/{id}/activities |
Query: page, limit |
| GET | https://api.sophiie.ai/v1/inquiries |
Query: page, limit, leadId, expand |
| GET | https://api.sophiie.ai/v1/inquiries/{id} |
None |
| GET | https://api.sophiie.ai/v1/appointments |
Query: page, limit, leadId |
| POST | https://api.sophiie.ai/v1/calls |
Body: name, phoneNumber, mode, custom_instructions |
| POST | https://api.sophiie.ai/v1/sms |
Body: userId, leadId, message, messageThreadId |
| GET | https://api.sophiie.ai/v1/faqs |
Query: page, limit |
| POST | https://api.sophiie.ai/v1/faqs |
Body: question, answer, isActive |
| PUT | https://api.sophiie.ai/v1/faqs/{id} |
Body: question, answer, isActive |
| DELETE | https://api.sophiie.ai/v1/faqs/{id} |
None |
| GET | https://api.sophiie.ai/v1/policies |
Query: page, limit |
| POST | https://api.sophiie.ai/v1/policies |
Body: title, content, isActive |
| PUT | https://api.sophiie.ai/v1/policies/{id} |
Body: title, content, isActive |
| DELETE | https://api.sophiie.ai/v1/policies/{id} |
None |
| GET | https://api.sophiie.ai/v1/members |
Query: page, limit |
| GET | https://api.sophiie.ai/v1/organization |
None |
| GET | https://api.sophiie.ai/v1/organization/availability |
None |
| GET | https://api.sophiie.ai/v1/organization/members |
Query: page, limit |
| GET | https://api.sophiie.ai/v1/organization/services |
None |
| GET | https://api.sophiie.ai/v1/organization/products |
None |
Security & Privacy
- The
SOPHIIE_API_KEYis never logged, printed, or echoed in output - All requests use HTTPS only
- No data is cached locally — every command fetches live from the API
- All user input is sanitized via
jq -n(never string-interpolated into JSON bodies) - The skill has read-only access to
SOPHIIE_API_KEY— it cannot modify or delete the environment variable
Command Reference
All commands are run via scripts/sophiie.sh <domain> <action> [options].
Leads
leads list — List all leads in the pipeline
--page <n> Page number (default: 1)
--limit <n> Items per page (default: 50, max: 100)
Use when the user wants to see their pipeline, check leads, or browse contacts.
leads get <id> — Get full details for a specific lead
Use when the user asks about a specific lead by name or ID. Lead IDs start with ld_.
leads create — Create a new lead
--firstName <name> Required (min 2 chars)
--suburb <suburb> Required
--lastName <name> Optional
--email <email> Optional (valid email)
--phone <number> Optional (E.164 format, e.g. +61412345678)
--businessName <name> Optional
--instagram <handle> Optional
--facebook <handle> Optional
Use when the user wants to add a new contact or lead to their pipeline.
leads update <id> — Update an existing lead
Same options as create, but all are optional. At least one field must be provided.
Use when the user wants to change lead details.
leads delete <id> — Delete a lead (soft delete)
Use when the user explicitly asks to remove a lead. Always confirm before deleting.
leads notes <id> — List notes for a lead
--page <n> Page number (default: 1)
--limit <n> Items per page (default: 50, max: 100)
Use when the user asks about notes or history on a specific lead.
leads activities <id> — List activity log for a lead
--page <n> Page number (default: 1)
--limit <n> Items per page (default: 50, max: 100)
Use when the user wants to see what happened with a lead (timeline, events).
Inquiries
inquiries list — List all inquiries
--page <n> Page number (default: 1)
--limit <n> Items per page (default: 50, max: 100)
--leadId <id> Filter by lead ID (ld_...)
--expand <type> Expand related data: "external", "lead", or "both"
Use when the user asks about incoming inquiries, messages, or calls received.
inquiries get <id> — Get full inquiry details with source data
Returns the inquiry with expanded source data (call transcripts, SMS messages, webform submissions, etc.) depending on the inquiry source type (CALL, SMS, EMAIL, CHATBOT, WEBFORM).
Use when the user wants details on a specific inquiry.
FAQs
faqs list — List all FAQs
--page <n> Page number (default: 1)
--limit <n> Items per page (default: 50, max: 100)
Use when the user wants to see their knowledge base or FAQ entries.
faqs create — Create a new FAQ
--question <text> Required (max 255 chars)
--answer <text> Required
--isActive <bool> Optional (true/false)
Use when the user wants to add to their AI agent's knowledge base.
faqs update <id> — Update an FAQ (ID is a number)
Same options as create, all optional.
Use when the user wants to change an existing FAQ entry.
faqs delete <id> — Delete an FAQ (soft delete)
Always confirm before deleting.
Policies
policies list — List all policies
--page <n> Page number (default: 1)
--limit <n> Items per page (default: 50, max: 100)
Use when the user asks about their business policies.
policies create — Create a new policy
--title <text> Required (min 2, max 255 chars)
--content <text> Required (min 2 chars)
--isActive <bool> Optional (true/false)
Use when the user wants to add a business policy for their AI agent.
policies update <id> — Update a policy (ID is a number)
Same options as create, all optional.
policies delete <id> — Delete a policy (soft delete)
Always confirm before deleting.
Communication
calls send — Initiate an outbound AI call
--name <name> Required — name of person being called
--phoneNumber <number> Required — E.164 format (e.g. +61412345678)
--mode <mode> Optional — "normal" (default) or "transfer_only"
--custom_instructions <text> Optional — required when mode is "transfer_only"
Use when the user wants to call someone. Always confirm the phone number before calling.
sms send — Send an SMS message
--userId <id> Required — sender user ID (usr_...)
--leadId <id> Required — recipient lead ID (ld_...)
--message <text> Required — message text (min 2 chars)
--messageThreadId <n> Optional — existing thread ID (number); omit to start new thread
Use when the user wants to text a lead. You need to know the userId — use members list first if needed.
Appointments
appointments list — List all appointments
--page <n> Page number (default: 1)
--limit <n> Items per page (default: 50, max: 100)
--leadId <id> Filter by lead ID (ld_...)
Use when the user asks about upcoming appointments or scheduled meetings.
Organization
org get — Get organization details (name, timezone, currency, etc.)
Use when the user asks about their org settings or business info.
org availability — Get business hours / availability schedules
Use when the user asks about working hours or availability.
org members — List organization members with roles
--page <n> Page number (default: 1)
--limit <n> Items per page (default: 50, max: 100)
Use when the user asks about team members (returns membership-level data with positions/avatars).
org services — List services offered (grouped by category)
Use when the user asks about their service offerings.
org products — List products offered (grouped by category)
Use when the user asks about their product catalog.
Members
members list — List all organization members
--page <n> Page number (default: 1)
--limit <n> Items per page (default: 50, max: 100)
Use when you need user IDs (usr_...) for operations like sending SMS. Returns user-level data with roles.
Decision Guide
| User intent | Command(s) |
|---|---|
| "Check my pipeline" / "Show leads" | leads list |
| "Tell me about [lead name]" | leads list → find by name → leads get <id> |
| "Add a new lead" / "New contact" | leads create |
| "Update [lead]'s phone number" | leads update <id> --phone <number> |
| "Remove this lead" | leads delete <id> (confirm first) |
| "What inquiries came in?" | inquiries list |
| "Show me that call transcript" | inquiries get <id> |
| "Any appointments today?" | appointments list |
| "Call [person]" / "Ring [number]" | calls send (confirm number first) |
| "Text [lead] about [topic]" | members list → get userId → sms send |
| "Update the knowledge base" | faqs list → then faqs create or faqs update |
| "Add a refund policy" | policies create |
| "What are our business hours?" | org availability |
| "Who's on the team?" | members list or org members |
| "What services do we offer?" | org services |
Pagination
All list endpoints return paginated responses:
{
"items": [...],
"totalPages": 5,
"currentPage": 1,
"totalCount": 237
}
- Default: page 1, 50 items per page
- Maximum: 100 items per page
- Always check
totalPages— if there are more pages, tell the user and offer to fetch the next page
Error Reference
| Code | Meaning | What to tell the user |
|---|---|---|
| 401 | Invalid or missing API key | "Your API key appears to be invalid. Check SOPHIIE_API_KEY." |
| 404 | Resource not found | "That [lead/inquiry/etc.] wasn't found. Double-check the ID." |
| 409 | Conflict (duplicate lead) | "A lead with that info already exists." |
| 429 | Rate limited | "Too many requests. Wait a moment and try again." |
| 500 | Server error | "Something went wrong on Sophiie's end. Try again shortly." |
Error responses have this shape:
{
"success": false,
"message": "...",
"error": { "status": 401, "message": "..." }
}
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。