Update personal details with ID verification
Workflow purpose
This guide demonstrates how to use Proto's AI agent to let customers update their email address, postal address or phone number through AI chat – without a branch visit, and without opening a route for fraudsters to take over an account.
The workflow checks the customer's existing details, asks for a photo of their ID and sends a one-time code to the contact details already on file. Low-risk changes, such as a new address with proof attached, are written straight to your core banking system. A phone number change is never applied automatically: it opens a ticket for your verification team, because changing the number that receives one-time codes is one of the most common ways accounts are taken over.
Who can benefit from this guide:
- Banks and credit unions keeping customer records up to date
- Microfinance institutions and savings cooperatives
- Mobile money and digital wallet providers
- Fraud and KYC teams that review high-risk account changes
- Any financial institution that currently requires a branch visit to change contact details
Update personal details
This workflow verifies the customer, collects the new details and either applies the change or sends it for review 24/7. See how to build a personal details update workflow.
1. Create a trigger
Start the flow when a customer wants to change their contact details.
- Navigate to the Workflows tab in the AI agent settings.
- Click New workflow and select Message received as the Workflow type.
- Name the trigger (e.g. “Update Personal Details”) and add a short description (e.g. “Triggers if user wants to change or update their phone number, email address or home address on their account.”).
- Add training phrases (e.g. “I’ve moved house”, “Change my email”, “Update my phone number”, “I have a new number”, “My address is wrong”).
2. Ask what needs to change
Each detail carries a different level of risk, so find out which one before asking for anything else.
Add a Send message action with quick replies: Address | Email | Phone number.
“I can help you update your details. What would you like to change?”
Add a Set variable action that stores the reply as change_type, so later steps can branch on it.
3. Check the existing details
Ask for details only the account holder should know, and check them before going further.
Add an Ask survey action. Action title: Existing details
| Field | Variable | Type | Invalid reply |
|---|---|---|---|
| Account number | account_number |
Text | Please enter your account number |
| Date of birth | date_of_birth |
Text | Please enter your date of birth, e.g. 14/03/1988 |
| Mobile number currently on your account | current_mobile |
Phone | Please enter the mobile number registered on your account |
Keep Enable skip off for all three. Add a Send API action (HTTP method: POST) to your core banking system that checks the three details match one record. Resulting variable: identity_check.
Under the Error and Timed out branches, and when identity_check["match"] is false, don’t say which detail was wrong – that tells a fraudster what to guess next. Send one message (“I couldn’t match those details to an account.”) and allow one more try with a Set variable counter, then hand over to a live agent as in Step 8.
4. Check the customer’s ID
Ask for a photo of the ID document the account was opened with.
Add an Ask survey action. Action title: ID upload
| Field | Variable | Type | Invalid reply |
|---|---|---|---|
| Photo of your ID | id_document |
Attachment | Please upload a clear photo of the front of your ID |
Read the ID number from the photo as shown in Auto-populate fields with OCR, then check it against the ID number held on the account as shown in Verify personal ID through AI chat. If the two don’t match, don’t apply any change – go to Step 7 and open a ticket instead, so a member of your team looks at the document.
5. Send a one-time code to the existing contact
Prove the customer still controls the contact details already on file – not the new ones they’re asking for.
Add a Send API action (HTTP method: POST) to your bank’s own OTP service, passing account_number. Your service sends a one-time code to the mobile number already on the account. Resulting variable: otp_request. Never send the code to a number or email the customer has just typed in.
“I’ve sent a code to the mobile number ending {identity_check[“mobile_last4”]}. Please enter it below. It expires in 5 minutes.“
Add an Ask survey action with one field – One-time code, variable otp_code, type Number – then a Send API action that checks the code. Resulting variable: otp_result. If otp_result["verified"] is false, allow two more tries with a Set variable counter and a Branch, then hand over as in Step 8.
Add a Send message with quick reply I no longer have that number, and under a Message received sub-trigger for it, add a Jump action to Step 7. A customer who has lost access to their old number can’t pass this check, so their request always goes to your team.
6. Collect the new details
Ask only for the detail being changed.
Add a Branch action on change_type:
| Condition | Ask survey field | Variable | Type | Invalid reply |
|---|---|---|---|---|
change_type == "Address" |
New address | new_address |
Text | Please enter your full address, including the town |
| Proof of address | proof_of_address |
Attachment | Please upload a utility bill or bank letter from the last 3 months | |
change_type == "Email" |
New email address | new_email |
Please provide a valid email address | |
change_type == "Phone number" |
New mobile number | new_mobile |
Phone | Please enter the new mobile number, including the country code |
The attachment variables hold a link to each uploaded file, so they can be passed to your systems in a request body or added to a ticket.
7. Apply the change or send it for review
Write low-risk changes straight to your system, and send anything high-risk to your team.
Add a Branch action:
| Condition | What happens |
|---|---|
change_type == "Phone number" |
Create ticket |
| ID didn’t match, or I no longer have that number | Create ticket |
change_type == "Address" or "Email", and otp_result["verified"] == true |
Send API update |
For low-risk changes, add a Send API action (HTTP method: PATCH) to your core banking system’s customer endpoint, passing account_number, the new detail and, for an address, proof_of_address. Ask your system to send a notice of the change to the old email or mobile number, so the customer finds out quickly if it wasn’t them. Then add a Send message:
“Done – your {change_type} has been updated. We’ve sent a confirmation to your previous contact details.”
For high-risk changes, add a Create ticket action:
- Assignee: your KYC or fraud team
- Subject: Personal details change – {change_type} – account ending {identity_check[“account_last4”]}
- Description: the change requested, the new detail, whether the ID matched and whether the one-time code was verified
- Full name, Email and Phone number: the details already on file, not the new ones
- Attachment(s):
id_document(andproof_of_addresswhere given) - Auto-apply tags: details-change, plus phone-change or id-mismatch where it applies
Tell the customer what happens next:
“For your security, a phone number change is checked by our team before it takes effect. We’ll contact you on your current details within 2 working days. We’ll never ask you for your PIN or one-time code.”
Your team calls the customer back on the number already on file, or asks them to visit a branch, then replies from the ticket in the Inbox and sets it to Resolved. Check the teamspace’s overdue rule in Settings › Tickets › Overdue rules – it applies to every ticket. With Apply overdue status after set to 2 days and Exclude weekends on, no request waits past the 2 working days the customer was promised.
8. Hand over to a live agent
Give customers who can’t get through the checks a way to reach a person.
Add a Live agent handoff action assigned to your customer service team, with Live agent availability check turned on. The live agent sees what the customer entered and which checks failed in the Inbox, but should still verify them again before changing anything.
9. Test the flow
Validate every path before going live using the AI agent tester side panel.
- Change an address with proof attached and confirm the update request carries the file link and the old contact is notified.
- Request a phone number change with every check passed and confirm it still opens a ticket, not an update.
- Upload an ID whose number doesn’t match the account and confirm no change is applied.
- Choose I no longer have that number and confirm a ticket is created with the old details, not the new ones.
- Enter wrong existing details twice and confirm the handoff message doesn’t say which detail failed.
- Build and test in an undeployed version – Duplicate the live version first – then Deploy it once every path passes.
Finalise the AI agent deployment by configuring your preferred channels and languages.
.png)