The question a poll trigger asks when its query is api (docs/specs/SPEC_DRONE_REAL_WORLD_JOBS_2026_11_11.md
§3.2): one GET of a site’s list, with an optional Vault credential, answered as the items in it.
Response block — terminal output sink. Captures whatever the
template field resolves to and that becomes the drone’s run
output. There must be exactly one Response block per drone
(validator enforced at save-time, frontend side).
Transform block: shapes a list or an object with a chain of operations in a
restricted expression language, and runs no code
(docs/specs/SPEC_DRONE_GENERAL_AUTOMATION_2026_11_11.md §3.9; the evaluator
is drone/transform.rs).
Variables block: writes the run’s named values. The block’s data.entries is
a list of {name, value, reducer?}. Each string value is {{}}-resolved
against the current scope (a value that is one {{...}} token keeps its type:
a number stays a number, a list a list) and written under the variable’s reducer
(replace, the default, append, merge or add; see drone/state.rs),
so a loop can collect into a list or add up a number. A value that reads
something tainted is written tainted, and no later write clears it.