Skip to content
EN
Open app

For AI assistants: this page as plain markdown is at https://docs.voicelogica.ai/raw/workflow-nodes/ai-generation.md, and https://docs.voicelogica.ai/llms.txt lists the docs by topic, one file each, small enough to read whole. Read those rather than this HTML page.

AI Response Generation

2 min read
Copy as Markdown
View as MarkdownOpen the raw .md file.md

AI Response Generation runs a model and returns text (and optional structured fields) to later nodes. It does not speak. Speech is AI Response to Caller.

Summarize the call for an email. Classify intent before Multiple Choice. Draft a note for HubSpot. Put it on On Call End or On API Call, not on a live During graph unless you accept the wait.

Tabs: Prompt, Model, Variables.

PromptREQUIRED
At least two characters. Insert dates, call, schedule, and node tokens.
Model
Same model picker as the agent editor. Seeded.
Variables
Structured values the model should fill — downstream {{node_X.name}}.

Ports: Response generated, Generation failed, No wait.

  1. On Call End → AI Response Generation. Prompt: write a short summary from Call Parameters.

  2. Send Email on Response generated. Body inserts that node’s output.

  3. Save & go live, attach, hang up. Read the mail — if it is empty, the prompt was too thin or you inserted the wrong node.

  • Needs setup — empty prompt (or shorter than two characters).
  • Caller hears a pause — this node is on During Call.
  • They expected the agent to say the text — use AI Response to Caller.
Why are there two AI nodes in workflows, AI Response to Caller and AI Response Generation?

AI Response to Caller speaks on the live call (or sets context on Call Start). AI Response Generation does not speak: it writes text for later nodes such as Send Email, HubSpot or Run Custom Code. Both use the same model family for different jobs.