CLI commands
Webhooks
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 watch, Pub/Sub และการส่ง Webhook ของ OpenClaw
จำเป็น:
--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 สำหรับขั้นตอนการตั้งค่าแบบครบวงจรและรายละเอียดการปฏิบัติการ