CLI commands

Webhooks

openclaw webhooks

Helpers e integrações de Webhook (Gmail Pub/Sub, helpers de Webhook).

Relacionados:

Gmail

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

webhooks gmail setup

Configure Gmail watch, Pub/Sub e entrega por Webhook do OpenClaw.

Obrigatório:

  • --account <email>

Opções:

  • --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

Exemplos:

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

Execute gog watch serve junto com o loop de renovação automática do watch.

Opções:

  • --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>

Exemplo:

openclaw webhooks gmail run --account [email protected]

Consulte a documentação do Gmail Pub/Sub para o fluxo completo de configuração e detalhes operacionais.

Relacionados