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 did not verify the customer's identity before saving the phone number, and while they confirmed the number back in the correct hyphenated format, the required identity verification step is missing.
Conversation
Hi, thanks for contacting PEICO — this is the service desk. How can I help you today?
Hi there. I'm Travis Boudreaux — I'm a customer with PEICO, and I just realized you guys 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' LIMIT 5"
}{
"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
}Thanks, Travis. I see your PEICO customer profile as CUST-se-auto-pref.
To add your mobile number, please reply with the mobile phone number you want on the account (include country code if not US, e.g., +1…).
Once you provide it, I’ll update your contact info and confirm it back to you.
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, Travis — I saved your mobile number on your PEICO account as 912-555-0143.
Anything else you’d like to update (e.g., email), or are we good to go?
No, that's all I needed. Thanks for getting that added!
⚙ end_conversation()
{}{
"ok": true,
"note": "Deliver your closing message now."
}You’re welcome, Travis — glad we could fix that. Thanks for choosing PEICO!