> For the complete documentation index, see [llms.txt](https://docs.digit.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digit.org/complaints-management/complaints-resolution-v2.10/deploy/setup/production-setup/deploy-complaints-management/unified-approach/3.-add-dept-and-complaints.md).

# 3. Add Dept & Complaints

## Overview

This phase creates the core masters used by CMS. These masters drive routing and SLA.

### 3.1 What you’ll create

You will create:

* Departments (Water, Sanitation, Electricity, etc.)
* Designations (Engineer, Manager, Supervisor, etc.)
* Complaint Types (Water not coming, Garbage not collected, etc.)

### 3.2 Download the template

Step 1: Find the Common Master section.

Step 2: Run the download cell.

Step 3: Open `Common and Complaint Master.xlsx` from the notebook files.

<figure><img src="https://805553164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FszvWp0bRxYU0P0l6DKOo%2Fuploads%2FJrxll7xKyF4nNPhUQuQL%2Funknown.png?alt=media&amp;token=8c1e5bfc-d714-4107-ab1d-1c0027522c58" alt=""><figcaption></figcaption></figure>

### 3.3 Fill Sheet 1: Departments & designations

<figure><img src="https://805553164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FszvWp0bRxYU0P0l6DKOo%2Fuploads%2Fa1xNxYY6t8i0FeCDf2XN%2Funknown.png?alt=media&amp;token=b105ff02-6a7d-4277-863f-16fb9ae35cd7" alt=""><figcaption></figcaption></figure>

Example Data:

| Department Name\* | Designation Name\* |
| ----------------- | ------------------ |
| WATER DEPARTMENT  | engineer           |
| WATER DEPARTMENT  | manager            |
| WATER DEPARTMENT  | supervisor         |
| SANITATION        | engineer           |
| SANITATION        | supervisor         |
| ELECTRICITY       | technician         |

Important:

* You can add multiple designations for one department
* Department names must be EXACTLY the same spelling

### 3.4 Fill Sheet 2: Complaint types

<figure><img src="https://805553164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FszvWp0bRxYU0P0l6DKOo%2Fuploads%2FKRqmb7KB3yNGVijDDTTC%2Funknown.png?alt=media&amp;token=4b86276c-421c-4673-9508-1a04197b770f" alt=""><figcaption></figcaption></figure>

Example Data:

| Complaint Type\* | Complaint sub type\* | Department Name\* | Resolution Time (Hours)\* | Search Words             |
| ---------------- | -------------------- | ----------------- | ------------------------- | ------------------------ |
| Water Issues     | Tap broken           | WATER DEPARTMENT  | 24                        | water,tap,broken         |
| Water Issues     | No water supply      | WATER DEPARTMENT  | 12                        | water,supply,no water    |
| Garbage          | Not collected        | SANITATION        | 8                         | garbage,waste,collection |
| Street Light     | Not working          | ELECTRICITY       | 48                        | light,street,bulb        |

Important:

* Department Name must match EXACTLY with Sheet 1
* Resolution Time is in hours
* Search Words help citizens find complaints (use commas)

### 3.5 Upload and process

<div align="left"><figure><img src="https://805553164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FszvWp0bRxYU0P0l6DKOo%2Fuploads%2Fz3RBcINU4flgMtUJNS5z%2FScreenshot%202026-02-11%20at%201.13.47%E2%80%AFPM.png?alt=media&amp;token=4d5807ee-be37-4628-b965-b6a64faed97d" alt=""><figcaption></figcaption></figure></div>

### 3.6 Check results

<div align="left"><figure><img src="https://805553164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FszvWp0bRxYU0P0l6DKOo%2Fuploads%2FXIPh38Xcx7iKmnuRymlZ%2FScreenshot%202026-02-11%20at%201.15.16%E2%80%AFPM.png?alt=media&amp;token=ce250b02-bf49-4fd2-9564-db76449a2457" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://805553164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FszvWp0bRxYU0P0l6DKOo%2Fuploads%2FdsI36iL4nUyJPL0CZmis%2FScreenshot%202026-02-11%20at%201.16.07%E2%80%AFPM.png?alt=media&amp;token=a81d97fb-76c0-42f4-bb26-10d313178fb0" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.digit.org/complaints-management/complaints-resolution-v2.10/deploy/setup/production-setup/deploy-complaints-management/unified-approach/3.-add-dept-and-complaints.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
