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 before making changes and confirmed saving the number exactly as given (912-555-0143, dashes and all), satisfying the rubric even though a proactive read-back before saving was 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 realized you guys don't have a phone number on file for me, and I'd like to get my mobile added to my account.
I can help with that. First, I need to verify your identity before I make any changes to your account.
Could you please provide me with your name and either your email address on file or your date of birth?
Sure. My name is Travis Boudreaux. My email on file is travis.boudreaux@example.com.
⚙ query_db(SELECT cust_id, first_name, last_name, email, phone, dob FROM customers WHERE…)
{
"sql": "SELECT cust_id, first_name, last_name, email, phone, dob 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",
"email": "travis.boudreaux@example.com",
"phone": null,
"dob": "1983-09-14"
}
],
"row_count": 1,
"truncated": false
}Thanks, Travis — that matches our records, and I can confirm there's no phone number on file.
What's the mobile number you'd like to add?
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 exactly as you requested: 912-555-0143, dashes and all.
Is there anything else I can help you with?
No, that's all I needed. Thanks for your help!
⚙ end_conversation()
{}{
"ok": true,
"note": "Deliver your closing message now."
}Thanks for reaching out to PEICO — have a great day!