Parameters
component
A bare
{{expr}} in input_mappings keeps its type, so an array stays an array.
Examples
Call a local component with a credential
USER is a credential input, so its value is the vault alias USER.
Call a workspace component pinned to a version
component_imports:
A local component definition
Local components live in the workflow’slocal_components. A component has a Start, an End, its nodes and edges, and optional input_schema and output_schema:
"output_mappings": { "recipes": "context.recipes" }.
Reading inputs and writing outputs
Inside a component:- Read an input with
{{context.component_inputs.<name>}}. - Read a credential input with
{{$lookup(context.inputs, context.component_inputs.<name>).USER_NAME}}. - Write an output with a Transform
SETtocontext.component_outputs.<name>.
Declaring inputs
A component’sinput_schema is a JSON Schema object. Mark an input that takes a vault alias with "x-cc-type": "credential", and list required inputs in required:
Notes
- A component cannot call itself, directly or through another component.
- A credential cannot be returned as an output or passed as a plain value. A component can only type it into a page.
- A call that cannot run fails with
SERVER-E0007and areasonin the error details. - A call node has no selector, no
run_if, and no execution type.

