Book a demo
Documentation · Quickstart

Your first workflow in ten minutes

This walks through installing the CLI, writing a workflow that calls an HTTP endpoint, deploying it, and triggering it from a webhook.

1. Install the CLI

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.

2. Authenticate

bw login
# opens a browser; the token is written to ~/.config/bw/credentials
bw whoami
# workspace: acme-ops   role: admin

3. Write a workflow

# 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 }}"

4. Deploy

bw deploy workflows/healthcheck.yaml
# version 4 deployed
# runs scheduled every 5 minutes from 2026-11-26T17:00:00Z

5. Trigger it manually

bw run endpoint-healthcheck --wait
# run 01JGY9M2QK  succeeded  steps: 2/2  1.31s

Webhook triggers

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"}

Signature verification

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.

Where runs show up

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.

Troubleshooting

SymptomCause
unknown step typeCLI and server disagree on the integration catalogue; run bw integrations sync.
Webhook returns 401Secret mismatch, or a proxy is re-serializing the body before it reaches us.
Run stuck in waitingApproval step with no assignee online; the timeout expires and fails the run.