State and data
Reshape output with Transform, keep values with Set state, and search uploaded files.
Transform
Transform rewrites what the next step receives. Use it to pull one field out of a larger result, combine values into a single message, or put data into the shape a tool expects.
Set state
Each step normally sees only the previous step's result. Set state stores a value under a name so that any later step can read it, however many steps come between.
For example, save the customer's original question at the start, then read it back after several tool calls have replaced lastOutput.
File search
File search looks through text files uploaded to the workflow and returns the passages that match the incoming message. Place it before an Agent step so the model answers from your documents.
Upload files from the step's settings.
| Limit | Value |
|---|---|
| Files per workflow | 50 |
| Size per file | 1,000,000 characters |