← Research & specs
AdPilot · Corpus

T-032 — Inbound triggers: webhooks-in, platform events, schedules

T-032 — Inbound triggers: webhooks-in, platform events, schedules

Frozen spec for the T-032 build (base branch main → head of the build). Goal: make the workflow engine fireable from outside the console — marketing/sales automations trigger on inbound signals, sandbox-safe.

Decisions

Surface-area deltas

Verification

Go gates: go test ./... in services/api (6/6 packages, 8 new test funcs). Web gate: npm run build in apps/web-next (strict tsc). Live E2E on :8090: bad signature → 401, missing field → 422, valid → 202 + run visible, event bus matched=1, delivery log shows fired + rejected rows, replay created a new run.

Out of scope

Outbound webhooks (T-027), automation-rule triggers (T-023), real platform event ingestion (sandbox bus only — the sandbox rule holds).