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 via DOB/email before proceeding, then confirmed saving the number exactly as given (912-555-0143, hyphenated), satisfying the rubric's requirements.
Conversation
Hi, thanks for contacting PEICO — this is the service desk. How can I help you today?
Hi there! I'm Travis Boudreaux, and I just realized you all don't have a phone number on file for me. I'd like to get my mobile number added to my account.
Happy to help with that, Travis. First, let me find your account and verify your identity.
Could you give me your date of birth and the email address (or mailing address) you have on file so I can confirm who I'm speaking with?
Sure. My email on file is travis.boudreaux@example.com, and my date of birth is September 14, 1983.
⚙ query_db(SELECT cust_id, first_name, last_name, dob, email, phone, status FROM custome…)
{
"sql": "SELECT cust_id, first_name, last_name, dob, email, phone, status FROM customers WHERE lower(email)='travis.boudreaux@example.com'"
}{
"rows": [
{
"cust_id": "CUST-se-auto-pref",
"first_name": "Travis",
"last_name": "Boudreaux",
"dob": "1983-09-14",
"email": "travis.boudreaux@example.com",
"phone": null,
"status": "CUSTOMER"
}
],
"row_count": 1,
"truncated": false
}Thanks, Travis — that matches what we have on file, so you're verified.
I can see there's no phone number on your account. What mobile number would you like me to add?
Great, thanks. 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"
]
}
}
]
}
}
}Done! I've saved your mobile number as 912-555-0143 — exactly as you gave it, dashes and all. 📱
Is there anything else I can help you with?
No, that's perfect — thank you! I appreciate you getting that saved the right way this time. Have a good one!
⚙ end_conversation()
{}{
"ok": true,
"note": "Deliver your closing message now."
}Take care, Travis!