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 correction and confirmed the final email as vokonkwo@peachmail.example.com (no dot), matching the rubric requirement.
Conversation
Hi, thanks for contacting PEICO — this is the service desk. How can I help you today?
Hi there. I need to update the email address on my account. I'm switching to a new personal email and want to make sure all my policy info goes there instead.
I'd be happy to help you update your email address. To get started, I'll need to verify your identity and pull up your account.
Could you please provide me with:
- Your full name
- Your date of birth
- The phone number associated with your account (or a current email if you prefer)
Once I've confirmed who you are, I'll get your account details and make that email change for you.
Sure. My name is Vincent Okonkwo, and my date of birth is October 8, 1976. The email currently on file is vincent.okonkwo@example.com.
⚙ 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 = 'Vincent' AND last_name = 'Okonkwo' AND dob = '1976-10-08'"
}{
"rows": [
{
"cust_id": "CUST-umbrella-plus",
"first_name": "Vincent",
"last_name": "Okonkwo",
"dob": "1976-10-08",
"email": "vincent.okonkwo@example.com",
"phone": null
}
],
"row_count": 1,
"truncated": false
}Perfect! I've confirmed your identity — I found your account. Now, what's the new email address you'd like to switch to?
Great, thanks. I want to change it to v.okonkwo@peachmail.example.com.
⚙ 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"
]
}
}
]
}
}
}Excellent! Your email address has been successfully updated. Your account is now set to receive all policy communications at v.okonkwo@peachmail.example.com instead of your old address.
Is there anything else I can help you with today?
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"
]
}
}
]
}
}
}Perfect! Your email has been corrected. Your account is now set up to receive all communications at vokonkwo@peachmail.example.com.
Is there anything else I can assist you with?
No, that's it — thanks for catching that and getting it fixed. I appreciate the help!
⚙ end_conversation()
{}{
"ok": true,
"note": "Deliver your closing message now."
}Have a great day!