Skip to main content

Configuring inputs/outputs

In this page we will learn how to handle multiple inputs and outputs, and how to efficiently use them along with the workflow editor.

Inputs/Output Identifiers

Each input and output component in a workflow has a unique identifier. Understanding how these identifiers work is crucial for efficient workflow design:

Input Components

When multiple input components share the same identifier, they act as a single input source in the playground. For example:

two-inputs

single-input-playground

In this example, two Text Input components share the identifier 'Text Input A'. As a result:

  • They behave as a single input source
  • Only one input field appears in the playground

If we changed one identifier to 'Text Input B', we would see two separate input fields in the playground.

Output Components

The same principle applies to outputs:

  • Multiple output components with the same identifier display as a single output
  • When different components send data to outputs sharing an identifier, their data is automatically merged

Common configuration properties

Some configuration properties are shared between all input and output components.

  • Identifier: Explained above.
  • Input Order: Common for all input components. The order in which the input field appears in the playground. Useful for displaying a coherent playground UI for the users of the workflow.

Missing some properties? Let us know, we'll be happy to add them!