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 rubricfailed
judge: The rep found the account (implying verification) but never explicitly verified Travis's identity before saving, and did not read back the number to confirm before saving, though he did state it was saved exactly as provided.
Conversation
Hi, thanks for contacting PEICO — this is the service desk. How can I help you today?
Hey, thanks for picking up. 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 added to my account.
⚙ query_db(SELECT cust_id, first_name, last_name, phone, email FROM customers WHERE firs…)
{
"sql": "SELECT cust_id, first_name, last_name, phone, email FROM customers WHERE first_name = 'Travis' AND last_name = 'Boudreaux'"
}{
"rows": [
{
"cust_id": "CUST-se-auto-pref",
"first_name": "Travis",
"last_name": "Boudreaux",
"phone": null,
"email": "travis.boudreaux@example.com"
}
],
"row_count": 1,
"truncated": false
}I found your account, Travis. I can add your mobile number once you send it to me.
Please reply with the phone number you’d like added, and I’ll update your account.
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 added 912-555-0143 to your account exactly as provided.
If you need anything else, just let me know.
Perfect, thank you so much for taking care of that. I appreciate it.
⚙ end_conversation()
{}{
"ok": true,
"note": "Deliver your closing message now."
}You’re very welcome, Travis — happy I could help. Thanks for contacting PEICO, and have a great day.