搜索

PythonReactSEOPDF
OpenClaw

manychat-cli

Agent-friendly ManyChat automation CLI with playbook support for multi-step workflows.

danielfoch0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install danielfoch/manychat-cli

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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 /Users/danielfoch/manychat-cli/manychat_cli.py
  • 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:

cd /Users/danielfoch/manychat-cli
./manychat_cli.py ping --pretty

Find by email:

./manychat_cli.py find-system --field-name email --field-value 'lead@example.com' --pretty

Run a multi-step playbook:

./manychat_cli.py playbook-run \
  --file /Users/danielfoch/manychat-cli/sample_playbook.json \
  --vars-json '{"email":"lead@example.com"}' \
  --pretty

File references

  • CLI: /Users/danielfoch/manychat-cli/manychat_cli.py
  • Playbook example: /Users/danielfoch/manychat-cli/sample_playbook.json
  • Shell example: /Users/danielfoch/manychat-cli/example_automation.sh
  • Extended docs: /Users/danielfoch/manychat-cli/README.md

来源信息

Source
github
Repository
openclaw/skills
Path
skills/danielfoch/manychat-cli
Version
—
Commit
06cb2c8ece177a5ddfb26fc8cf60bf7c72eebb06
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

ManyChat CLI (Agent-Friendly)

A lightweight CLI wrapper around the ManyChat API for OpenClaw and other AI agents.

Why this exists

  • Consistent JSON output ({"ok": true|false, ...})
  • Explicit, automation-safe exit codes
  • Prebuilt commands for common automation actions
  • raw passthrough for any endpoint not yet wrapped
  • playbook-run for multi-step automations in JSON

File

  • /Users/danielfoch/manychat-cli/manychat_cli.py

Requirements

  • Python 3.9+
  • A ManyChat API key

Setup

cd /Users/danielfoch/manychat-cli
export MANYCHAT_API_KEY='your-manychat-api-key'
./manychat_cli.py ping --pretty

Optional:

export MANYCHAT_BASE_URL='https://api.manychat.com'

Commands

./manychat_cli.py --help

Core commands:

  • ping -> /fb/page/getInfo
  • page-tags -> /fb/page/getTags
  • page-fields -> /fb/page/getCustomFields
  • page-flows -> /fb/page/getFlows
  • sub-info -> /fb/subscriber/getInfo
  • find-system -> /fb/subscriber/findBySystemField
  • find-custom -> /fb/subscriber/findByCustomField
  • tag-add / tag-remove
  • field-set / fields-set
  • flow-send -> /fb/sending/sendFlow
  • content-send -> /fb/sending/sendContent
  • sub-create / sub-update
  • playbook-run (multi-step automation runner)
  • raw (generic endpoint caller)

Examples

Find subscriber by email:

./manychat_cli.py find-system --field-name email --field-value 'lead@example.com' --pretty

Add tag by name:

./manychat_cli.py tag-add --subscriber-id 123456 --tag-name 'Hot Lead' --pretty

Set custom field by id:

./manychat_cli.py field-set --subscriber-id 123456 --field-id 789 --value 'Toronto' --pretty

Send flow:

./manychat_cli.py flow-send --subscriber-id 123456 --flow-ns 'main_onboarding' --pretty

Call any endpoint directly:

./manychat_cli.py raw /fb/page/getTags --data '{}' --pretty

Run playbook:

./manychat_cli.py playbook-run \
  --file /Users/daniel...

来源内容

SKILL.md
# 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 `/Users/danielfoch/manychat-cli/manychat_cli.py`
- 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:
```bash
cd /Users/danielfoch/manychat-cli
./manychat_cli.py ping --pretty
```

Find by email:
```bash
./manychat_cli.py find-system --field-name email --field-value 'lead@example.com' --pretty
```

Run a multi-step playbook:
```bash
./manychat_cli.py playbook-run \
  --file /Users/danielfoch/manychat-cli/sample_playbook.json \
  --vars-json '{"email":"lead@example.com"}' \
  --pretty
```

## File references
- CLI: `/Users/danielfoch/manychat-cli/manychat_cli.py`
- Playbook example: `/Users/danielfoch/manychat-cli/sample_playbook.json`
- Shell example: `/Users/danielfoch/manychat-cli/example_automation.sh`
- Extended docs: `/Users/danielfoch/manychat-cli/README.md`
README
# ManyChat CLI (Agent-Friendly)

A lightweight CLI wrapper around the ManyChat API for OpenClaw and other AI agents.

## Why this exists
- Consistent JSON output (`{"ok": true|false, ...}`)
- Explicit, automation-safe exit codes
- Prebuilt commands for common automation actions
- `raw` passthrough for any endpoint not yet wrapped
- `playbook-run` for multi-step automations in JSON

## File
- `/Users/danielfoch/manychat-cli/manychat_cli.py`

## Requirements
- Python 3.9+
- A ManyChat API key

## Setup
```bash
cd /Users/danielfoch/manychat-cli
export MANYCHAT_API_KEY='your-manychat-api-key'
./manychat_cli.py ping --pretty
```

Optional:
```bash
export MANYCHAT_BASE_URL='https://api.manychat.com'
```

## Commands
```bash
./manychat_cli.py --help
```

Core commands:
- `ping` -> `/fb/page/getInfo`
- `page-tags` -> `/fb/page/getTags`
- `page-fields` -> `/fb/page/getCustomFields`
- `page-flows` -> `/fb/page/getFlows`
- `sub-info` -> `/fb/subscriber/getInfo`
- `find-system` -> `/fb/subscriber/findBySystemField`
- `find-custom` -> `/fb/subscriber/findByCustomField`
- `tag-add` / `tag-remove`
- `field-set` / `fields-set`
- `flow-send` -> `/fb/sending/sendFlow`
- `content-send` -> `/fb/sending/sendContent`
- `sub-create` / `sub-update`
- `playbook-run` (multi-step automation runner)
- `raw` (generic endpoint caller)

## Examples
Find subscriber by email:
```bash
./manychat_cli.py find-system --field-name email --field-value 'lead@example.com' --pretty
```

Add tag by name:
```bash
./manychat_cli.py tag-add --subscriber-id 123456 --tag-name 'Hot Lead' --pretty
```

Set custom field by id:
```bash
./manychat_cli.py field-set --subscriber-id 123456 --field-id 789 --value 'Toronto' --pretty
```

Send flow:
```bash
./manychat_cli.py flow-send --subscriber-id 123456 --flow-ns 'main_onboarding' --pretty
```

Call any endpoint directly:
```bash
./manychat_cli.py raw /fb/page/getTags --data '{}' --pretty
```

Run playbook:
```bash
./manychat_cli.py playbook-run \
  --file /Users/daniel...

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.