Handle birth and death registration enquiries

Workflow purpose

This guide demonstrates how to use Proto's AI agent to answer citizens' questions about registering a birth or a death – what to bring, what it costs, how to check an application and how to correct a mistake on a certificate.

The workflow works out which case applies – a birth registered on time, a late registration, a death, or a certified copy – and gives the requirements and fee for that case. People can check the progress of an application, and requests to correct a record are sent to the civil registry as a ticket with the supporting documents attached. Anyone registering a death is spoken to with care and offered a person early in the conversation.

Civil registration questions arrive at district offices, health facilities and national helplines alike, and the answers depend on details people rarely know in advance. An AI agent gives the same accurate answer everywhere, so registrars can spend their time on registrations rather than repeat enquiries.

Who can benefit from this guide:

  • Civil registration and vital statistics agencies
  • Local government districts and municipalities that register births and deaths
  • Hospitals and health facilities that notify births and deaths to the registry
  • National identity agencies that rely on birth records
  • Development partners supporting universal birth registration

Birth and death registration enquiries

This workflow explains requirements for each case, checks applications and logs corrections 24/7. See how to build a civil registration enquiry 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. Add your registration rules to the knowledge base

Make sure every answer reflects the current law and fees.

In the AI agent’s Knowledge base, add your civil registration guidance as a File or URL – the legal period for registering a birth, what counts as late registration, fees for each service, documents needed in each case, and where to register. The AI agent uses this content to answer questions the menu doesn’t cover, such as “Can the father register the birth alone?”. Update it whenever fees or rules change.

2. Create a trigger

Start the flow when a person asks about registering a birth or a death, or about a certificate.

  • 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. “Civil Registration”) and add a short description (e.g. “Triggers if user asks about registering a birth or death, a birth or death certificate, a copy of a certificate, or correcting a civil record.”).
  • Add training phrases (e.g. “How do I register my baby”, “I need a birth certificate”, “My father passed away, what do I do”, “Copy of a death certificate”, “My name is wrong on my certificate”).

3. Ask what the person needs

Send each enquiry down the path that fits it.

Add a Send message action:

“I can help with birth and death registration. What do you need?”

Add quick reply options: Register a birth | Register a death | Get a certified copy | Check my application | Correct a certificate. Add a Message received sub-trigger for each.

Set up the death registration path first (Step 5) – a person who writes “my mother died” should reach it directly, without seeing a menu.

4. Explain birth registration – on time or late

The requirements and fee depend on how long ago the child was born and where.

Under the Register a birth sub-trigger, add an Ask survey action. Action title: Birth details

Field Variable Type Invalid reply
How long ago was the child born? birth_timing Text, with quick replies Within the last 30 days | More than 30 days ago | More than a year ago Please choose one of the options
Where was the child born? birth_place Text, with quick replies At a hospital or clinic | At home or elsewhere Please choose one of the options

Use your own legal period in the quick replies. Then add a Branch action:

Condition Send message
birth_timing == "Within the last 30 days" “Registration within 30 days of birth is free. Bring both parents’ ID cards and the birth notification from the hospital or clinic.”
birth_timing == "More than 30 days ago" “This is a late registration. The fee is {late_fee}. Bring both parents’ ID cards, the birth notification and a completed late registration form.”
Else “Births registered more than a year later need a sworn statement and evidence of the date of birth, such as a baptism or clinic card. The fee is {delayed_fee}.”

Add a second Branch on birth_place. For At home or elsewhere, add a Send message explaining that a letter from a local leader or community health worker confirming the birth replaces the hospital notification. Many hospitals notify births to the registry directly, so the parents may only need to collect the certificate – say so if that applies in your country.

Set the fees with a Set variable action at the start of the flow, or include them in the messages directly, so there’s one place to change them.

5. Handle death registration with care

A person registering a death is often grieving. Keep the tone gentle, ask as little as possible and offer a person straight away.

Under the Register a death sub-trigger – and in a separate Message received trigger with phrases such as “my father died”, “someone passed away”, “register a death” – add a Send message:

“I’m very sorry for your loss. I can explain what’s needed to register the death, or put you in touch with a member of our team now. Whichever you prefer.”

Add quick reply options: Tell me what’s needed | Talk to someone.

  • Under Talk to someone, add a Live agent handoff action assigned to your registration team, with Live agent availability check turned on. If nobody is online, use the If there is no live agent online branch to send a Send message with office hours and the nearest office, and say the requirements are available here at any time.
  • Under Tell me what’s needed, add a Send message with the requirements in short, plain lines – the medical certificate of cause of death from the hospital or doctor, the deceased person’s ID card, the informant’s ID card, the time limit and any fee. Mention that deaths in a hospital may already have been notified to the registry.

Write these messages without bold warnings, emoji or exclamation marks, and don’t ask for details that aren’t needed to answer the question. Live agents can add a bereavement tag in the Inbox to follow up these conversations with extra care.

6. Explain certified copies

Under the Get a certified copy sub-trigger, add a Send message with quick reply options: Birth certificate | Death certificate. Under each, add a Send message with who can apply (e.g. the person named, a parent, next of kin or someone with a letter of authority), the documents needed, the fee and where to apply.

If certified copies can be requested online, add the link to your e-services portal. If people may only apply in person, add a Send API or SQL Query action that returns the registry offices for their district, and send them as a list. SQL Query is available on Enterprise plans only.

7. Check an application

Let people see the progress of a registration or certificate application without calling the office.

Under the Check my application sub-trigger, add an Ask survey action. Action title: Application lookup

Field Variable Type Invalid reply
Application number application_number Text Please enter the number on your application receipt
Applicant’s ID number applicant_id Text Please enter the ID number used on the application

Add a Send API action:

  • HTTP method: GET
  • URL endpoint: your civil registration system’s application endpoint, passing application_number and applicant_id
  • Headers: the authorisation key your system requires
  • Resulting variable: application

If the registry is held in a database, use a SQL Query action against a connection in Database Connections, with bind parameters, e.g. SELECT status, office, missing_items FROM applications WHERE ref = $1 AND applicant_id = $2.

Then add a Branch action:

Condition Send message
application["status"] == "received" “Your application {application_number} has been received and is waiting to be reviewed.”
application["status"] == "awaiting_documents" “Your application needs one more thing: {application[“missing_items”]}. Please bring it to {application[“office”]}.“
application["status"] == "ready" “Your certificate is ready. You can collect it from {application[“office”]} with your ID card and receipt.“
application["status"] == "rejected" “Your application couldn’t be approved: {application[“reason”]}. I can connect you with a registrar to explain the next steps.“
Else “I couldn’t find an application with those details. Please check the number on your receipt.”

8. Request a correction to a record

Send correction requests to the registry with everything a registrar needs to decide.

Under the Correct a certificate sub-trigger, add an Ask survey action. Action title: Correction request

Field Variable Type Invalid reply
Certificate or entry number certificate_number Text Please enter the number on the certificate
What is wrong on the record? error_details Text Please describe what is wrong
What should it say? correct_details Text Please give the correct details
Upload a photo of the certificate and any proof correction_evidence Attachment (multiple files) Please upload the files
District where the record was registered district Text Please enter the district
Your full name full_name Text Please enter your full name
Email email Email Please provide a valid email address
Phone number phone Phone Please provide a valid phone number

Then add a Create ticket action:

  • Assignee: your civil registry corrections team
  • Subject: Correction – {certificate_number} – {district}
  • Description: error_details, correct_details and the certificate number
  • Full name, Email and Phone number: the requester’s details
  • Auto-apply tags: record-correction
  • Custom fields: district, so registrars can filter requests for their own office
  • Email template: a confirmation to the requester with the ticket reference

The uploaded files stay with the conversation, so the registrar sees them with the request. Finish with a Send message:

“Your correction request has been sent to the registry. Your reference is {_new_ticket.short_id}. A registrar will contact you if they need more information.”

Registrars reply from the ticket in the Inbox and set it to Pending while waiting for documents. Check the teamspace’s overdue rule in Settings › Tickets › Overdue rules – it applies to every ticket. With Apply overdue status after set to 10 days and Exclude weekends on, no request is left waiting.

9. Test the flow

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

  • Test each birth timing and place, and check the right requirements and fee appear.
  • Write “my mother passed away” without using the menu and confirm it reaches the death registration path with the condolence message.
  • Choose Talk to someone with no live agent online and check the office hours message.
  • Check an application in each status, and with a wrong ID number.
  • Submit a correction with files and confirm the ticket reaches the registry with the right tag and district.
  • 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.