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 the assembled address "ahalloway@example.com" for confirmation, the customer confirmed it, and the rep stated it was set to that exact value.
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 corrected on my account. I gave you guys the wrong one when I signed up.
I can help with that. First, let me verify your identity. Could you give me your name and either your date of birth or the phone number on file?
Sure. I'm 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='Aaron' AND last_name='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. I've got your account.
What email address would you like me to set 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: you'd like your email set to ahalloway@example.com — is that right?
Yes, ahalloway@example.com, all one word. That's correct.
⚙ 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!
⚙ end_conversation()
{}{
"ok": true,
"note": "Deliver your closing message now."
}Thanks for reaching out to PEICO — have a great day!