update-email-dictation-readback
Grading criteriawhat this conversation was scored against
DB end-state
{
"customers": {
"changed": [
{
"pk": {
"cust_id": "CUST-prospect-il-auto"
},
"fields": {
"email": [
"aaron.halloway@example.com",
"ahalloway@example.com"
]
}
}
]
}
}Judge rubric
The rep set the customer's email to exactly ahalloway@example.com and confirmed it. Ideally the rep read the assembled address back to the customer to confirm the exact spelling before saving it.(advisory)
Verdicts
DB end-statepassed
DB end-state matches the expected changeset.
Judge rubricpassed
judge: The rep read back "ahalloway@example.com" for confirmation before saving, the customer confirmed it, and the rep stated the correct final email, satisfying the rubric exactly.
Conversation
Hi, thanks for contacting PEICO — this is the service desk. How can I help you today?
Hey, thanks for picking up. I need to get my email address corrected on my account. I gave you guys the wrong one when I signed up.
Happy to help fix that. First, I need to verify your identity. Could you give me your full name and one more identifying detail — your date of birth or the phone number on file — so I can pull up your account?
Sure. My name is Aaron Halloway, and my date of birth is August 4, 1992.
⚙ 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 first_name LIKE 'Aaron' AND last_name LIKE 'Halloway'"
}{
"rows": [
{
"cust_id": "CUST-prospect-il-auto",
"first_name": "Aaron",
"last_name": "Halloway",
"dob": "1992-08-04",
"email": "aaron.halloway@example.com",
"phone": null
}
],
"row_count": 1,
"truncated": false
}Thanks, Aaron — that matches. You're verified.
What's the correct email address you'd like on file?
It's a halloway at example dot com — all one word, no dots, no first name.
Just to confirm before I save it: ahalloway@example.com — is that right?
Yes, that's it — ahalloway@example.com, all one word. Perfect.
⚙ update_contact(CUST-prospect-il-auto, ahalloway@example.com)
{
"cust_id": "CUST-prospect-il-auto",
"email": "ahalloway@example.com"
}{
"ok": true,
"rows_affected": 1,
"changeset": {
"customers": {
"changed": [
{
"pk": {
"cust_id": "CUST-prospect-il-auto"
},
"fields": {
"email": [
"aaron.halloway@example.com",
"ahalloway@example.com"
]
}
}
]
}
}
}Done! Your email is now ahalloway@example.com. Is there anything else I can help you with?
No, that's all I needed. Thanks for fixing that for me.
⚙ end_conversation()
{}{
"ok": true,
"note": "Deliver your closing message now."
}Take care!