CLI commands
Webhook
openclaw webhooks
Webhook 輔助工具與整合(Gmail Pub/Sub、Webhook 輔助工具)。
相關:
- Webhooks:Webhooks
- Gmail Pub/Sub:Gmail Pub/Sub
Gmail
openclaw webhooks gmail setup --account [email protected]
openclaw webhooks gmail run
webhooks gmail setup
設定 Gmail 監看、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,並啟動監看的自動續約迴圈。
選項:
--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 文件,了解端對端設定流程與操作詳細資料。