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 ultimately set and confirmed the email as ahalloway@example.com, matching the required exact value, even though the initial attempt was wrong and corrected upon customer catching it.
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.
Absolutely — I can help with that.
To update the email on your account, I first need to verify and locate your record. Please send any two of the following:
- Full name
- Date of birth
- Phone number on file
- Legacy account number
- Current mailing ZIP code
Once I find your account, I’ll update the email you want changed.
Sure. My name is Aaron Halloway and my date of birth is August 4, 1992.
⚙ query_db(SELECT c.cust_id, c.first_name, c.last_name, c.dob, c.email, c.phone, a.zip F…)
{
"sql": "SELECT c.cust_id, c.first_name, c.last_name, c.dob, c.email, c.phone, 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",
"first_name": "Aaron",
"last_name": "Halloway",
"dob": "1992-08-04",
"email": "aaron.halloway@example.com",
"phone": null,
"zip": "60540"
}
],
"row_count": 1,
"truncated": false
}Thanks, Aaron — I found your account.
I can update the email for customer profile ending in ZIP code 60540. What email address would you like me to save?
Perfect. It's a halloway at example dot com — all one word, no dots, no first name.
⚙ update_contact(CUST-prospect-il-auto, halloway@example.com)
{
"cust_id": "CUST-prospect-il-auto",
"email": "halloway@example.com"
}{
"ok": true,
"rows_affected": 1,
"changeset": {
"customers": {
"changed": [
{
"pk": {
"cust_id": "CUST-prospect-il-auto"
},
"fields": {
"email": [
"aaron.halloway@example.com",
"halloway@example.com"
]
}
}
]
}
}
}Done — I updated your email to halloway@example.com.
Anything else I can help with today?
Actually, wait — I need to make sure that's right. It should be "a halloway" — with an "a" at the start. So it's a halloway at example dot com. Can you confirm that's what you have?
Right now I have halloway@example.com on file.
If you want, I can change it to ahalloway@example.com — just confirm and I’ll update it.
Yes, ahalloway@example.com, all one word. That's the correct one. Go ahead and update it.
⚙ 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": [
"halloway@example.com",
"ahalloway@example.com"
]
}
}
]
}
}
}⚙ end_conversation()
{}{
"ok": true,
"note": "Deliver your closing message now."
}All set — your email is now ahalloway@example.com.
Thanks for catching that, and thanks for choosing PEICO.
Perfect, thanks for fixing that for me. Really appreciate it.