.step_1.response.results |
if length == 0 then
{ "lam.exit": true }
elif length == 1 then
.[0] | { "order_ids": [(.order_id | tonumber)] }
else
{ "lam.exit": true }
end
Laminar Keywords
Keywords allow workflows to be executed conditionally from within flows, making it easier to support complex control flow logic within custom integrations.