# Designing a Neutral Triage & Routing Prompt for Civic Appeal Classification and Public Accountability

> Published 2026-12-04 · https://www.promptzone.com/zainab_firdaus_3248c9b801/designing-a-neutral-triage-routing-prompt-for-civic-appeal-classification-and-public-4me8


#### Introduction: The Triage Bottleneck in Civic Feedback Systems

When citizens submit unstructured text about neighborhood infrastructure, public utilities, or local governance gaps, raw submissions rarely arrive neatly categorized. A single message might mix emotional frustration, street-level details, personal phone numbers, and confusion over which public authority actually holds jurisdiction.

This is the exact intake challenge being explored for **JanBoard**, an early-stage, India-focused civic concept envisioned as an independent **citizen accountability platform India** residents could use to document community concerns and follow their resolution openly. Rather than functioning as an unmoderated discussion forum, the proposed model centers on structured public appeals, transparent tracking, and measurable progress between citizens and public offices.

Because **JanBoard** is still in the conceptual and architectural design phase, no live AI pipeline or government integration exists yet. However, mapping out how a large language model can safely assist at the intake layer offers a practical prompt-engineering exercise in constrained extraction, jurisdiction triage, and PII redaction.

#### Why Structured Prompting Fits Civic Intake & Routing

In India's administrative landscape, jurisdiction splits across overlapping tiers. When someone wants to **report civic issues online India**-wide, a pothole on a municipal ward road belongs to a different authority than a state highway repair, a district-level land grievance, or a constituency-wide development request.

JanBoard's proposed architecture organizes dedicated public boards across distinct tiers of public office:

* Members of Parliament (MPs) and Members of Legislative Assemblies (MLAs)
* District Magistrates and Collectors
* Municipal Commissioners, Mayors, and Councillors
* Chief Ministers' Offices and selected government departments

Citizens often search for guidance on **how to complain to MLA online**, look up ways to **contact MP for constituency issues**, prepare a **district collector complaint online**, or submit a **municipal corporation complaint online** without knowing which board fits their specific problem. A well-structured prompt can convert messy narrative input into a standardized preliminary record—extracting geography, suggesting a likely office tier, neutralizing inflammatory phrasing, and flagging sensitive personal data—before a human reviewer approves the entry for public display.

Crucially, the prompt must assist human reviewers without overstepping: AI cannot verify facts on the ground, assign legal blame, or act on behalf of a government department.

#### The Reusable Civic Appeal Triage Prompt

The system prompt below is designed for JSON-mode or structured-output LLM workflows. While tailored to JanBoard's proposed intake schema, it can be adapted to any civic helpdesk, municipal intake portal, or community moderation pipeline.

```text
You are an impartial civic intake and classification assistant supporting a human moderation team. Your task is to analyze an incoming citizen submission, extract verifiable details stated in the text, redact sensitive personal information, and produce a standardized preliminary classification in valid JSON format.

### STRICT OPERATIONAL BOUNDARIES
1. Preliminary Assistance Only: Your output is an unverified preliminary triage record for human review. Never imply that an office has received, accepted, verified, or resolved the appeal.
2. Zero Fabrication: Extract ONLY facts, locations, dates, and office names explicitly stated by the user. If a district, ward, or department is not mentioned, output null or "Not specified". Never guess missing administrative boundaries.
3. Neutrality & Non-Defamation: Rewrite the summary in calm, objective, third-person language. Remove insults, profanity, unverified corruption accusations, or assumptions of guilt while preserving the core factual grievance.
4. Strict PII Protection: Identify and exclude phone numbers, email addresses, house/apartment numbers, government ID numbers (such as Aadhaar, PAN, or voter ID), and full personal names from the public summary. Log what types of PII were detected so moderators can verify redaction.
5. Uncertainty Flagging: If the jurisdictional tier is ambiguous or critical location details are missing, explicitly set "requires_human_review" to true and explain why.

### JURISDICTIONAL ROUTING TIERS (INDIA CONTEXT)
Select the most plausible preliminary tier ONLY if supported by the text:
- "Municipal Corporation / Council (Mayor, Municipal Commissioner, Councillor)" -> Urban civic services, local roads, streetlights, garbage collection, drainage, water supply, property/ward issues.
- "District Administration (District Magistrate / Collector)" -> District-wide revenue, land records, disaster relief, law-and-order coordination, inter-departmental district matters.
- "State Legislature / State Executive (MLA / Chief Minister's Office / State Dept)" -> State highways, state-run hospitals/schools, state welfare schemes, constituency-level state policy.
- "Parliamentary Constituency (MP)" -> Central government schemes, railways, national highways, telecom/postal infrastructure, MPLADS development requests.
- "Ambiguous / Needs Human Triage" -> Insufficient geographic or subject detail to route reliably.

### OUTPUT SCHEMA (RETURN ONLY VALID JSON)
{
  "classification_status": "PRELIMINARY_AI_TRIAGE_UNVERIFIED",
  "issue_category": "String (e.g., Roads & Footpaths, Water & Drainage, Sanitation, Streetlights, Public Health, Education, Transport, Other)",
  "extracted_location": {
    "state": "String or null",
    "district": "String or null",
    "city_or_town": "String or null",
    "ward_or_locality": "String or null"
  },
  "suggested_office_tier": "String from the list above",
  "specific_office_mentioned": "String or null",
  "routing_confidence": "High | Medium | Low",
  "public_appeal_summary": "Neutral, factual 2-3 sentence summary safe for public board display with zero PII and zero unverified allegations.",
  "pii_detected_and_redacted": [
    "List of PII categories found in raw input, e.g., Phone Number, Street Address, Personal Name"
  ],
  "missing_information_for_review": [
    "Specific details moderators should request or verify before routing"
  ],
  "requires_human_review": true,
  "review_notes": "Brief explanation of jurisdictional reasoning or ambiguity."
}

### CITIZEN SUBMISSION TO ANALYZE
"""
{{USER_SUBMISSION_TEXT}}
"""

```

#### Illustrative Input & Output Demonstration

*Note: The following scenario is entirely fictional and created solely to demonstrate how the prompt structures raw input. It does not represent a real public complaint or an active **JanBoard** record.*

**Sample Fictional Input:**

> "Hi, I am Rajesh Verma living at Flat 402, Shanti Apartments, Kankarbagh, Patna. For the past 3 weeks the main sewer line near Kankarbagh Main Road has been overflowing and mixed sewage water is entering the lane. We called the local ward office twice and nothing happened, these officials are totally negligent and eating funds! Please forward this to the Patna Municipal Commissioner immediately. My mobile is 9876543210 if anyone needs to reach me."

**Sample Structured Output:**

```json
{
  "classification_status": "PRELIMINARY_AI_TRIAGE_UNVERIFIED",
  "issue_category": "Water & Drainage",
  "extracted_location": {
    "state": "Bihar (inferred only if state lookup table is enabled; otherwise null)",
    "district": "Patna",
    "city_or_town": "Patna",
    "ward_or_locality": "Kankarbagh / Kankarbagh Main Road"
  },
  "suggested_office_tier": "Municipal Corporation / Council (Mayor, Municipal Commissioner, Councillor)",
  "specific_office_mentioned": "Patna Municipal Commissioner",
  "routing_confidence": "High",
  "public_appeal_summary": "Resident reports an overflowing main sewer line near Kankarbagh Main Road in Patna persisting for approximately three weeks, causing sewage water to enter the adjacent lane. Prior informal follow-ups with the local ward office have not resolved the issue, and the appeal requests intervention from the Patna Municipal Commissioner.",
  "pii_detected_and_redacted": [
    "Personal Name (Rajesh Verma)",
    "Residential Apartment/Building Address (Flat 402, Shanti Apartments)",
    "Mobile Phone Number (9876543210)"
  ],
  "missing_information_for_review": [
    "Exact municipal ward number",
    "Photographic evidence or prior complaint reference number, if available"
  ],
  "requires_human_review": true,
  "review_notes": "Urban sewerage and drainage maintenance falls under municipal corporation jurisdiction. Strip personal name, flat number, and phone number before publishing to the public board. Unverified allegation of fund misuse omitted from public summary."
}

```

#### Prompt Design Choices & How It Fits a Transparent Lifecycle

In an **online public complaint platform India** residents can trust, intake classification is only the first step. JanBoard's proposed workflow spans seven distinct lifecycle stages:

1. **Submission** of a public appeal
2. **Review** of the submitted request
3. **Routing** to the relevant public office
4. **Progress updates**
5. **Office-reported resolution**
6. **Citizen confirmation**
7. **Closure or resolution dispute**

When a resident decides to **file public appeal request online**, the prompt assists during Stages 1 and 2 by preparing a clean draft for human moderators. Notice three deliberate guardrails built into the prompt instructions:

* **Strict Separation of States:** The output schema hardcodes `"classification_status": "PRELIMINARY_AI_TRIAGE_UNVERIFIED"`. In a **public grievance tracking India** interface, users must never confuse an automated intake summary with an official acknowledgment. Under JanBoard's proposed transparency model, office boards display public requests, aggregate pending and resolved counts, and official status updates—but verified office responses are strictly reserved for representatives or staff who claim their board via official-email verification and administrative approval.
* **Defamation & Tone Filtering:** Raw civic complaints often contain understandable anger. By instructing the model to strip unverified accusations (such as "eating funds" in the example above) while retaining the concrete infrastructure problem, the prompt protects public boards from turning into unmoderated rumor feeds while preserving the citizen's core request.
* **Privacy-by-Default Summaries:** Citizens frequently include phone numbers or home addresses when trying to **track civic complaint status online**. Separating PII into an internal audit field ensures contact data remains available privately for Stage 6 (citizen confirmation of a reported fix) without exposing sensitive details on public pages.

#### Limitations & Why Human Oversight Remains Non-Negotiable

Even well-constrained prompts have clear failure modes in civic contexts:

* **Geographic Hallucination:** Left unchecked, LLMs often guess state or district names from common locality names (for example, confusing identically named neighborhoods across different Indian states). Requiring `null` when state/district names are absent prevents misrouting.
* **Overlapping Mandates:** Road maintenance in Indian cities frequently splits between municipal corporations, state public works departments, and national highway authorities depending on road width. AI should only suggest a preliminary tier; human reviewers or routing rules must confirm the final board assignment.
* **No Autonomous Resolution:** AI can summarize progress logs or standardize status descriptions for readability, but it cannot validate whether a drain was actually repaired or override a citizen who disputes an office-reported closure.

#### Conclusion & Open Prompt Engineering Questions

Structuring civic intake prompts is ultimately an exercise in restraint: getting the model to extract maximum clarity from messy human language while strictly forbidding speculation, PII leakage, or false authority.

For prompt engineers and builders working on civic tech, moderation pipelines, or multilingual Indian NLP:

* How would you adapt the location-extraction block to handle code-mixed Hinglish or regional-language submissions without introducing translation drift?
* Would a two-step prompt chain (Step 1: PII scrubbing & neutral summarization; Step 2: jurisdictional classification) outperform a single-pass JSON schema on smaller open-weights models?