Workflow

Create and run your first workflow

Build a minimal flow

  1. Create a normal workflow named Echo Demo.
  2. In Start, add message under 【Declare Variables】, select 【String】 and make it required.
  3. Connect Start to End.
  4. Keep 【Json】 output at End and add result. Choose 【Reference】 as its assignment, then select 【Start】 → message in the variable picker.

Create the reference in the picker. Entering message as a fixed value returns the literal text message.

Run and inspect

  1. Click 【Save and Test】.
  2. Enter Hello, Studio as message and click 【Run】.
  3. Click 【View Run Result】 on End to inspect the output.

The first test should return:

{"result":"Hello, Studio"}

Click 【Test】, change the input to A second example, and run again. The result should also change to A second example.

If message is absent from the test form, check Start declarations. If result is empty, check the connection and reference. If the word message is returned, replace the fixed value with a variable reference.

Next, insert an LLM or knowledge retrieval node. Read Versions and publishing before making the flow available to callers.