How do I use one node's output in another node? What is ${2.analysis}?

Every node on the canvas has a number in the blue circle. A reference is ${<number>.<field>}:

Reference Gives
${2.analysis} the answer of Agent node 2
${3.fields.priority} one field of the first record that node 3 produced
${3.items.0.city} a field of the first item in a list
${event.subject} a field of the event that started the run
${trigger.fired_at} when the trigger fired
${customerId} a run input (agent parameter)

References work in prompts, App Action fields, Human Approval prompts, Read/Write Files paths and the Output node. Open a node’s data panel and click a field to insert the right form; the panel also shows whether a node’s data flows one record at a time or as a list.

Nodes that evaluate code use their own form: item["x"] in Filter rules and Python, item.x in JavaScript, bare names in a Condition. The panel writes those forms too.

Docs: Agent Orchestration