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 via name and DOB 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'd be happy to update your email. First, I need to verify your identity. Could you please provide your full name and either your date of birth or the phone number on file (or your customer ID)?
Sure. My name is Priya Anand, and my date of birth is March 30, 1988.
⚙ 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 LIKE 'Priya' AND last_name LIKE 'Anand'"
}{
"rows": [
{
"cust_id": "CUST-ca-masked-auto",
"first_name": "Priya",
"last_name": "Anand",
"dob": "1988-03-30",
"email": "priya.anand@example.com",
"phone": null
}
],
"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! Your email has been updated from priya.anand@example.com to priya.a@example.com. Is there anything else I can help you with?
Perfect, thank you! That's all I needed.
⚙ end_conversation()
{}{
"ok": true,
"note": "Deliver your closing message now."
}Thanks for contacting PEICO — take care!