Fixed Response Agent
The Fixed Response agent returns a pre-configured response with support for template variables. It substitutes placeholder variables with actual values at runtime, making it useful for generating personalized or context-specific responses. No LLM is involved -- the response is deterministic, fast, and cost-free.
Use Cases
- Generating personalized welcome messages with user-specific information.
- Creating templated email responses with dynamic content insertion.
- Providing standardized responses with variable data like order numbers or customer names.
- Building reusable response templates for customer support scenarios.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
named_inputs | Any (multiple) | No | Flexible inputs from other agents. Supports text responses, tool execution outputs, and primitive values (strings, numbers, booleans). Named Inputs take precedence over Extracted Variables when the same variable name exists in both. |
extracted_variables | JSON | No | Key-value pairs to replace template variables (e.g., {"name": "John", "orderId": "123"}). |
Outputs
| Output | Type | Description |
|---|---|---|
fixed_response_with_sources | Text With Sources | The formatted response text with all template variables replaced by their actual values. |
Configurations
| Parameter | Description | Default |
|---|---|---|
| Fixed Response Template | The template containing {{variable_name}} placeholders. Variables are case-sensitive and must match input names exactly. Supports HTML formatting tags (<br>, <strong>, <em>, etc.). | Required |
Template Syntax
Use double curly braces for variable placeholders. Variable names are case-sensitive -- {{Name}} is different from {{name}}. If a variable is not provided, the original placeholder is kept in the output.
Dear {{Customer Name}},
Your claim {{Claim Number}} for ${{Amount}} has been {{Status}}.
Thank you,
{{Company Name}} Support
How to Use This Agent
Send an acknowledgment after a ticket is created:
ticket_trigger -> extract_entities -> fixed_response("Your ticket #{{ticket_id}} is confirmed.") -> send_email -> workflow_output
Related Agents
- Respond to a Query -- for LLM-generated responses when you need flexibility.
- Custom Agent -- for responses that require LLM reasoning.