Browse documentation

Workflow node reference

AI Response

Generate an AI response to the message. Exact configuration, outputs, execution behavior, errors, limits, and examples for the AI Response workflow node.

Automation buildersIntermediateAvailable

What this guide covers

  • Category: AI.
  • Use it to generate bounded natural-language output from instructions and workflow context.
  • 4 configuration fields and 1 documented outputs.
  • Output can be incorrect, variable, or unsafe without constraints.

What this node does

Generate an AI response to the message

Use it to generate bounded natural-language output from instructions and workflow context.

When not to use it

Do not use it for deterministic calculations, exact lookups, or high-impact decisions without review.

Prerequisites

  1. Clear instructions
  2. Only necessary input context
  3. A downstream validation or human-review strategy
  4. AI usage entitlement/Balance

Inputs and configuration fields

AI Response configuration fields
FieldKeyControl / typeRequirementDefaultAccepted values and behavior
Instructionssystem_prompttextareaRequired when shownNo defaultTell the AI how to behave and respond. You are a helpful customer support agent for our company...
Message to Respond Toinputvariable-inputRequired when shown{{context.message.content}}The message the AI should respond to. Value accepted by the displayed control. Variables supported
Include Contact Infoinclude_contact_infotoggleOptionaltrueGive AI access to contact name and history. Value accepted by the displayed control
support contactsupport_contacttextOptionalNo defaultIn case AI doesn't have specific information about something, redirect customer.. support@myshop.com or call 1-800-SHOES

Configure the node

  1. Drag AI Response from AI in the node palette.
  2. Select the node to open its configuration drawer.
  3. Complete every required field and any conditional field revealed by your choices.
  4. Insert variables only from the current trigger or an earlier node on the same path.
  5. Connect every required output handle to the intended next step.
  6. Save and run Workflow Test with representative data before activation.

Outputs

Later nodes can use these values only after this node has run successfully on the same execution path.

AI Response output variables
VariableTypeMeaning
{{nodes.ai_response.response}}stringThe generated response

Execution behavior

  1. Sends the configured prompt/context to the selected AI behavior.
  2. Returns generated response text and model/usage metadata defined by the node.
  3. Runs for real during Workflow Test and contributes to estimated cost.

Example use case

Draft a concise support reply using the customer's message and an approved policy summary.

Complete workflow pattern
text
Message Received → Classifier → Condition → AI Response → Send Text

Common errors

AI Response common errors
SymptomResolution
Response is off-topicTighten instructions and provide bounded context.
Prompt data is missingConfirm every referenced variable exists on the path.
AI step failsReview node error, entitlement, input size, and retry only after identifying the cause.

Limitations

Output can be incorrect, variable, or unsafe without constraints.

Never include secrets or unnecessary sensitive data.