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 ZIP before updating the email, then confirmed the change to priya.a@example.com 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. First, I need to verify your identity.
Please provide one of these:
- your policy number, or
- the phone number currently on the account, or
- your date of birth and ZIP code.
My name is Priya Anand, my date of birth is March 30, 1988, and my ZIP code is 95814.
⚙ query_db(SELECT c.cust_id, c.first_name, c.last_name, c.email, c.phone, a.zip FROM cus…)
{
"sql": "SELECT c.cust_id, c.first_name, c.last_name, c.email, c.phone, a.zip FROM customers c 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 a.zip = '95814'"
}{
"rows": [
{
"cust_id": "CUST-ca-masked-auto",
"first_name": "Priya",
"last_name": "Anand",
"email": "priya.anand@example.com",
"phone": null,
"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"
]
}
}
]
}
}
}Done — I updated the email on your account to priya.a@example.com.
Anything else I can help with today?
No, that's all. Thanks for taking care of that!
⚙ end_conversation()
{}{
"ok": true,
"note": "Deliver your closing message now."
}You're welcome — happy to help. Thanks for choosing PEICO, and have a great day!