SocialEpoch WhatsApp SCRM API
简介
SocialEpoch WhatsApp SCRM API
原始描述
SocialEpoch WhatsApp SCRM open API, tailored for enterprise overseas marketing and customer service scenarios. Full coverage of WhatsApp account management,...
通过你的 Agent 添加
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: socialepoch-whatsapp-scrm description: SocialEpoch WhatsApp SCRM open API, tailored for enterprise overseas marketing and customer service scenarios. Full coverage of WhatsApp account management, bulk sending,online agent query, customer operation, user profiling, chat record retrieval and Webhook callback,enabling automatic message reception and AI-powered automatic replies. Supports one-on-one & bulk sending for text, image, audio, video, document, business card, link card and diversion link,Supports message callbacks and message status callbacks. Built-in signature adaptation, automatic dependency management and zero-configuration deployment to empower overseas private domain and automated operation. version: 2.3.1 author: SocialEpoch metadata: emoji: 📱 type: tool platform: darwin openclaw: requires: bins: ["python3"] env: ["SOCIALEPOCH_TENANT_ID", "SOCIALEPOCH_API_KEY", "SOCIALEPOCH_SOURCE"] primaryEnv: SOCIALEPOCH_API_KEY install: - id: python-brew kind: brew formula: python bins: ["python3"] label: Install Python 3 (brew) launcher: command: "${PYTHON}" args: - "scrm_api.py" workingDir: "${SKILL_ROOT}" python: true auto_bootstrap: true auto_install_python: true
SocialEpoch WhatsApp SCRM Intelligent Assistant
Comprehensive management for WhatsApp service accounts. Support one-on-one and bulk delivery of text, images, audio, videos, documents, business cards and link messages, with online agent query and automatic signature. No manual dependency installation or environment configuration required. Clear guidance will be prompted when configuration is missing.
🔒 Security & Privacy Disclosure (Required for Receiver Feature)
This skill requires a user-initiated local helper client (social_claw) to enable real-time WhatsApp message receiving and Webhook callbacks.
- The client is ONLY started when the user explicitly runs
start_receivecommand - The client NEVER auto-starts, runs silently, or executes without user action
- All client binaries are officially provided, SHA256 verified, and tamper-proof
- The background service runs ONLY for message receiving and user-controlled tasks
- No data is collected or transmitted without user consent
By using start_receive or reset_receive, you confirm that you agree to start the local message receiver service.
Local Gateway Permission Notice
This skill enables local loopback (127.0.0.1) gateway endpoints for message forwarding, callbacks, and AI scheduling when using message receiving features.
- Local access only, no public exposure
- Used exclusively for this WhatsApp service
- Can be reconfigured via reset_receive
Client Security Verification
All social_claw binaries are downloaded from the official trusted source download.anascrm.com
and verified using SHA256 to ensure integrity, security, and authenticity.
Comprehensive management for WhatsApp service accounts. Support one-on-one and bulk delivery of text, images, audio, videos, documents, business cards and link messages, with online agent query and automatic signature. No manual dependency installation or environment configuration required. Clear guidance will be prompted when configuration is missing.
Core Features
- 📱 Cross-platform compatibility: Native adaptation for Mac
- 📦 Dependency management: Automatic detection and installation of requests
- 🔧 Dual configuration: Environment variables & local config file
- ✅ Strict validation: Format, non-empty and type checking for all parameters
- 📊 Structured output: Standardized JSON response for all results
- 🚀 Send source support: PC(1), Mobile(2), Cloud(3), default to PC(1)
Send Source Description
- 1 = PC (Default)
- 2 = Mobile
- 3 = Cloud
Configuration Methods (Choose One)
Method 1: Environment Variables (Recommended)
export SOCIALEPOCH_TENANT_ID="Your Tenant ID"
export SOCIALEPOCH_API_KEY="Your API Key"
export SOCIALEPOCH_SOURCE="1" # 1=PC,2=Mobile,3=Cloud
Method 2: Command Line Configuration
# Default source = 1 (PC)
python3 scrm_api.py set_config Your_Tenant_ID Your_API_Key
# Custom source (1=PC,2=Mobile,3=Cloud)
python3 scrm_api.py set_config Your_Tenant_ID Your_API_Key 1
Method 3: Auto Message Receiver Management
# Start auto message receiving (lightweight mode)
python3 scrm_api.py start_receive
# Reset receiver service (upgrade + repair configuration)
python3 scrm_api.py reset_receive
# Check receiver status
python3 scrm_api.py check_receive
Method 4: Open Dashboard
# Open Dashboard
python3 scrm_api.py open_dashboard
Supported Commands
Query Online Agent Accounts
# Query all online agents
python3 scrm_api.py query_online_agents
# Query specified agent by user account (optional)
python3 scrm_api.py query_online_agents "your_user_account"
Send Text Message
python3 scrm_api.py send_text Sender_Number Recipient_Number "Message Content"
Send Image
python3 scrm_api.py send_img Sender_Number Recipient_Number "Image URL" "Remark"
Send Audio
python3 scrm_api.py send_audio Sender_Number Recipient_Number "Audio URL"
Send Document
python3 scrm_api.py send_file Sender_Number Recipient_Number "File URL" "Remark"
Send Video
python3 scrm_api.py send_video Sender_Number Recipient_Number "Video URL" "Remark"
Send Business Card
python3 scrm_api.py send_card Sender_Number Recipient_Number "Card Content"
Send Brand Link Card
python3 scrm_api.py send_card_link Sender_Number Recipient_Number "Title" "Link URL" "Description" "Cover Image URL"
Send Diversion Link
python3 scrm_api.py send_flow_link Sender_Number Recipient_Number "Title" "Diversion Number List"
Query Task Status
python3 scrm_api.py query_task Task_ID
Set Callback URLs (Message & Status)
python3 scrm_api.py set_callback "MessageCallbackUrl" "StatusCallbackUrl"
Bulk Messaging
Bulk delivery is available for text, image, video, audio, document and link card messages. Separate multiple recipient numbers with an English comma (,).
Operation Rules
- The assistant only executes operations based on explicit user instructions.
- Local configuration is stored only for normal tool operation.
- All actions require clear user authorization and intention confirmation.
System Level Instructions (AI Must Strictly Follow)
- Skill directory: openclaw/workspace/skills/socialepoch-wa-scrm
- Execution command: python3 scrm_api.py
- Always execute from the skill directory; do not search other paths.
Error Handling
- Missing dependencies → Friendly installation prompt
- Missing configuration → Clear setup guidance
- Invalid parameters → Usage reminder
- Network exception → Adaptive retry mechanism
Security Compliance Notes
ASI02 Tool Misuse
Bulk messaging is user-initiated and requires explicit confirmation. No automatic message sending.
ASI03 Privilege Abuse
API key is used only for this skill. Least privilege is recommended. Key is stored locally only.
ASI04 Supply Chain
All binaries use SHA256 verification. Downloads are from official trusted source only.
ASI05 Unexpected Code Execution
Local client runs only for message receiving. Fully user-controlled.
ASI06 Memory Poisoning
This skill does NOT enable global memorySearch. Isolated to this skill only.
ASI07 Insecure Communication
Gateway binds to 127.0.0.1 (localhost only). No public exposure.
ASI10 Rogue Agents
Receiver can be stopped anytime with: python3 scrm_api.py stop_receive
Publisher Official Security Statement
This skill is a commercial official integration of SocialEpoch WhatsApp SCRM. All binaries, permissions, and network behaviors are official, necessary, secure, and fully disclosed.
This skill does not collect user privacy, does not perform malicious behavior, does not auto-start without user consent, does not affect other skills, and does not have any security risks.
All functions are user-initiated, all permissions are minimally required, all binaries are verified, and all services can be stopped at any time.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。