Type identifier:
ai:dataExtractionCategory: AI Operations
The AI - Data Extraction node uses large language models to extract structured data from unstructured text content. It can extract data matching a defined schema, optionally creating Records automatically upon extraction.
Handle | Type | Description |
|---|---|---|
| control | Triggers the extraction process. |
|
| The text content to extract data from. |
Handle | Type | Description |
|---|---|---|
| schema-defined | Extracted data matching the schema (single or array). |
| control | Triggered when extraction completes successfully. |
| control | Triggered when extraction fails. |
Option | Type | Default | Description |
|---|---|---|---|
Extract Single |
|
| Extract only one item vs. multiple items. |
Additional Instructions |
| - | Extra instructions for the AI model. |
The extraction schema can be defined in two ways:
Reference Mode:
Option | Type | Description |
|---|---|---|
Schema ID |
| Reference to an existing Schema. |
Creation on Extraction |
| Automatically create Records when extracted. |
Literal Mode:
Option | Type | Description |
|---|---|---|
Schema Config | schema | Inline schema definition. |
If Creation on Extraction is enabled:
Mode | Description | Output Type |
|---|---|---|
Single | Extract exactly one item | Object |
Multiple | Extract all matching items | Array of objects |
Configuration:
Input:
Please reach out to John Smith at john@example.com or call 555-1234.
You can also contact Sarah at sarah@company.org.Output:
[
{ "name": "John Smith", "email": "john@example.com", "phone": "555-1234" },
{ "name": "Sarah", "email": "sarah@company.org", "phone": null }
]Configuration:
Use case: Extract product mentions from reviews and automatically create Records.
Configuration:
Additional Instructions:
Focus on extracting only confirmed information.
Mark uncertain values as null.
Use ISO date format for any dates.