← Node reference

AI Extract

AI_EXTRACT

Extract structured fields from any text using a registered LLM provider. Define the fields you want back and the model returns a clean JSON object — the document-intelligence primitive.

Configuration

  • variableNametextoptional
  • modeltextoptional
  • fallbackModelslong textoptional
  • openaiCredentialIdcredentialoptional

    Accepts openai.apiKey. Stored encrypted; the value is never returned to the browser or written to a trace.

  • anthropicCredentialIdcredentialoptional

    Accepts anthropic.apiKey. Stored encrypted; the value is never returned to the browser or written to a trace.

  • geminiCredentialIdcredentialoptional

    Accepts gemini.apiKey. Stored encrypted; the value is never returned to the browser or written to a trace.

  • groqCredentialIdcredentialoptional

    Accepts groq.apiKey. Stored encrypted; the value is never returned to the browser or written to a trace.

  • contentlong textoptional
  • attachmentslong textoptional
  • jsonSchemalong textoptional
  • fieldslist of rowsoptional

    Columns: name, type, description

  • cacheTtlSecondsnumberoptional

Ports

Inputs

  • main In

Outputs

  • main Out

Execution

Type version
1
Retry
no retry by default
Timeout
engine default
Response cache
Supported — set cacheTtlSeconds to reuse an identical call within the window. A cached run records zero tokens and zero cost, because nothing was purchased.
Credentials
openai.apiKey (optional), anthropic.apiKey (optional), gemini.apiKey (optional), groq.apiKey (optional)