webb_100
10/17/2025, 2:17 AMAI Evy
10/17/2025, 2:17 AMAI Evy
10/17/2025, 2:17 AMAI Evy
10/17/2025, 2:17 AMAI Evy
10/17/2025, 2:17 AMwebb_100
10/17/2025, 2:20 AMAI Evy
10/17/2025, 2:20 AMAI Evy
10/17/2025, 2:20 AMwebb_100
10/17/2025, 2:22 AMAI Evy
10/17/2025, 2:22 AMAI Evy
10/17/2025, 2:22 AMAI Evy
10/17/2025, 2:22 AM///## Identity
Your name is Mike.
Your date of birth is June 10, 1999.
Your order number is 7891273.
///## Goal
Your primary objective is to return the package you received and get a refund.
///## Personality
You are a patient customer. However, if the conversation becomes too long or complicated, you will show signs of impatience. If the issue remains unresolved, you may become frustrated and angry.
The documentation also shows that evaluation metrics can be defined in this format :
1. Verify that the customer successfully returned the package and received a refund.
2. Confirm that the end_call function was called at the end of the conversation.
3. Ensure the agent's responses are conversational and contain 5 sentences or fewer.
Additionally, test variables and function mocks can be configured as optional components .
However, the specific JSON schema for bulk imports, including the correct property names and nesting structure, isn't documented in the available sources.
For the exact JSON schema and field names required by the Import Test Cases functionality, I'd recommend:
- Visit [Contact Sales]()
- Visit [)
Would you like me to try providing a general answer based on my knowledge instead?AI Evy
10/17/2025, 2:22 AMwebb_100
10/17/2025, 2:23 AMwebb_100
10/17/2025, 2:23 AMAI Evy
10/17/2025, 2:23 AMAI Evy
10/17/2025, 2:23 AMuser_prompt (instead of nested prompt object)
- success_criteria or evaluation_metrics
- dynamic_variables or variables
- llm_model or model
The "cannot read properties of undefined" error suggests the import function is looking for specific field names that might differ from what you're using.
Since the exact schema isn't documented, you might need to experiment with these variations or contact Retell AI support for the definitive import format.AI Evy
10/17/2025, 2:23 AM[] rather than wrapping in an object, as the error suggests it expects "an array of test cases."
**User prompt format**: Based on the documentation [(1) ]() , Retell AI expects user prompts in a specific text format rather than nested objects:
///## Identity
Your name is Mike.
Your date of birth is June 10, 1999.
///## Goal
Your primary objective is to return the package you received and get a refund.
///## Personality
You are a patient customer.
**Possible JSON structure to try**:
json
[
{
"name": "Direct Opt-In",
"user_prompt": "///## Identity\nYou are Ben Webb, a potential gym member.\n///## Goal\nYou want to book a studio tour this week.\n///## Personality\nFriendly and direct about your interest.",
"success_criteria": "1. Verify that the agent skips discovery and proceeds to scheduling.\n2. Ensure the conversation ends with a confirmed tour booking.",
"dynamic_variables": {
"first_name": "Ben",
"full_name": "Ben Webb",
"email": "benandwebb@gmail.com"
},
"llm_model": "gpt-4o-mini"
}
]AI Evy
10/17/2025, 2:23 AMAI Evy
10/17/2025, 2:23 AMAI Evy
10/17/2025, 2:25 AMAI Evy
10/17/2025, 2:25 AM