Skip to content

Text ​

Overview ​

The Text node holds a static string value that is injected into the workflow at execution time. Use it to supply fixed prompts, labels, instructions, or template fragments without connecting a dynamic data source. The node emits its configured content as a plain string on the output port, making it suitable as a prompt seed, system message, or constant input to downstream AI or transform nodes. No credentials or external calls are required.

Configuration ​

FieldTypeRequiredDescription
contentstring (multiline)YesThe static text value this node emits. Supports plain text and template variables using {{variableName}} syntax resolved at runtime.
labelstringNoDisplay name shown on the node canvas. Does not affect execution.
trimbooleanNoWhen true, leading and trailing whitespace is stripped from the content before emission. Defaults to false.
encodingenum (utf-8, base64)NoOutput encoding for the string value. Use base64 when downstream nodes expect encoded binary-safe text. Defaults to utf-8.

Inputs ​

PortTypeDescription
variablesstring-keyed mapOptional key-value map used to resolve {{variableName}} placeholders in the content field at execution time. If omitted, placeholders are left as-is.

Outputs ​

PortTypeDescription
outputstringThe resolved text content after variable substitution and any configured transforms (e.g. trimming, encoding).

Example ​

json
{
  "nodeType": "text",
  "config": {
    "content": "You are a concise AI assistant. Answer in {{language}} using at most three sentences.",
    "label": "System Prompt Seed",
    "trim": true,
    "encoding": "utf-8"
  }
}