Docs/AI & Knowledge/LLM

LLM

AI & Knowledge

LLM Node

Overview

Supports the following operations: Gemini 2.0 Pro (Enterprise), OPENAI_API_KEY, ANTHROPIC_API_KEY.

Configuration

PropertyTypeDefaultDescription
modelstring—Configuration field for model
apiKeySecretstring—Configuration field for apiKeySecret
systemPromptstring—Configuration field for systemPrompt
userPromptstring—Configuration field for userPrompt
temperaturestring—Configuration field for temperature
maxTokensstring—Configuration field for maxTokens
responseSchemastring—Configuration field for responseSchema

Output Variables

Reference these variables in downstream nodes using the {{node.field}} syntax.

{{llm.text}}
anyOutput field: text
{{llm.raw_response}}
anyOutput field: raw_response
{{llm.tokens_used}}
anyOutput field: tokens_used

Examples

Basic Usage

Example configuration:

{
  "model": "value",
  "apiKeySecret": "value",
  "systemPrompt": "value",
  "userPrompt": "value",
  "temperature": "value",
  "maxTokens": "value",
  "responseSchema": "value"
}

Tips & Best Practices

  • •Ensure all required fields are configured.
  • •Check the output variables to see available data.

Try LLM in Your Workflow

Create a free account and start building AI-powered workflows with the LLM node.

Open Workflow Editor