Schema
WebhookStepDefinition
Webhook step β an outbound HTTP call to an allowlisted target. Distinct from a ``notify`` step with channel="webhook": this is a general-purpose request whose response is exposed to downstream steps. The target is checked against a DENY-BY-DEFAULT allowlist at runtime, so a saved step naming an unlisted host will fail when it runs. That check stays at runtime deliberately β the allowlist is deployment config, not something an authoring-time model can know.
| Field | Type | Description |
|---|---|---|
idrequired | string | β |
namerequired | string | β |
type | string | β |
description | string | null | β |
depends_on | string | object[] | β |
stage | string | null | β |
timeout | string | null | β |
retry_policy | RetryPolicy | null | β |
error_handler | StepErrorHandler | null | β |
emit_artifact | EmitArtifactSpec | null | β |
optional | boolean | β |
continue_on_error | boolean | β |
halt_conditions | HaltCondition[] | βitem shape |
parameters | StepParameter[] | βitem shape |
guards | StepGuard[] | βitem shape |
impact_level | "low" | "medium" | "high" | "critical" | Impact classification for steps.lowmediumhighcritical |
run_mode | "propose" | "auto_run" | Execution mode for steps.proposeauto_run |
requires_approval | boolean | β |
metadata | object | null | β |
examples | StepExample[] | null | Attached example files for this step. Each entry pairs a platform.file_uploads.file_id with a role + tags + notes so the runtime can shape its instruction. Bounded at 20 to keep a reasonable upper limit on the prompt preamble. |
applies_when | string | null | CEL predicate evaluated at MATERIALIZATION (not at step execution): the step is marked skipped when it evaluates False. Stored verbatim β the expression is parsed by celpy at launch, so any coercion here would change its meaning. |
tags | string[] | null | Categorical labels on the step itself (e.g. 'pdf-read', 'coutts', 'fy25'). Free-form; recommended tag set is documented per workstream surface. |
firm_question_codes | string[] | null | Blocker codes this step may raise that are questions the run asks the firm later, not reasons to stop. A code listed here is carried past the blocker barrier (and recorded on the run's carried_blockers) unless the resolution form refuses it. Matched exactly against the blocker codes this step itself raises; a code not listed here still stops the run. |
decides | any | treatment | classification | difference, when the step decides one |
domain_question | any | {domain, issue}: the domain question asked |
no_domain_reason | any | {reason, card_link}: no domain covers it |
instruction | string | null | Natural-language instruction, Jinja2-rendered before execution |
expected_outputs | object[] | null | Declared output shape, used by the lint's output-reference checks |
webhook_urlrequired | string | Target URL (Jinja2-templated, allowlisted at runtime) |
webhook_method | "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | HTTP method. The executor refuses anything outside this set.GETPOSTPUTPATCHDELETE |
webhook_headers | object | Request headers (values Jinja2-templated)show nestedEmpty object. |
webhook_body | any | null | Request body, rendered against runtime_vars + prior step outputs |
webhook_expect_status | integer[] | Accepted status codes. Empty means any 2xx. |