🔗How Data Moves

🔗 Most workflow problems are data problems, not broken steps: a reference points to a missing value, or a step never ran.

Outputs and references

Each step produces an output. Later steps read it through a connection tag in the form <blockName.field>. For example, an agent reads the customer message from <start.input>, and a later step reads the agent's answer from <agent.content>.

Final output

By default, the workflow output is the output of its last step—there is no separate return step. Add a Response block when you need precise control over the returned result.

Common data types

TypeExample
StringCustomer message, agent response
NumberOrder value, confidence score
BooleanIs this a complaint?
ObjectStructured result such as { category, urgency }
ArrayRetrieved knowledge passages

💡 To ground an agent's answer in your knowledge, place a Knowledge step before the agent and reference the passages in the prompt with <knowledge.results>.