Back to blog
Automation / OpenClaw / Cron / Events / BenAgent

Send OpenClaw Cron Events to BenAgent Without Loopback Webhooks

Use the OpenClaw BenAgent plugin to deliver local cron results to BenAgent when native loopback webhooks are blocked.

By BenAgentJul 4, 20268 min read

OpenClaw cron delivery has one local-first edge case: native webhooks may reject loopback or private-network URLs such as 127.0.0.1. For the default BenAgent local listener, use the repo-local OpenClaw BenAgent plugin instead of a native webhook.

Why not a native loopback webhook?

A native webhook to http://127.0.0.1:17654/v1/agent-events can be blocked by OpenClaw's private-network protections. That is good security behavior, but it means the local Mac event path needs a trusted plugin running inside the local gateway context.

BenAgent listener values

  • Event URL: http://127.0.0.1:17654/v1/agent-events
  • Health URL: http://127.0.0.1:17654/healthz
  • Source: openclaw
  • Settings: Settings > Agents > Event Listener

Install the OpenClaw BenAgent plugin

Install and enable the repo-local OpenClaw plugin through OpenClaw's plugin manager, then restart the gateway. The plugin listens for OpenClaw cron changes and posts finished events to BenAgent. If BenAgent is unavailable, it can queue failed deliveries for retry while the gateway is running.

Create a cron job without chat delivery

openclaw cron create "0 18 * * 1-5" \
  "Summarize today's work with a useful final result; never return only OK or Done." \
  --name "BenAgent: Work digest" \
  --session isolated \
  --tz "Asia/Ho_Chi_Minh" \
  --no-deliver

openclaw cron list --json

What to check

  • The BenAgent Event Listener is running before the cron job finishes.
  • The OpenClaw plugin is installed and enabled after gateway restart.
  • The cron job uses --no-deliver for local plugin delivery.
  • The job is not using announce or chat delivery as a substitute for BenAgent events.
  • If OpenClaw asks for pairing or scope approval, approve from an already trusted OpenClaw device before editing cron delivery.

When native webhooks make sense

If BenAgent later exposes a hosted HTTPS Event API, native OpenClaw webhooks can target that public HTTPS URL. For the default local 127.0.0.1 listener, use plugin delivery.

Ready to bring agent-first work to your Mac?

Install BenAgent, connect Hermes or OpenClaw, verify the endpoint and its access boundary, then delegate one safe result you can review before relying on longer work.

Download BenAgent