Legislation Chatbot: Researching Regulations via WhatsApp and Instagram
Picture a legislation question: "How many days of annual leave do I have?", "How is my extra lesson fee calculated?", "What's the notice period on termination?", "How many days of excuse leave?"
Most of us fall into the same loop. We search on Google, click through different sites, run into old PDFs, read conflicting interpretations, and finally spend hours struggling to "find the right text." Yet all we really want is a simple answer and to know which article it's based on.
This is exactly where the Legislation Chatbot comes in.
What Does This Chatbot Do?
The Legislation Chatbot is an AI assistant that lets you research legislation "as if you were chatting," via WhatsApp and Instagram DM. When you have a question, you write to the chatbot; it understands your question, reaches the right source, and presents the answer together with an article citation. This way you save time, and the question "where did this information come from?" doesn't hang in the air.
But it's worth showing the real point with concrete examples. Civil Servants Law No. 657 is fundamental legislation that directly concerns millions of public employees in Türkiye. Leave rights, extra lesson fees, excuse leave, disciplinary provisions… The regulations in this law contain so many articles and sub-articles that even reaching the right information is a job in itself.
A Real-Life Example: "How Many Days of Annual Leave Do I Have?"
Say you work at a public institution and have 8 years of service. You want to learn your annual leave entitlement. You search on Google: some of the results that come up are from 2019, some are forum comments, and some explain a different law.
On the Legislation Chatbot, the dialogue goes like this:
You: Hi, I'm a civil servant with 8 years of service. How many days of annual leave do I have?
Legislation Chatbot: Hi! According to Article 102 of Civil Servants Law No. 657, civil servants whose service is between 1 and 10 years (10 years included) have an annual leave period of 20 days. With your 8 years of service, your annual leave entitlement is 20 days. In mandatory cases, up to 4 days may be added to this period for travel. Also, under Article 103, you can use your leave all at once or in parts.
📌 Source: Civil Servants Law No. 657, Article 102 – Annual Leave; Article 103 – Use of Annual Leave
You: Can I carry over my accumulated leave to the next year?
Legislation Chatbot: Yes, two consecutive years' leave can be used together. However, except for the current year and the previous year, unused leave entitlements from earlier years lapse. In other words, you need to use your leave within two years; otherwise you lose your leave entitlement from older years.
📌 Source: Civil Servants Law No. 657, Article 103 – Use of Annual Leave
If you noticed, the chatbot both gives the answer and shows which article it's based on. There's no "I read on a forum, 20 days I think" uncertainty; there's an official text reference.
A Second Example: "How Much Is My Extra Lesson Fee?"
One of the most confusing topics in Law No. 657 is extra lesson fees. Teachers, administrators, and even civil servants who take on teaching duties at different institutions constantly ask questions about it.
You: I'm a class guidance counselor — can I receive an extra lesson fee for this duty?
Legislation Chatbot: Yes, you can receive an extra lesson fee of up to 2 hours per week for the class or branch guidance counselor duty. This duty is regulated in the Ministry of National Education (MEB) Decision on the Lesson and Extra Lesson Hours of Administrators and Teachers. If the same person has been assigned both advisor teacher and class guidance counselor duties, payment is made for only one of them.
📌 Source: MEB Decision on Lesson and Extra Lesson Hours; Civil Servants Law No. 657, Article 89 – Teaching Duty, Article 176 – Extra Lesson Fee
You: How is the extra lesson fee calculated?
Legislation Chatbot: According to Article 176 of Law No. 657, the extra lesson fee is determined not as a direct amount but through an indicator figure. An indicator figure of 140 is applied for daytime instruction, and 150 for instruction starting after 18:00 or during weekends and holiday periods. These figures are multiplied by the civil servant monthly coefficient to find the current fee. Therefore, the extra lesson hourly fee also changes with each salary-raise period.
📌 Source: Civil Servants Law No. 657, Article 176 – Lesson and Conference Fees
Now imagine trying to reach this information via Google. The search results show dozens of different items like "2024 extra lesson fee table," "MEB extra lesson calculation," "how many hours of extra lessons for teachers." Which is current? Which fits your situation? Even sifting through these takes 15-20 minutes. The chatbot, on the other hand, gives an answer specific to your situation within seconds, citing the source.
A Third Example: "How Many Days of Excuse Leave?"
One of the most frequently asked topics among civil servants is excuse leave. Do you know how many days of leave you're entitled to in situations like marriage, birth, or death?
You: My wife gave birth — how many days of paternity leave do I have?
Legislation Chatbot: According to Article 104 of Law No. 657, a civil servant whose spouse gives birth is granted 10 days of paternity leave upon request. This leave is not deducted from your annual leave; it's evaluated within the scope of excuse leave.
📌 Source: Civil Servants Law No. 657, Article 104 – Excuse Leave
You: What about marriage leave?
Legislation Chatbot: In the event of the marriage of the civil servant or their child, the civil servant is granted 7 days of leave upon request. Likewise, there's a 7-day leave entitlement upon the death of the spouse, child, or the parent or sibling of the civil servant or their spouse.
📌 Source: Civil Servants Law No. 657, Article 104 – Excuse Leave
Instead of searching for this kind of information every time, when you ask the chatbot you get an answer instantly and together with the correct source.
Why WhatsApp and Instagram?
Let's pause here. You might ask, "Why WhatsApp and Instagram instead of a website?" The answer is simple: people want to ask about legislation not "like a search engine" but as if consulting someone.
We already send dozens of messages a day on WhatsApp. We can ask the chatbot just as we'd ask a friend. It's the same on Instagram; the DM messaging format is a mode of communication people are used to.
The WhatsApp Business Platform lets businesses and institutions build chat flows and tie messaging to processes. On the Instagram side, with Meta's Messenger API, it's possible to set up automatic messaging scenarios via DM. On both channels, the user experience is built on "asking as if chatting"; this makes legislation research far more accessible.
What the Legislation Chatbot Does and Doesn't Do
Knowing what the chatbot doesn't do is as important as understanding what it does. Let's be clear:
It does:
It understands your question in natural language. When you ask "How many days of annual leave do I have?", it deduces that this relates to Article 102 of Law No. 657. If needed, it asks short questions to clarify your service period, duty, or status.
It finds the official source. Priority is always on primary sources such as Official Gazette publications, ministry legislation pages, and institutional PDFs. Official texts are taken as the basis, not forum comments or personal blogs.
It gives the answer with a reference. Under each answer is the relevant article number and the name of the legislation. It ensures reliability this way even on fast channels like WhatsApp.
It suggests related topics. When you ask about annual leave, it can also suggest related headings like "excuse leave" or "sick leave" with "Shall we also look at this?"
It doesn't:
It doesn't give legal opinion. The chatbot offers "information based on the official text" rather than "definitive legal counsel." It doesn't replace a lawyer or legal advisor; its aim is to get you to the right information quickly.
It doesn't interpret. It doesn't say "this article should be interpreted like this"; it conveys what the article says. Interpretation is left to humans, especially legal professionals.
Tracking Current Texts: Why Is It Critical?
Legislation texts are constantly changing. New provisions are added with a Presidential Decree, articles are amended, paragraphs are removed. Even Law No. 657 has undergone hundreds of changes since 1965.
For example, consider the MEB Decision on Lesson and Extra Lesson Hours. This text has dozens of changes made at different dates; articles changed by Presidential Decree in 2019, new provisions added in 2025… If you have a PDF dated 2022, that text may no longer be current.
One of the most important features of the Legislation Chatbot is exactly this: tracking current texts. Changes published in the Official Gazette are processed into the system, and the chatbot always answers from the latest version. This way, you don't need to do separate research wondering "did it change in 2023?"
Standardized Information Production Within the Institution
The Legislation Chatbot has a benefit beyond the individual user: ensuring information consistency within an institution.
Think about it: at a school, the deputy principal calculates the extra lesson fee one way, accounting interprets it differently, and the teacher comes with yet another piece of information. In the end, three different answers come out of the same question, and which one is correct becomes a matter of debate.
When the chatbot steps in, everyone gets an answer to the same question with the same reference. HR, school administration, accounting, the legal advisor… All of them reach information based on the same official text reference. Information scatter decreases, and in-house debates become grounded in concrete text.
What to Watch For When Developing the Chatbot
Developing a legislation chatbot is very different from building an ordinary customer-service chatbot. A few critical points need to be underlined:
There must be a source requirement. Every answer from the chatbot must contain an article citation. Vague statements like "as far as I know, 20 days" are unacceptable; it must be as clear as "20 days according to Civil Servants Law No. 657, Article 102."
A currency mechanism must be set up. An update system that tracks changes in legislation texts is essential. Which article changed when, in which Official Gazette it was published — this information must be in the chatbot's database.
Related topic suggestions must be offered. When the user asks about annual leave, they should also be directed to related headings like excuse leave, sick leave, and unpaid leave. Legislation topics are interconnected; a single article often doesn't give the full picture.
Informational language must be used. Instead of "definitive legal opinion," the phrase "explanation based on the official text" must be adopted. The chatbot is not a lawyer, and drawing this line clearly is important both legally and ethically.
Conclusion
Accessing legislation is a painful process for everyone. Spending hours on Google searches, trying to figure out which text is current, getting lost among different interpretations… None of these are how it should be.
The Legislation Chatbot turns this process into "asking as if consulting." You send a message from WhatsApp or an Instagram DM; an answer comes back that is article-referenced, current, and understandable. Even in comprehensive legislation like Law No. 657, reaching the right information now takes seconds, not minutes.
In the end, the goal is simple: to reach the right information, with the right source, quickly. That's exactly what the Legislation Chatbot does.
