The Royal Messenger of Mahishmati

##### Part 4: The Intelligent Royal Messenger – Bringing LLMs and Personalized Reminders to Mahishmati

A new chapter in the Mahishmati automation journey, exploring Large Language Models, personalized notifications, and intelligent workplace communication.*

## The Kingdom Had a New Challenge
After successfully automating daily announcements, Mahishmati had become more organized.

Every working day:
– Sivagami’s morning Odoo announcement arrived at 08:30 AM.
– Baahubali’s clock-in reminder arrived at 09:45 AM.
– Devasena’s evening clock-out and Odoo update reminder arrived at 06:00 PM.

Kattappa was happy.

The royal messenger was working independently, and nobody needed to send repetitive announcements manually.

But one afternoon, Baahubali noticed something interesting.

He asked Kattappa:

“Why does the messenger send the same announcement to everyone? Does every person in this kingdom have the same responsibilities?”

Kattappa replied:

“No, my lord. Some ministers manage development activities, some manage administration, and others handle different responsibilities. But our messenger currently sends the same announcement to everyone.”

Baahubali thought for a moment.

“Then why can’t the messenger understand individual responsibilities and remind each person about their own pending activities?”

Kattappa had no immediate answer.

The existing system could send scheduled announcements, but it was not designed to understand individual context.

And that introduced a new requirement.

**Mahishmati needed an intelligent messenger!**

## Chapter 9: Introducing the Royal Intelligence Advisor – LLM Integration

Sivagami gathered the technical advisors for another royal meeting.

She introduced a new idea.

“What if our messenger could communicate with an intelligent advisor who understands natural language and helps prepare meaningful notifications?”

The technical advisors proposed integrating a Large Language Model (LLM).

An LLM could help the automation system understand instructions, generate personalized message content, summarize pending activities, and prepare contextual reminders.

For example, instead of sending:

“Please update your tasks.”

The system could generate:

“Good morning! You have two pending development activities from yesterday. Please review them and update their progress in Odoo.”

The difference was clear.

The original messenger delivered predefined messages.

The intelligent messenger could prepare messages using relevant information.

The proposed architecture would have three important components:

1. **Google Apps Script:** Continue managing scheduled execution and automation workflows.

2. **LLM Integration:** Generate contextual messages using an LLM API.

3. **Google Chat:** Deliver notifications to the appropriate communication spaces or individual recipients.

Kattappa explained:

“My lord, the messenger will continue managing the schedule. The new intelligence advisor will help it understand the context and prepare better announcements.”

Baahubali smiled.

“Now we are building something worthy of Mahishmati!”

## Chapter 10: Individual Reminders – Every Minister Has a Responsibility

The next challenge came from Devasena.

She explained that general announcements were useful, but individual responsibilities required individual attention.

A developer might need to update a development task.

A database administrator might need to review a PostgreSQL backup.

A project manager might need to update project progress.

Sending the same message to everyone would not solve these individual requirements.

Devasena proposed a personalized reminder system.

**The new requirement: One messenger, multiple responsibilities, personalized notifications.**
The system could maintain information such as:
– Employee or team member.
– Assigned responsibilities.
– Pending activities.
– Reminder schedule.
– Preferred notification method.
– Completion status.

For example:

Team member Responsibility Reminder
Minister A Update development tasks10:00 AM
Minister BReview database backups11:00 AM
Minister CUpdate project status04:00 PM

Instead of sending all these reminders to the common kingdom space, the system would deliver them to the appropriate individuals.

Kattappa was excited.

“Your Majesty, now every minister will receive reminders relevant to their responsibilities!”

One important technical detail remained: Google Chat incoming webhooks are designed to post messages into their configured spaces. For individual direct messages, the system would need to use the Google Chat API with appropriate authentication and permissions.

The royal messenger was becoming more capable.

## Chapter 11: How the Intelligent Reminder System Works

The technical advisors proposed a simple workflow.

1. Collect individual responsibilities and reminder schedules.

2. Identify pending activities for each team member.

3. Pass the relevant, permitted context to the LLM.

4. Generate a clear and personalized reminder.

5. Deliver the message through Google Chat.

6. Track the notification and activity status.

The workflow could look like this:

**Step 1 – Collect Information**

A Google Sheet or an approved task-management source maintains individual responsibilities and schedules.

**Step 2 – Identify Pending Activities**

Google Apps Script checks which activities require attention.

**Step 3 – Generate an Intelligent Message**

The LLM prepares a contextual message based on the permitted task information.

**Step 4 – Deliver the Reminder**

Google Chat sends the notification to the intended recipient.

**Step 5 – Track the Result**

The automation records whether the reminder was successfully delivered and whether the task was subsequently updated.

The LLM would assist with understanding and message generation, while the scheduling, recipient selection, and delivery rules would remain controlled by the automation logic.

## Chapter 12: A Day in the Life of an Intelligent Mahishmati

The following morning, Kattappa introduced the new system.

At 08:30 AM, the usual morning announcement appeared in the kingdom’s Google Chat space.

At 09:45 AM, the attendance reminder arrived.

But something different happened later.

At 10:00 AM, Minister A received a personalized reminder about pending development activities.

At 11:00 AM, Minister B received a notification about reviewing database backups.

At 04:00 PM, Minister C received a reminder to update project progress.

Each notification was relevant to its intended recipient.

Baahubali asked:

“Does the messenger now know what every minister is doing?”

Kattappa replied:

“No, my lord. It only uses the information that we have authorized it to access. The LLM helps prepare the message, but the system controls what information is shared and with whom.”

Sivagami appreciated the additional control.

Devasena was pleased that the reminders were becoming more meaningful.

Even Bhallaladeva had a question.

“Can this intelligent advisor also summarize the kingdom’s pending activities?”

Kattappa smiled.

“That, my lord, could be our next enhancement!”

## Chapter 13: What Could We Build Next?

The integration of LLMs opens several possibilities for workplace automation.

Some potential enhancements include:

1. Intelligent Daily Summaries
Generate summaries of pending tasks and completed activities.

2. Personalized Follow-ups
Send reminders based on individual responsibilities and task status.

3. Natural Language Interaction
Allow team members to ask questions such as:

   “What activities are still pending for me today?”

4. Smart Escalation
Escalate overdue activities according to predefined organizational rules.

5. Contextual Notifications
Generate different messages depending on task priority, deadlines, and completion status.

6. Conversational Team Assistant
Introduce a Google Chat-based assistant that can respond to authorized queries about team activities.

These are potential future enhancements rather than capabilities automatically provided by a basic incoming webhook and Apps Script integration.

Security, access permissions, data privacy, API costs, and human verification would also need to be considered before introducing these features into a real workplace.

## The Next Victory – From Automated Communication to Intelligent Assistance

At the end of the royal meeting, Baahubali looked at Kattappa.

“We first taught the messenger when to communicate. Now we are teaching it what information is relevant to each person.”

Kattappa replied:

“Yes, my lord. Earlier, it delivered the same announcement to the entire kingdom. Now, it can help prepare meaningful reminders for individual responsibilities.”

Sivagami was satisfied.

Devasena had a more organized administration.

The ministers received reminders relevant to their work.

And Bhallaladeva finally had something new to discuss!

The kingdom had entered another stage of automation.

The journey had evolved from manual reminders to scheduled notifications, and now towards intelligent, personalized communication.

Jai Mahishmati! Jai Automation! Jai AI!

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top