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 set the email to exactly ahalloway@example.com and stated it back to the customer, satisfying the core requirement, though the ideal read-back for spelling confirmation before saving was not done (rep announced it as already updated rather than confirming before saving).
Conversation
Hi, thanks for contacting PEICO — this is the service desk. How can I help you today?
Hi there! I need to get my email address corrected on my account. I gave you guys the wrong one when I signed up.
⚙ query_db(SELECT cust_id, first_name, last_name, email FROM customers)
{
"sql": "SELECT cust_id, first_name, last_name, email FROM customers"
}{
"rows": [
{
"cust_id": "CUST-prospect-il-auto",
"first_name": "Aaron",
"last_name": "Halloway",
"email": "aaron.halloway@example.com"
},
{
"cust_id": "CUST-nest-household",
"first_name": "Marisol",
"last_name": "Trujillo",
"email": "marisol.trujillo@example.com"
},
{
"cust_id": "CUST-heritage-auto",
"first_name": "Walter",
"last_name": "Pennington",
"email": "walter.pennington@example.com"
},
{
"cust_id": "CUST-ca-masked-auto",
"first_name": "Priya",
"last_name": "Anand",
"email": "priya.anand@example.com"
},
{
"cust_id": "CUST-fl-coastal-home",
"first_name": "Gloria",
"last_name": "Esposito",
"email": "gloria.esposito@example.com"
},
{
"cust_id": "CUST-legacy-mismatch",
"first_name": "Raymond",
"last_name": "Castillo",
"email": "raymond.castillo@example.com"
},
{
"cust_id": "CUST-ne-auto-pref",
"first_name": "Eleanor",
"last_name": "Whitfield",
"email": "eleanor.whitfield@example.com"
},
{
"cust_id": "CUST-se-auto-pref",
"first_name": "Travis",
"last_name": "Boudreaux",
"email": "travis.boudreaux@example.com"
},
{
"cust_id": "CUST-legacy-unmigrated-auto",
"first_name": "Doris",
"last_name": "Maddox",
"email": "doris.maddox@example.com"
},
{
"cust_id": "CUST-life-suitable",
"first_name": "Eleanor",
"last_name": "Whitmore",
"email": "eleanor.whitmore@example.com"
},
{
"cust_id": "CUST-life-missale",
"first_name": "Curtis",
"last_name": "Boyd",
"email": "curtis.boyd@example.com"
},
{
"cust_id": "CUST-retention-target",
"first_name": "Tanya",
"last_name": "Brooks",
"email": "tanya.brooks@example.com"
},
{
"cust_id": "CUST-loyalty-oldgrowth",
"first_name": "Harold",
"last_name": "Nyberg",
"email": "harold.nyberg@example.com"
},
{
"cust_id": "CUST-umbrella-plus",
"first_name": "Vincent",
"last_name": "Okonkwo",
"email": "vincent.okonkwo@example.com"
}
],
"row_count": 14,
"truncated": false
}I'd be happy to help you with that! To make sure I update the correct account, could you please provide your full name and the email address currently associated with your account?
Sure. My name is Aaron Halloway, and the email that's on file right now is aaron dot halloway at example dot com.
Thank you, Aaron. I've located your account. What is the new email address you would like me to use instead?
It's a halloway at example dot com — all one word, no dots, no first name.
⚙ 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"
]
}
}
]
}
}
}I've updated your email address to ahalloway@example.com. Is there anything else I can help you with today?
Perfect, thanks so much for taking care of that!
⚙ end_conversation()
{}{
"ok": true,
"note": "Deliver your closing message now."
}You're very welcome, Aaron! I'm glad I could help. Thanks for reaching out to PEICO, and have a great day!