This walks through installing the CLI, writing a workflow that calls an HTTP endpoint, deploying it, and triggering it from a webhook.
brew install beaconwork/tap/bw
bw --version
# bw 3.2.1 (2026-11-04)
On Linux, use the static binary from the releases page and verify it against the published SHA-256 sum before installing.
bw login
# opens a browser; the token is written to ~/.config/bw/credentials
bw whoami
# workspace: acme-ops role: admin
# workflows/healthcheck.yaml
name: endpoint-healthcheck
trigger:
type: schedule
cron: "*/5 * * * *"
steps:
- id: ping
uses: http
with:
method: GET
url: https://api.example.com/health
timeout: 5s
- id: alert
uses: slack.message
when: steps.ping.status != 200
with:
channel: "#ops-alerts"
text: "health endpoint returned {{ steps.ping.status }}"
bw deploy workflows/healthcheck.yaml
# version 4 deployed
# runs scheduled every 5 minutes from 2026-11-26T17:00:00Z
bw run endpoint-healthcheck --wait
# run 01JGY9M2QK succeeded steps: 2/2 1.31s
A workflow with trigger.type: webhook receives a unique URL. Point your provider at it and Beaconwork verifies the signature before creating a run:
POST /hooks/acme-ops/refund-approval
X-Bw-Signature: sha256=9f2c…
Content-Type: application/json
{"id":"evt_1","amount":2400,"currency":"usd"}
Signatures are HMAC-SHA256 over the raw request body using the trigger secret. Reject-on-mismatch is enforced server-side; a mismatched signature returns 401 and creates no run.
bw runs list shows recent runs with their version, status and duration. bw runs show <id> prints the per-step timeline, including which worker region executed each step.
| Symptom | Cause |
|---|---|
unknown step type | CLI and server disagree on the integration catalogue; run bw integrations sync. |
| Webhook returns 401 | Secret mismatch, or a proxy is re-serializing the body before it reaches us. |
Run stuck in waiting | Approval step with no assignee online; the timeout expires and fails the run. |