
Description
The Add Transcript Step Node allows you to add messages to the conversation transcript. These messages become part of the LLM context and directly influence AI Agent behavior, tool handling, conversation flow, and contextual awareness. Use this Node to inject additional information into the transcript without requiring a new user input. The Node is especially helpful in complex AI Agent architectures.Restrictions
- This Node isn’t compatible with the
@cognigyRecentConversationand@cognigyRecentUserInputstags in the LLM Prompt Node. - Overuse of empty or redundant transcript entries can reduce clarity and make debugging more difficult.
Parameters
Use Cases
The following use cases illustrate how the Add Transcript Step Node is used:- Add External System Results. Inject API responses such as CRM data, ID&V results, or order information into the transcript so the AI Agent can use this data for reasoning.
- Manage AI Agent Transitions. Add transcript entries to mark milestones, such as completed handovers or transitions between AI Agents.
- Context Refocusing. Insert targeted messages to highlight new priorities or provide technical context in long-running conversations.
- Workflow-Based Context Injection. Add follow-up instructions to guide subsequent behavior after deterministic processes—for example, GDPR handling.
Examples
The examples show how different message types from different roles appear in the conversation transcript, how they are processed, and how they influence the conversation. Each role is shown with its corresponding JSON representation in the Input object. The"source": "system" key-value pair indicates that the role was added to the transcript by the system using the Add Transcript Step Node.
User — Input
User — Input
End-user messages are processed to detect intent and trigger Tool Calls or Outputs. Metadata can be used to pass structured parameters through the Flow.Parameters:
type: Inputtext: What is the weather like in New York today?data:{ "location": "New York", "date": "2024-06-01" }
Assistant — Output
Assistant — Output
Outputs can be displayed directly to the user or guide conditional logic in the Flow based on metadata types.Parameters:
type: Outputtext: Your current account balance is $1,245.67data:{ "type": "responsive" }
Assistant — Tool Call
Assistant — Tool Call
Calls an external tool to fetch data or perform actions. The
id property links this call to the Tool Answer for later processing.Parameters:type: Tool Callname: getWeatherid: getWeather-123input:{ "location": "New York", "date": "2024-06-01" }
Agent — Output
Agent — Output
Represents internal reasoning or planning. Influences workflow decisions but is generally not shown to the end user.Parameters:
type: Outputtext: Verified customer identity and approved the transactiondata:{ "type": "responsive" }
System — Debug Log
System — Debug Log
For monitoring, logging, and troubleshooting AI Agent execution. Helps developers diagnose errors without exposing them to users.Parameters:
type: Debug Logheader: Validation Errormessage: User ID missing in requestmetadata:{ "severity": "info" }
Tool — Tool Answer
Tool — Tool Answer
Contains the result of a tool call. The AI Agent can use this output to craft responses or make further decisions in the workflow.Parameters:
type: Tool AnswertoolCallId: getWeather-123name: getWeathercontent:The weather in New York is +10°C