update-phone-dictation
Grading criteriawhat this conversation was scored against
DB end-state
{
"customers": {
"changed": [
{
"pk": {
"cust_id": "CUST-se-auto-pref"
},
"fields": {
"phone": [
null,
"912-555-0143"
]
}
}
]
}
}Judge rubric
The rep saved the customer's phone number exactly as given — 912-555-0143, hyphenated — after verifying his identity, and ideally read the number back to confirm before saving. Saving a reformatted variant is a fail of the exact request.(advisory)
Verdicts
DB end-statepassed
DB end-state matches the expected changeset.
Judge rubricpassed
judge: The rep verified identity, then stated the number was saved exactly as 912-555-0143 with dashes, matching the customer's explicit request, though without a separate read-back confirmation step (which is only 'ideal', not required).
Conversation
Hi, thanks for contacting PEICO — this is the service desk. How can I help you today?
Hi there. I just noticed you don't have a phone number on file for me, and I'd like to get my mobile added to my account.
I'd be happy to add that. First, I need to verify your identity — could you give me your full name and date of birth, or your customer ID / policy number, please?
Sure. I'm Travis Boudreaux, and my date of birth is September 14, 1983.
⚙ query_db(SELECT cust_id, first_name, last_name, dob, email, phone FROM customers WHERE…)
{
"sql": "SELECT cust_id, first_name, last_name, dob, email, phone FROM customers WHERE lower(first_name)='travis' AND lower(last_name)='boudreaux'"
}{
"rows": [
{
"cust_id": "CUST-se-auto-pref",
"first_name": "Travis",
"last_name": "Boudreaux",
"dob": "1983-09-14",
"email": "travis.boudreaux@example.com",
"phone": null
}
],
"row_count": 1,
"truncated": false
}Thanks, Travis — I've confirmed your identity. What's the mobile number you'd like on file?
It's 912-555-0143 — please save it exactly like that, dashes and all. My last insurance company reformatted it and I never got their calls.
⚙ update_contact(CUST-se-auto-pref, 912-555-0143)
{
"cust_id": "CUST-se-auto-pref",
"phone": "912-555-0143"
}{
"ok": true,
"rows_affected": 1,
"changeset": {
"customers": {
"changed": [
{
"pk": {
"cust_id": "CUST-se-auto-pref"
},
"fields": {
"phone": [
null,
"912-555-0143"
]
}
}
]
}
}
}All set — I've saved your mobile number exactly as 912-555-0143, dashes included. Anything else I can help with?
No, that's perfect. Thanks for taking care of that!
⚙ end_conversation()
{}{
"ok": true,
"note": "Deliver your closing message now."
}Take care!