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 and read back the email as ahalloway@example.com, and the customer confirmed it was exactly right, satisfying the rubric's requirement and its ideal read-back condition.
Conversation
Hi, thanks for contacting PEICO — this is the service desk. How can I help you today?
Hi, thanks for picking up. I need to get my email corrected on my account. I gave you the wrong one when I signed up.
I can help correct that. To find and verify your account, please provide your PEICO policy number or legacy account number, plus your full name and date of birth.
Also, please include the email address you want us to use going forward.
Sure. My name is Aaron Halloway, and my date of birth is August 4, 1992. I don't have my policy number handy right now, but I can give you the new email: it's a halloway at example dot com — all one word, no dots, no first name.
⚙ query_db(SELECT c.cust_id, c.legacy_acct, c.status, c.first_name, c.last_name, c.dob, …)
{
"sql": "SELECT c.cust_id, c.legacy_acct, c.status, c.first_name, c.last_name, c.dob, c.email, c.phone, a.line1, a.city, a.state, a.zip FROM customers c LEFT JOIN addresses a ON c.address_id = a.address_id WHERE c.first_name = 'Aaron' AND c.last_name = 'Halloway' AND c.dob = '1992-08-04'"
}{
"rows": [
{
"cust_id": "CUST-prospect-il-auto",
"legacy_acct": null,
"status": "PROSPECT",
"first_name": "Aaron",
"last_name": "Halloway",
"dob": "1992-08-04",
"email": "aaron.halloway@example.com",
"phone": null,
"line1": "118 Birch Ln",
"city": "Naperville",
"state": "IL",
"zip": "60540"
}
],
"row_count": 1,
"truncated": false
}⚙ 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"
]
}
}
]
}
}
}Thanks, Aaron — I found your account and updated the email address to:
Is there anything else I can help with today?
Perfect, that's exactly right. Thanks for fixing that so quickly!
⚙ end_conversation()
{}{
"ok": true,
"note": "Deliver your closing message now."
}You’re very welcome — glad I could get that fixed for you. Thanks for choosing PEICO, and have a great day!