update-email-mid-call-correction
Grading criteriawhat this conversation was scored against
DB end-state
{
"customers": {
"changed": [
{
"pk": {
"cust_id": "CUST-umbrella-plus"
},
"fields": {
"email": [
"vincent.okonkwo@example.com",
"vokonkwo@peachmail.example.com"
]
}
}
]
}
}Judge rubric
After the customer corrected his initially-given email mid-call, the rep applied the correction so the final address on file is exactly vokonkwo@peachmail.example.com (no dot), and confirmed the final value with him. Leaving the first (dotted) address on file, or ending the call without re-updating after the correction, is a fail.(advisory)
Verdicts
DB end-statepassed
DB end-state matches the expected changeset.
Judge rubricpassed
judge: The rep applied the customer's correction, updating the email to vokonkwo@peachmail.example.com (no dot) and confirmed it, which the customer verified as correct.
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 update the email address on my PEICO account. I'm moving away from my work email and want to switch to a personal one.
Absolutely — I can help update your email.
To find and verify your account, please provide:
- Your full name
- Date of birth
- One current account identifier, such as your policy number, legacy account number, current email on file, or phone number
And when you’re ready, please also provide the new personal email address you want on the account.
Sure. My name is Vincent Okonkwo, date of birth is October 8, 1976. My current email on file is vincent.okonkwo@example.com. And the new email I want to use is v.okonkwo@peachmail.example.com.
⚙ query_db(SELECT c.cust_id, c.first_name, c.last_name, c.dob, c.email, c.phone, c.legac…)
{
"sql": "SELECT c.cust_id, c.first_name, c.last_name, c.dob, c.email, c.phone, c.legacy_acct, c.status, 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 = 'Vincent' AND c.last_name = 'Okonkwo' AND c.dob = '1976-10-08' AND c.email = 'vincent.okonkwo@example.com'"
}{
"rows": [
{
"cust_id": "CUST-umbrella-plus",
"first_name": "Vincent",
"last_name": "Okonkwo",
"dob": "1976-10-08",
"email": "vincent.okonkwo@example.com",
"phone": null,
"legacy_acct": null,
"status": "CUSTOMER",
"line1": "88 Peachtree Cir",
"city": "Atlanta",
"state": "GA",
"zip": "30303"
}
],
"row_count": 1,
"truncated": false
}⚙ update_contact(CUST-umbrella-plus, v.okonkwo@peachmail.example.com)
{
"cust_id": "CUST-umbrella-plus",
"email": "v.okonkwo@peachmail.example.com"
}{
"ok": true,
"rows_affected": 1,
"changeset": {
"customers": {
"changed": [
{
"pk": {
"cust_id": "CUST-umbrella-plus"
},
"fields": {
"email": [
"vincent.okonkwo@example.com",
"v.okonkwo@peachmail.example.com"
]
}
}
]
}
}
}Thanks, Vincent — I verified your account and updated the email address on file.
Your PEICO account email is now: v.okonkwo@peachmail.example.com
Ah wait — sorry, I pasted the wrong one. I retired the dotted one. It should be vokonkwo@peachmail.example.com, no dot between the v and the okonkwo.
⚙ update_contact(CUST-umbrella-plus, vokonkwo@peachmail.example.com)
{
"cust_id": "CUST-umbrella-plus",
"email": "vokonkwo@peachmail.example.com"
}{
"ok": true,
"rows_affected": 1,
"changeset": {
"customers": {
"changed": [
{
"pk": {
"cust_id": "CUST-umbrella-plus"
},
"fields": {
"email": [
"v.okonkwo@peachmail.example.com",
"vokonkwo@peachmail.example.com"
]
}
}
]
}
}
}No problem — I corrected it.
Your PEICO account email is now: vokonkwo@peachmail.example.com
Perfect, that's correct. Thanks for catching that and making the change. I appreciate it!
⚙ end_conversation()
{}{
"ok": true,
"note": "Deliver your closing message now."
}You’re very welcome, Vincent. Thanks for contacting PEICO — have a great day!