Contact Centres

Handle SIM registration through AI chat

Workflow purpose

This guide demonstrates how to use Proto's AI agent to handle SIM registration – the identity check that most countries require before a mobile number can stay active.

The workflow explains the registration rules, checks whether a number is already registered, and lets eligible customers register or update their details in the chat by sharing their ID details, a photo of their ID and a selfie. The details go to the operator's KYC system. Anything the system can't approve automatically becomes a ticket for manual verification, and customers who need to appear in person – minors and foreign nationals, in most markets – are told where to go and what to bring.

When a registration deadline approaches, operators can face millions of contacts in a few weeks. Moving the routine cases into chat keeps queues at shops short for the cases that genuinely need a person.

Who can benefit from this guide:

  • Mobile network operators running SIM registration or re-verification drives
  • KYC and compliance teams verifying subscriber identities
  • Retail and agent networks overwhelmed near registration deadlines
  • Mobile money providers whose wallets depend on a registered SIM
  • Customer support teams answering registration questions

Handle SIM registration

This workflow checks a number's status, collects ID details safely and submits them for verification. See how to build a SIM registration workflow.

Just starting with the platform?
For initial setup of your AI agent – including workspace setup, agent training, and channel deployment – please start here. This workflow guide assumes your AI agent is set up and ready for more advanced configurations.

1. Create a trigger

Start the flow when a customer asks about registering or verifying a SIM.

  • 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. “SIM Registration”) and add a short description (e.g. “Triggers if user asks to register a SIM, check whether their number is registered, update their registration details, asks about the registration deadline, or says their line will be blocked for not registering.”).
  • Add training phrases (e.g. “How do I register my SIM?”, “Is my number registered?”, “I got a message that my line will be blocked”, “Update my SIM details”, “When is the registration deadline?”).

2. Find out what the customer needs

Route the customer to the right path before asking for any personal details.

Add a Send message action with quick replies:

“I can help with SIM registration. What would you like to do?”

Quick replies: Check if my number is registered | Register my SIM | Update my details | Rules and deadlines

Under a Message received sub-trigger for Rules and deadlines, add an LLM Processing action with Use Knowledge info to provide more context on, {_user_input} as the input and a system prompt such as: “Answer questions about SIM registration using only the knowledge provided. Cover which IDs are accepted, the deadline and what happens after it. If the answer isn’t in the knowledge, say so.” Send the result with a Send message, then offer the other three options again.

Load the rules into the AI agent’s Knowledge tab › Knowledge base – Upload file for the regulator’s notice and Add URL for your registration page – and make sure Large language model is on under Personalization on the Agent tab.

3. Check the registration status

Tell the customer where they stand, without reading their personal data back to them.

Add an Ask survey action. Action title: Registration check

Field Variable Type Invalid reply
The phone number to check msisdn Phone Please enter the full number, including the country code
The last four digits of the ID it’s registered with id_last4 Number Please enter the last four digits of your ID number

On WhatsApp, pre-fill msisdn from {_channel_profile.phone_number} with a Set variable and ask the customer to confirm it.

Add a Send API action with POST to your registration status endpoint, passing msisdn and id_last4. Store it as reg_response, then parse it with Set variable: reg_response = _.json_parse(reg_response). Add a Branch:

Condition Next
reg_response["status"] == "registered" “Your number is fully registered. There’s nothing you need to do.”
reg_response["status"] == "pending" Tell them it’s being checked, and give the case reference if the API returns one
reg_response["status"] == "unregistered" Step 4
reg_response["status"] == "mismatch" “Those digits don’t match our records.” Offer Update my details or a live agent

Only ever return a status – never the name, date of birth or ID number on file. Anyone can type a stranger’s number into a chat. Under Error and Timed out, apologise and offer to continue with registration anyway.

4. Check who can register in chat

Send the cases that need a shop visit there before collecting any documents.

Add a Send message with quick replies:

“Which ID will you register with?”

Quick replies: National ID card | Passport – citizen | Passport – foreign national | Refugee ID | I’m under 18

Add a Branch on the reply. For foreign national, refugee ID and under 18, or whichever groups your regulator requires in person, add a Send message:

“For this type of registration, the law requires us to see you in person. Please visit one of our shops with your original ID{, and a parent or guardian with their ID, if you’re under 18}. You can find the nearest shop on our website.”

Then end the path. Everyone else continues to Step 5.

Be clear about what you’re collecting and why, then collect it once.

Add a Send message with quick replies I agree | No, I’ll visit a shop:

“To register your SIM, I’ll need your ID details, a photo of your ID and a selfie. They’re sent securely to our verification team, used only for SIM registration as the law requires, and not kept in this chat longer than needed.”

Add an Ask survey action. Action title: SIM registration

Field Variable Type Invalid reply
Your full name, as on your ID full_name Text Please enter your full name exactly as it appears on your ID
Your ID number id_number Text Please enter your ID number
Your date of birth date_of_birth Text Please enter your date of birth, e.g. 14 March 1985
A photo of the front of your ID id_photo Attachment Please send a clear photo of the front of your ID
A selfie, holding your ID next to your face selfie Attachment Please send a selfie with your ID visible

For checking that the ID number has a valid format, follow Verify personal ID through AI chat. To read the name and number off the ID photo instead of asking for them, use Auto-populate fields with OCR. Neither is repeated here.

For Update my details, use the same survey but turn on Enable skip for the fields that haven’t changed.

6. Submit to the KYC system

Send everything to the system that makes the registration decision.

Add a Send API action:

  • HTTP method: POST
  • URL endpoint: your KYC or subscriber registration endpoint
  • Headers: the authorisation key your system requires
  • Body: msisdn, full_name, id_number, date_of_birth, id_photo, selfie and the request type (new or update)
  • Resulting variable: kyc_response

Parse the response with Set variable, then add a Branch:

Condition Next
kyc_response["result"] == "approved" “Your SIM is now registered. Thank you.”
kyc_response["result"] == "manual_review" Step 7
kyc_response["result"] == "rejected" Explain the reason returned (e.g. photo unreadable), and offer one retry with a Jump to Step 5
Else Step 7

Under Error and Timed out, go to Step 7 – never ask the customer to send their documents a second time because a system was slow.

7. Open a ticket for manual verification

Hand the cases the KYC system couldn’t decide to a person, with the documents attached.

Add a Create ticket action:

  • Assignee: your KYC verification team
  • Subject: SIM registration – manual check – {msisdn}
  • Description: the request type, the KYC result and reason, and the ID type chosen in Step 4 – but not the full ID number, which is already in the KYC system
  • Full name: {full_name}; Email: the customer’s email if you have it – Email is required on every ticket, so for customers without one use your registration team’s own mailbox, and call them on {msisdn} with the outcome; Phone number: {msisdn}
  • Attachment(s): {id_photo} and {selfie}
  • Auto-apply tags: sim-registration and manual-review
  • Custom fields: a Registration type single-select field (New, Update)

Add a Set variable action to store {_new_ticket.short_id} as reg_reference, and send:

“Thanks – a member of our team will check your documents. Your reference is {reg_reference}. Message us here any time and choose Check if my number is registered to see the result.”

Proto can only message people first on Webchat, so on other channels the customer checks back themselves. Near a deadline, use an Inbox view filtered on manual-review to watch the backlog, and remember the teamspace’s overdue rule counts in whole days and applies to every ticket.

8. Warn about deadlines and deregistration

Make sure customers who aren’t yet registered know what’s at stake.

Wherever the flow ends without a completed registration – the customer declines consent, needs a shop visit, or drops out – add a Send message using the deadline from reg_response:

“Unregistered numbers will be suspended on {reg_response[“deadline”]} and may be deregistered later, which means losing the number and any mobile money linked to it. Registering takes a few minutes here, or at any of our shops.“

If reg_response["days_left"] is under 7, add a quick reply, Register now, that Jumps back to Step 4. If the number is already suspended, offer a Live agent handoff to the registration team with Live agent availability check on.

9. Test the flow

Validate every path before going live using the AI agent tester side panel.

  • Check a registered test number and confirm only the status is shown – no name or ID details.
  • Choose I’m under 18 and Passport – foreign national and confirm both get the shop visit message and are never asked for documents.
  • Register with clear test images and confirm approval; then force a manual_review result and check the ticket has both attachments and no full ID number in the description.
  • Make the KYC API time out and confirm the customer gets a reference instead of being asked to resend documents.
  • Build and test in an undeployed version – Duplicate the live version first – then click Deploy when every path passes.

Finalise the AI agent deployment by configuring your preferred channels and languages.