ManyChat CLI Skill
Use this skill when you need to automate ManyChat operations from OpenClaw or other AI agents.
What this skill provides
- - A local CLI wrapper at INLINECODE0
- Stable JSON output and exit codes for automation orchestration
- High-value ManyChat commands:
- subscriber lookup and profile reads
- tag add/remove
- custom field updates
- flow/content sends
- create/update subscriber
- raw endpoint passthrough
- JSON playbook execution for sequential automation steps
Requirements
- -
MANYCHAT_API_KEY environment variable must be set. - Optional:
MANYCHAT_BASE_URL to override API host.
Usage
Validate token:
CODEBLOCK0
Find by email:
CODEBLOCK1
Run a multi-step playbook:
CODEBLOCK2
File references
- - CLI: INLINECODE3
- Playbook example: INLINECODE4
- Shell example: INLINECODE5
- Extended docs: INLINECODE6
技能名称: manychat-cli
详细描述:
ManyChat CLI 技能
当你需要通过OpenClaw或其他AI代理自动化ManyChat操作时,请使用此技能。
本技能提供的内容
- - 位于 /Users/danielfoch/manychat-cli/manychat_cli.py 的本地CLI封装器
- 稳定的JSON输出和退出码,用于自动化编排
- 高价值的ManyChat命令:
- 订阅者查找和资料读取
- 标签添加/移除
- 自定义字段更新
- 流程/内容发送
- 创建/更新订阅者
- 原始端点透传
- 用于顺序自动化步骤的JSON剧本执行
要求
- - 必须设置 MANYCHATAPIKEY 环境变量。
- 可选:使用 MANYCHATBASEURL 覆盖API主机。
使用方法
验证令牌:
bash
cd /Users/danielfoch/manychat-cli
./manychat_cli.py ping --pretty
通过邮箱查找:
bash
./manychat_cli.py find-system --field-name email --field-value lead@example.com --pretty
运行多步骤剧本:
bash
./manychat_cli.py playbook-run \
--file /Users/danielfoch/manychat-cli/sample_playbook.json \
--vars-json {email:lead@example.com} \
--pretty
文件参考
- - CLI:/Users/danielfoch/manychat-cli/manychatcli.py
- 剧本示例:/Users/danielfoch/manychat-cli/sampleplaybook.json
- Shell示例:/Users/danielfoch/manychat-cli/example_automation.sh
- 扩展文档:/Users/danielfoch/manychat-cli/README.md