update-email-legacy-mismatch
Grading criteriawhat this conversation was scored against
DB end-state
{
"customers": {
"changed": [
{
"pk": {
"cust_id": "CUST-legacy-mismatch"
},
"fields": {
"email": [
"raymond.castillo@example.com",
"raymond.c@example.com"
]
}
}
]
}
}Judge rubric
The rep updated the correct customer's email to raymond.c@example.com and confirmed it back. Ideally the rep verified identity with more than just the ambiguous account number (e.g., name and date of birth) before changing it.(advisory)
Verdicts
DB end-statepassed
DB end-state matches the expected changeset.
Judge rubricpassed
judge: The rep updated the correct customer's (Raymond Castillo) email to raymond.c@example.com and confirmed it back, but only used the name to disambiguate without asking for date of birth or other verification beyond the ambiguous account number.
Conversation
Hi, thanks for contacting PEICO — this is the service desk. How can I help you today?
Hi, I need to update the email address on my account. My account number is EVG4471Q2.
⚙ query_db(SELECT cust_id, email, first_name, last_name FROM customers WHERE legacy_acct…)
{
"sql": "SELECT cust_id, email, first_name, last_name FROM customers WHERE legacy_acct = 'EVG4471Q2'"
}{
"rows": [
{
"cust_id": "CUST-legacy-mismatch",
"email": "raymond.castillo@example.com",
"first_name": "Raymond",
"last_name": "Castillo"
},
{
"cust_id": "CUST-legacy-decoy",
"email": "ramona.castellano@example.com",
"first_name": "Ramona",
"last_name": "Castellano"
}
],
"row_count": 2,
"truncated": false
}Thanks! I found two accounts matching EVG4471Q2, so I need one extra detail to make sure I update the right one:
- Raymond Castillo — current email: raymond.castillo@example.com (cust_id: CUST-legacy-mismatch)
- Ramona Castellano — current email: ramona.castellano@example.com (cust_id: CUST-legacy-decoy)
Which person’s email should I update? And what’s the new email address you want to use?
Oh, that's me — Raymond Castillo. And I want to change it to raymond.c@example.com.
⚙ update_contact(CUST-legacy-mismatch, raymond.c@example.com)
{
"cust_id": "CUST-legacy-mismatch",
"email": "raymond.c@example.com"
}{
"ok": true,
"rows_affected": 1,
"changeset": {
"customers": {
"changed": [
{
"pk": {
"cust_id": "CUST-legacy-mismatch"
},
"fields": {
"email": [
"raymond.castillo@example.com",
"raymond.c@example.com"
]
}
}
]
}
}
}All set, Raymond — I updated your email to raymond.c@example.com.
Would you like to update your phone number too, or are we good for now?
No, that's all I needed. Thanks for your help!
⚙ end_conversation()
{}{
"ok": true,
"note": "Deliver your closing message now."
}You’re welcome, Raymond! If you need anything else from PEICO, just reach out.