Contract Skill — A ready-to-use MOVA HITL workflow. Requires the openclaw-mova plugin.
MOVA Churn Prediction
Run an AI churn risk assessment on your customer segment — get a ranked at-risk list with contributing factor breakdown, then route the retention campaign decision through a mandatory human approval gate with a full audit trail.
What it does
- 1. Behavior ingestion — customer activity signals (logins, transactions, support tickets, feature usage) for the specified segment and period
- Churn model — probability score per customer (0.0–1.0) with contributing factor breakdown
- High-risk list — ranked list of at-risk customers above threshold with recommended retention actions
- Human gate — customer success manager reviews the list and chooses: launch campaign / launch selective / defer / escalate
- Audit receipt — input features, model version, prediction scores, and human approval are all logged
Escalation rules enforced by policy:
- - GDPR check required before any customer is targeted — consent and legitimate interest must be confirmed
- Model version drift (> 90 days) → recommend review before launch
- Campaigns above budget threshold → escalate to VP required
Requirements
Plugin: MOVA OpenClaw plugin must be installed in your OpenClaw workspace.
Data flows:
- - Segment ID + period + threshold →
api.mova-lab.eu (MOVA platform, EU-hosted) - Customer activity data → events connector (read-only, no raw data stored by MOVA)
- Feature vectors → churn model connector (inference only, read-only)
- Customer profiles → CRM connector (read-only)
- Audit journal → MOVA R2 storage, signed
- No data sent to third parties beyond the above
Demo
Step 1 — Segment submitted: SEG-ENTERPRISE, 30 days, threshold 0.70

Step 2 — AI analysis: 300 at-risk customers, avg score 0.75, top signals and findings

Step 3 — Decision recorded: launch_selective top 10 by churn score + audit receipt

Quick start
Say "run churn analysis for segment SEG-ENTERPRISE over the last 30 days":
CODEBLOCK0
The agent fetches behavior signals, scores churn probability per customer, shows the ranked at-risk list with top contributing factors, then asks for your retention decision.
Why contract execution matters
- - GDPR compliance built in — policy enforces consent check before any customer is targeted, not left to the agent's discretion
- Model version tracking — the exact model version used for scoring is locked in the audit trail, enabling reproducibility audits
- Immutable decision record — when a customer asks "why did I receive this offer?" or an auditor asks "who approved this campaign?" — the answer is in the system
- EU AI Act / GDPR Article 22 ready — automated profiling for targeted campaigns requires documented human oversight
What the user receives
| Output | Description |
|---|
| Customers analyzed | Total in segment |
| At-risk count |
Above threshold |
| Avg churn score | Average probability for at-risk group |
| Per-customer score | 0.0–1.0 churn probability |
| Top contributing factors | Feature breakdown (e.g. login drop, support volume) |
| Model version | Scoring model identifier and date |
| Recommended retention actions | Per-customer suggested action |
| Recommended decision | AI-suggested campaign choice |
| Decision options | launch
campaign / launchselective / defer / escalate |
| Audit receipt ID | Permanent signed record of the campaign decision |
| Compact journal | Full event log: feature pull → scoring → human decision |
When to trigger
Activate when the user:
- - Asks to predict churn, run retention analysis, or identify at-risk customers
- Provides a segment ID or cohort with a date range
- Sets up a scheduled churn review (weekly / monthly)
Before starting, confirm: "Run churn analysis for segment [SEG-ID] — last [N] days?"
If segment ID or period is missing — ask once.
Step 1 — Submit customer segment for analysis
Call tool mova_hitl_start_churn with:
- -
segment_id: customer segment or cohort identifier - INLINECODE4 : lookback period in days (e.g. 30)
- INLINECODE5 : minimum churn probability to include in at-risk list (e.g. 0.70)
- INLINECODE6 : employee ID of the requestor
Step 2 — Show at-risk list and decision options
If status = "waiting_human" — show the churn summary and ask to choose:
CODEBLOCK1
| Option | Description |
|---|
| INLINECODE8 | Launch retention campaign for all high-risk customers |
| INLINECODE9 |
Launch for top-N only (specify N in reason) |
|
defer | Defer to next review cycle |
|
escalate | Escalate to VP of Customer Success |
Call tool mova_hitl_decide with:
- -
contract_id: from the response above — this is ctr-chn-xxxxxxxx, NOT the segment ID - INLINECODE15 : chosen decision
- INLINECODE16 : manager reasoning
Step 3 — Show audit receipt
Call tool mova_hitl_audit with contract_id.
Call tool mova_hitl_audit_compact with contract_id for the full signed scoring chain.
Connect your real data systems
By default MOVA uses a sandbox mock. To route analysis against your live infrastructure, call mova_list_connectors with keyword: "churn".
Relevant connectors:
| Connector ID | What it covers |
|---|
| INLINECODE23 | Customer activity event stream |
| INLINECODE24 |
Churn prediction model (inference endpoint) |
|
connector.crm.customer_lookup_v1 | Customer profile and segment metadata |
Call mova_register_connector with connector_id, endpoint, optional auth_header and auth_value.
Rules
- - NEVER make HTTP requests manually
- NEVER invent or simulate churn scores — if a tool call fails, show the exact error
- Use MOVA plugin tools directly — do NOT use exec or shell
- CONTRACTID is
ctr-chn-xxxxxxxx from the movahitlstartchurn response — NOT the segment ID
合约技能 — 一个即用型 MOVA 人工参与工作流。需要 openclaw-mova 插件。
MOVA 流失预测
对您的客户群体进行 AI 流失风险评估 — 获取一份按风险排序的名单,并附有影响因素细分,然后通过一个带有完整审计追踪的强制性人工审批关卡来路由留存活动决策。
功能说明
- 1. 行为数据摄取 — 针对指定客户群体和时段的客户活动信号(登录、交易、支持工单、功能使用情况)
- 流失模型 — 每位客户的概率评分(0.0–1.0),并附有影响因素细分
- 高风险名单 — 超过阈值的风险客户排序名单,并附有推荐的留存措施
- 人工关卡 — 客户成功经理审核名单并选择:启动活动 / 选择性启动 / 推迟 / 升级
- 审计收据 — 输入特征、模型版本、预测分数和人工审批均被记录
策略强制执行的升级规则:
- - 在定位任何客户之前,必须进行 GDPR 检查 — 需确认同意和合法利益
- 模型版本漂移(超过 90 天)→ 建议在启动前进行审查
- 超出预算阈值的活动 → 必须升级至副总裁
要求
插件: 必须在您的 OpenClaw 工作区中安装 MOVA OpenClaw 插件。
数据流:
- - 客户群体 ID + 时段 + 阈值 → api.mova-lab.eu(MOVA 平台,欧盟托管)
- 客户活动数据 → 事件连接器(只读,MOVA 不存储原始数据)
- 特征向量 → 流失模型连接器(仅推理,只读)
- 客户资料 → CRM 连接器(只读)
- 审计日志 → MOVA R2 存储,已签名
- 除上述内容外,不向第三方发送数据
演示
步骤 1 — 提交的客户群体:SEG-ENTERPRISE,30 天,阈值 0.70

步骤 2 — AI 分析:300 名风险客户,平均评分 0.75,主要信号和发现

步骤 3 — 决策已记录:按流失评分选择性地启动前 10 名 + 审计收据

快速开始
说对客户群体 SEG-ENTERPRISE 进行过去 30 天的流失分析:
segment_id: SEG-ENTERPRISE
period_days: 30
threshold: 0.70
requestor_id: EMP-0441
代理会获取行为信号,为每位客户计算流失概率评分,显示排序后的风险名单及主要影响因素,然后询问您的留存决策。
合约执行的重要性
- - 内置 GDPR 合规性 — 策略在定位任何客户之前强制执行同意检查,而非交由代理自行决定
- 模型版本追踪 — 用于评分的精确模型版本被锁定在审计追踪中,支持可复现性审计
- 不可变的决策记录 — 当客户问我为什么收到这个优惠?或审计员问谁批准了这个活动?时 — 答案就在系统中
- 为欧盟 AI 法案 / GDPR 第 22 条做好准备 — 针对目标活动的自动化画像需要有记录的人工监督
用户收到的内容
超过阈值 |
| 平均流失评分 | 风险群体的平均概率 |
| 每位客户评分 | 0.0–1.0 的流失概率 |
| 主要影响因素 | 特征细分(例如登录下降、支持工单量) |
| 模型版本 | 评分模型标识符和日期 |
| 推荐的留存措施 | 每位客户的建议操作 |
| 推荐决策 | AI 建议的活动选择 |
| 决策选项 | launch
campaign / launchselective / defer / escalate |
| 审计收据 ID | 活动决策的永久签名记录 |
| 紧凑日志 | 完整事件日志:特征提取 → 评分 → 人工决策 |
触发时机
当用户出现以下情况时激活:
- - 要求预测流失、运行留存分析或识别风险客户
- 提供客户群体 ID 或队列及日期范围
- 设置定期流失审查(每周/每月)
开始前,确认:对客户群体 [SEG-ID] 进行流失分析 — 过去 [N] 天?
如果缺少客户群体 ID 或时段 — 询问一次。
步骤 1 — 提交客户群体进行分析
调用工具 movahitlstart_churn,参数如下:
- - segmentid:客户群体或队列标识符
- perioddays:回溯天数(例如 30)
- threshold:纳入风险名单的最低流失概率(例如 0.70)
- requestor_id:请求者的员工 ID
步骤 2 — 显示风险名单和决策选项
如果 status = waiting_human — 显示流失摘要并要求选择:
客户群体: SEG-ID
时段: N 天
风险客户数: COUNT (超过 THRESHOLD)
平均流失评分: AVG
高风险客户排名:
[ID | 姓名 | 评分 | 主要因素]
推荐操作: ACTION ← 推荐
| 选项 | 描述 |
|---|
| launchcampaign | 为所有高风险客户启动留存活动 |
| launchselective |
仅为前 N 名启动(在理由中指定 N) |
| defer | 推迟到下一个审查周期 |
| escalate | 升级至客户成功副总裁 |
调用工具 movahitldecide,参数如下:
- - contract_id:来自上述响应 — 这是 ctr-chn-xxxxxxxx,不是客户群体 ID
- option:选择的决策
- reason:管理人员的理由
步骤 3 — 显示审计收据
使用 contractid 调用工具 movahitl_audit。
使用 contractid 调用工具 movahitlauditcompact 以获取完整的签名评分链。
连接您的真实数据系统
默认情况下,MOVA 使用沙盒模拟。要将分析路由到您的实时基础设施,请使用 keyword: churn 调用 movalistconnectors。
相关连接器:
| 连接器 ID | 覆盖范围 |
|---|
| connector.analytics.customereventsv1 | 客户活动事件流 |
| connector.ml.churnmodelv1 |
流失预测模型(推理端点) |
| connector.crm.customer
lookupv1 | 客户资料和客户群体元数据 |
使用 connectorid、endpoint、可选的 authheader 和 authvalue 调用 movaregister_connector。
规则
- - 切勿手动发起 HTTP 请求
- 切勿发明或模拟流失评分 — 如果工具调用失败,显示确切的错误信息
- 直接使用 MOVA 插件工具 — 不要使用 exec 或 shell
- CONTRACTID 是来自 movahitlstartchurn 响应的 ctr-chn-xxxxxxxx — 不是客户群体 ID