Structured output fields are available on these actions: Generate Text, Generate Text with Agent, Run Code, and Research Agent.
Set up structured output fields
Open the action settings
In the Workflow editor, click the action you want to configure. The settings sidebar opens.

Add fields
Under Structured Output Fields, you have two options:
- Add Fields Automatically — Cassidy analyzes your prompt and generates a suggested set of fields.
- + Add Field — manually create each field yourself.

Configure each field
For each field, specify:
- Field Name — a descriptive label (e.g., “Full Name”, “Location”, “Score”).
- Type — the data type for this field (see the table below).
- Description — help the AI understand what value to fill in (e.g., “The person’s complete full name as listed on LinkedIn”).

Set field options
Customize each field further:
- Required — toggle on if this field must always be populated.
- Allow Multiple Values (List) — toggle on if the AI should return more than one value (e.g., a list of skills or multiple work experiences).

Reference the output in later steps
In subsequent actions, insert a variable and you will see each structured field as an individual variable you can reference by name.

Available field types
| Type | Description | Example |
|---|---|---|
| Text | A single text value | "Jane Smith" |
| Number | A numerical value | 42 |
| Yes/No | A true/false toggle | true |
| Dropdown | A single value from a list of options you define | "CA" from a list of state codes |
| Object | A collection of sub-fields with their own types | A work experience with Company Name (Text), Job Title (Text), and Duration (Number) |
Example: parse a LinkedIn profile
To illustrate, here is how you might extract structured data from a scraped LinkedIn profile:- Full Name — Type: Text, Description: “The person’s complete name”
- Location — Type: Dropdown, Options:
CA,NY,TX,FL(state codes), Description: “The US state where the person is located” - Past Experiences — Type: Object, Allow Multiple Values: on
- Company Name — Type: Text
- Job Title — Type: Text
- Duration in Years — Type: Number

Next steps
Reference variables
Learn how to pass structured output data between Workflow steps.
Run Workflows in bulk
Apply structured outputs across an entire dataset.