Structured Output
The Structured Output node runs after the conversation ends. It uses an LLM to extract structured data from the full conversation transcript — returning a JSON object with the fields you define. You can then pipe the result to a Webhook.Adding a Structured Output node
- Drag the Structured Output node from the sidebar (Post-Processing category) onto the canvas
- Connect the End node’s output to the Structured Output node’s
endhandle - Connect an LLM node to its
llm_inhandle - Define the schema fields you want extracted
- Optionally, connect the Structured Output node’s output to a Webhook node
Parameters
| Parameter | Type | Description |
|---|---|---|
command | text | Instruction for extraction (e.g., “Extract the customer’s name, issue type, and whether the issue was resolved”) |
schemaFields | schema_fields | The fields to extract — each with a name, type, and optional description |
Schema field types
| Type | Description |
|---|---|
string | Free-form text |
int | Integer number |
float | Decimal number |
boolean | True/false value |
list | Array of strings |
enum | One of a fixed set of values |
Output
The extracted data is available as a JSON object matching your schema. When chained to a Webhook, it is sent as thestructuredOutput field in the POST body:
Typical pattern
Use cases
- Extract leads (name, email, interest level) from a sales call
- Classify support tickets and collect issue details at the end of the call
- Score call quality or customer sentiment
- Build a CRM record automatically from each conversation