CLI commands

Webhook

openclaw webhooks

Webhook ヘルパーと統合機能(Gmail Pub/Sub、Webhook ヘルパー)。

関連:

Gmail

openclaw webhooks gmail setup --account [email protected]
openclaw webhooks gmail run

webhooks gmail setup

Gmail watch、Pub/Sub、OpenClaw Webhook 配信を設定します。

必須:

  • --account <email>

オプション:

  • --project <id>
  • --topic <name>
  • --subscription <name>
  • --label <label>
  • --hook-url <url>
  • --hook-token <token>
  • --push-token <token>
  • --bind <host>
  • --port <port>
  • --path <path>
  • --include-body
  • --max-bytes <n>
  • --renew-minutes <n>
  • --tailscale <funnel|serve|off>
  • --tailscale-path <path>
  • --tailscale-target <target>
  • --push-endpoint <url>
  • --json

例:

openclaw webhooks gmail setup --account [email protected]
openclaw webhooks gmail setup --account [email protected] --project my-gcp-project --json
openclaw webhooks gmail setup --account [email protected] --hook-url https://gateway.example.com/hooks/gmail

webhooks gmail run

gog watch serve と watch 自動更新ループを実行します。

オプション:

  • --account <email>
  • --topic <topic>
  • --subscription <name>
  • --label <label>
  • --hook-url <url>
  • --hook-token <token>
  • --push-token <token>
  • --bind <host>
  • --port <port>
  • --path <path>
  • --include-body
  • --max-bytes <n>
  • --renew-minutes <n>
  • --tailscale <funnel|serve|off>
  • --tailscale-path <path>
  • --tailscale-target <target>

例:

openclaw webhooks gmail run --account [email protected]

エンドツーエンドのセットアップフローと運用の詳細については、Gmail Pub/Sub ドキュメント を参照してください。

関連