Contract Renewal and Alerting Automation for Openclaw

A self-contained contract renewal and customer value assessment skill designed to automate lease expiration tracking, risk prediction, and personalized retention strategy generation directly from enterprise Excel databases.

perrykono-debug
v2.0.0
Jun 8, 2026
0
516
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install contract-renewal

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install contract-renewal using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Contract Renewal and Alerting Automation?

The Contract Renewal and Retention Scheme Generator is an enterprise-grade automation solution built for property management and leasing operations. It seamlessly parses live corporate Excel ledgers to proactively identify expiring contracts, build multi-dimensional tenant portraits, and algorithmically compute tenant values and risk profiles. By integrating this module with Openclaw Skills, commercial leasing departments can transform a traditionally reactive, manual administrative burden into a proactive, data-driven retention engine.

This self-contained skill operates without any external dependencies, natively handling customer profiling, service history tracking, payment risk calculations, and automated tenant grade classification. Once configured, it operates silently in the background, utilizing highly tailored rules to safeguard leasing revenue and boost tenant satisfaction.

Contract Renewal and Alerting Automation Use Cases

  • Proactive Lease Expiration Tracking: Automatically monitoring lease end-dates to prevent sudden tenant move-outs by flagging contracts expiring within 90 days.
  • Automated Tenant Value Assessment: Rating clients based on rental contribution, payment punctuality, and service engagement to prioritize high-value accounts.
  • Tailored Renewal Strategy Generation: Formulating personalized, tier-based renewal offers (e.g., A/B/C plans with custom incentives or market adjustments) automatically.
  • Coordinated Team Notifications: Alerting leasing agents and tenant managers via enterprise chat platforms (e.g., WeChat Work/WeCom) with detailed, ready-to-execute action items.
  • Manual Audits on Demand: Querying tenant health or triggering a targeted renewal check for specific units via instant messaging commands.

How Contract Renewal and Alerting Automation Works

  1. Database Scanning: The system runs a daily scheduled cron task (or manual command) to parse the target customer database Excel file.
  2. Filter Active Contracts: It filters rows to target tenants with active signing statuses (签约) and calculates the exact days remaining until their lease ends.
  3. Tenant Portrait Assembly: For expiring contracts under the threshold (default 90 days), the system aggregates data across multiple worksheets: master tenant records, fee payment histories, repair logs, and service interactions.
  4. Risk Tag Calculation: It applies logical checks to flag high-risk indicators such as payment delinquencies (calculated risk tags for light, medium, or heavy debt), low satisfaction levels, or abnormally high maintenance frequencies.
  5. Customer Value Assessment: An advanced multi-criteria scoring algorithm computes an overall tenant value score (up to 100 points) based on five weighted dimensions: rent contribution, enterprise qualification, payment punctuality, satisfaction, and upsell transaction success.
  6. Differentiated Scheme Generation: A tier-based policy selector picks the optimal retention plan (Plan A for premium, Plan B for potential growth, Plan C for market-rate adjustments) and computes the stable-rental cost-benefit ratio.
  7. Notification Broadcast: The skill formats an actionable warning alert using predefined templates and delivers it directly to WeCom channels via webhook integration.

Contract Renewal and Alerting Automation Setup

Since this is a fully self-contained skill, setting up your integration with Openclaw Skills is straightforward and requires no external packages besides standard Python Excel parsing dependencies.

1. Prerequisite Installation

Ensure you have openpyxl installed in your environment to read the spreadsheet:

pip install openpyxl

2. Add the Skill Configuration

Include the following configuration parameters inside your agent's config file (e.g., config.json), replacing the paths and webhook key with your real environment parameters:

{
  "contract_renewal": {
    "excel_path": "/Users/mac/美兰中心C+服务.xlsx",
    "alert_days_before": 90,
    "plan_generation_days_before": 60,
    "auto_generate_plan": true,
    "wecom_webhook": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=YOUR_WECOM_WEBHOOK_KEY"
  }
}

3. Setup the Cron Schedule

To run the daily morning contract audit at 09:00 AM (Asia/Shanghai), configure the following cron trigger inside your agent scheduler:

{
  "name": "Contract Renewal Alert",
  "schedule": {
    "kind": "cron",
    "expr": "0 9 * * *",
    "tz": "Asia/Shanghai"
  },
  "payload": {
    "kind": "agentTurn",
    "message": "Check contract expiry dates, flag renewal warnings 3 months ahead, and generate renewal proposals 2 months ahead"
  },
  "sessionTarget": "isolated"
}

Contract Renewal and Alerting Automation Data Schema & Taxonomy

The skill interacts with a unified Microsoft Excel workbook containing structured worksheets that map to distinct business modules:

Worksheet Name Icon / Alias Technical Purpose
👨客户管理👨 Customer Profiles Stores tenant master data, contact info, contract numbers, rent pricing, area size, and lease expiration dates.
👨💼费用收缴👨💼 Fee Payments Maintains payment history, outstanding balance records, monthly dues, and payment status indicators (是否支付).
C+服务记录 Service Logs Houses customer visit records, customer mood logs, upsell transactional success data, and account manager assignments.
👨💼能耗收缴👨💼 Utility Bills Details electricity/water utility dues and payment tracking.
🛠️报修情况汇总🛠️ Maintenance Requests Documents repair urgency, issue descriptions, technician dispatch logs, and completion status.

Customer Value Evaluation Parameters

  • Rental Contribution (30% Weight): Evaluated annually based on unit area size and rate (High: >= 500k, Mid: 200k-500k, Low: < 100k CNY).
  • Enterprise Qualification (25% Weight): Scores the company type (High scores for high-tech or listed companies; moderate for trade or services).
  • Payment Punctuality (20% Weight): Calculated as (Paid Fees / Total Invoiced Fees). Points scaled based on ratio (>=95% receives maximum score).
  • Service Satisfaction (15% Weight): Based on registered mood ratings during visits.
  • Transaction Contribution (10% Weight): Quantifies the cross-selling conversion rate.

Contract Renewal and Alerting Automation Advanced Features

  • Weighted Customer Valuation Model: Employs mathematical value assessment calculations to identify elite tenants and formulate targeted concessions instead of uniform rent adjustments.
  • Automated Stable Rental Analysis: Automatically computes the expected cost-benefit ratio (稳租成本收益率) for premium incentives to ensure customer-centric retention remains highly profitable.
  • Dynamic Risk Tag Generation: Real-time evaluation engines flag anomalies such as recurring high-frequency repair complaints, deteriorating satisfaction rates, or structural payment delays.
  • Interactive Instant Messaging Triggers: Empower your management team to prompt checks manually using WeCom commands like @Enterprise Steward renewal check or prompt target proposal creation with Openclaw Skills triggers like 检查续租 and 生成续租方案 {unit_no}.
  • Extensible Integration Hooks: Structured with modular Python functions allowing developer advocates to easily extend the codebase for custom AI negotiation scripts, market rent API lookups, or localized budget controlling.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*