function.result.call --function TEXT [--argument KEY=EXPR…] → resultCalls another active pipeline that starts with trigger.function. --function is that pipeline's slug — the file stem, send-welcome for jobs/send-welcome, not the path. What it receives is --argument: repeated key=value (--argument "email={{ $trigger.body.email }}" --argument plan=pro) or one {{ object }} (--argument "{{ { email: $trigger.body.email } }}"); without it the function receives {} and answers under its trigger's key, function. out adds result — the function's result: what its last node answered (a javascript.script.run ending the function answers script, so result is that value; a last logic.* node leaves the function's final payload without function) — and keeps the caller's payload. A call to a function that is missing, inactive or failed fails this node like any other: a wired :error receives the failure, otherwise the run fails here.
Flags
--function(required): Slug of the function pipeline to call.--argument: What the function receives, repeated key=value (each a literal or {{ expr }}), or one {{ object }}: "email={{ $trigger.body.email }}". Omitted: {}.
Examples
Reuse a lookup function
| function.result.call --function find-user --argument "email={{ $trigger.body.email }}"result is what jobs/find-user's last node answered — here a javascript.script.run returning { user }; the rest of the payload is kept.
It answers:
{ "result": { "user": { "_key": "u_1", "email": "[email protected]" } }}