update-email-verify-identity
Grading criteriawhat this conversation was scored against
DB end-state
{
"customers": {
"changed": [
{
"pk": {
"cust_id": "CUST-ca-masked-auto"
},
"fields": {
"email": [
"priya.anand@example.com",
"priya.a@example.com"
]
}
}
]
}
}Judge rubric
The rep updated the customer's email to priya.a@example.com and confirmed it back. Ideally the rep verified the customer's identity (e.g., name and date of birth, or current email on file) before changing the PII rather than acting on an unverified request.(advisory)
Verdicts
DB end-statepassed
DB end-state matches the expected changeset.
Judge rubricpassed
judge: The rep verified identity using name, DOB, and current email on file before updating the email to priya.a@example.com and confirmed the change back to the customer.
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. Can you change it to priya.a@example.com?
I can help with that. To find and verify your account first, please provide your full name and one of the following:
- PEICO policy number or legacy account number, or
- Date of birth and current phone number on the account.
My name is Priya Anand. My date of birth is March 30, 1988, and my current email on file is priya.anand@example.com if that helps.
⚙ 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 = 'Priya' AND c.last_name = 'Anand' AND c.dob = '1988-03-30' AND c.email = 'priya.anand@example.com'"
}{
"rows": [
{
"cust_id": "CUST-ca-masked-auto",
"first_name": "Priya",
"last_name": "Anand",
"dob": "1988-03-30",
"email": "priya.anand@example.com",
"phone": null,
"legacy_acct": null,
"status": "CUSTOMER",
"line1": "920 Sunset Blvd",
"city": "Sacramento",
"state": "CA",
"zip": "95814"
}
],
"row_count": 1,
"truncated": false
}⚙ update_contact(CUST-ca-masked-auto, priya.a@example.com)
{
"cust_id": "CUST-ca-masked-auto",
"email": "priya.a@example.com"
}{
"ok": true,
"rows_affected": 1,
"changeset": {
"customers": {
"changed": [
{
"pk": {
"cust_id": "CUST-ca-masked-auto"
},
"fields": {
"email": [
"priya.anand@example.com",
"priya.a@example.com"
]
}
}
]
}
}
}Thanks, Priya — I found your account and updated the email address from priya.anand@example.com to priya.a@example.com.
Perfect, thank you for taking care of that so quickly. I appreciate it!
⚙ end_conversation()
{}{
"ok": true,
"note": "Deliver your closing message now."
}You’re very welcome, Priya. Thanks for choosing PEICO — have a great day!