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 to vokonkwo@peachmail.example.com (no dot) after the customer's correction and confirmed it clearly with the customer, who acknowledged it.
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 account. I'm moving away from my work email and want to switch to a personal one.
Happy to help with that! First, I need to verify your identity and pull up your account. Could you give me:
- Your full name
- Your date of birth or the email/phone currently on file
And then, what's the new personal email address you'd like to switch to?
Sure. My name is Vincent Okonkwo, and the email currently on file is vincent.okonkwo@example.com. The new one I want is v.okonkwo@peachmail.example.com.
⚙ query_db(SELECT cust_id, first_name, last_name, dob, email, phone, status FROM custome…)
{
"sql": "SELECT cust_id, first_name, last_name, dob, email, phone, status FROM customers WHERE 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,
"status": "CUSTOMER"
}
],
"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"
]
}
}
]
}
}
}Done! Your email on file has been updated:
Any future correspondence will go to your new personal address. Is there anything else I can help you with?
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 — fixed! Your email on file is now vokonkwo@peachmail.example.com (no dot). Anything else I can help with?
Perfect, that's it. Thanks for catching that and getting it corrected. I appreciate the help!
⚙ end_conversation()
{}{
"ok": true,
"note": "Deliver your closing message now."
}Thanks for contacting PEICO — take care!