Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Information Extractor

ai.information_extractor · version 1.2 · AI

Extracts structured fields from text.

Ports

PortKindLabelRequiredMax connections
input 0main
input 1ai_languageModelyes1
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
textstringyesThe text to extract information from.
schemaTypeoptions"fromAttributes"Schema Source. One of fromAttributes, fromJson, manual.
attributesfixed_collectionschemaType = fromAttributes
attributes.attributescollectionAttribute.
attributes.attributes.namestring
attributes.attributes.typeoptions"string"One of string, number, boolean, date.
attributes.attributes.descriptionstring
attributes.attributes.requiredbooleanfalse
jsonSchemaExamplejsonschemaType = fromJsonJSON Example.
inputSchemajsonschemaType = manualJSON Schema.
optionscollection
options.systemPromptTemplatestring"You extract information from text. Fill in each requested attribute using only what the text states. If an attribute is not mentioned, leave it out, or use null when it is required. Do not invent values."System Prompt.

Import

Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.

Source typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.informationExtractor1unverified