Workflow

Inputs, outputs and variables

Declare input

  1. Open Start and add an input under 【Declare Variables】.
  2. Use a meaningful name such as message, choose a type, set requiredness and add a description.
  3. Names use letters, digits and underscores and cannot start with a digit.
  4. For objects or arrays, define nested fields and check the caller supplies the same structure.

Types include string, integer, float, boolean and object, plus arrays of these types. Event and parsing contexts supply their system variables. Use different names for custom inputs.

Fixed value or variable reference

MethodUse it for
【Input】Content that is identical on every run
【Reference】This run’s input or an executed upstream result

Choose the node and field in the variable picker. Reference data already produced on the execution path. After changing upstream names or structures, recheck downstream references and End output.

Return a result

Choose 【JSON】 or 【Text】 at End and declare the fields to return. For example, reference Start.message in an output named result. Batch processing requires an array; test with two demo items before increasing volume.