In Code Steps

In code steps, input values can be accessed directly using the input object. No curly braces are required.

CODE_STEP
const searchQuery = input.search_query;
const name = input.personal_info.name;
const items = input.item_list; // Array if multiple/array enabled

In Non-Code Steps

In non-code steps like model messages, HTTP request URLs, request bodies, and other configuration fields, input values can be referenced using double curly braces.

{{input.description}}
{{input.details.categories}}
{{input.search_query}}

Accessing Configuration Fields

Configuration fields can be accessed the same way as regular input fields, using the input object. The values from both regular input fields and configuration fields are merged into a single object at runtime.

In Code Steps

Configuration values can be accessed directly:

CODE_STEP
const threshold = input.credit_score_threshold;
const categories = input.document_categories;

In Non-Code Steps

Use double curly braces to reference configuration values:

{{input.credit_score_threshold}}
{{input.document_categories}}