Skip to content
Petkir Blog
XLinkedinBluesky

The Christkind's - A Surprising Discovery Copilot and the Bot

Copilot, M365, Xmas20243 min read

Story

The following morning, the Christkind arrived at its workshop bright and early, eager to see how well the Teams bot was working with the elves. It noticed that several elves were already in motion, using the bot to quickly check stock levels and get updates from the warehouse. Seeing everything work so seamlessly was a joy—but then, something caught the Christkind’s eye.

On the screen, a message popped up suggesting that the bot could be enhanced with Copilot integration.

"Could it be…?" the Christkind wondered, eyes widening.

Curious, it clicked on the suggestion. To its amazement, the Teams bot was already available as a Agent for Microsoft Copilot! It meant that now, not only would the elves get quick responses from the bot, but they could also harness the power of Copilot’s AI capabilities. With a simple request, they could get summaries, advanced insights, and even suggestions for optimizing the workshop’s workflow—all without leaving their Teams app.

Excited to give it a try, the Christkind ran a few queries through Copilot, like:

"Give me the top 10 products by stockcount”
“Do we have <product> in out storage”
“Give me the top 3 Products in the storage in Linz”
Give me the top 10 products by stockcount

Copilot quickly processed each request, providing insights that would’ve taken hours to gather otherwise. The Christkind couldn’t help but smile.

“Even a Christkind can be surprised,” it thought, marveling at the unexpected benefits that came from exploring new technology.

Implementation

Enabling developer mode in Copilot

-developer on
developer on

First, you will see the enabled Plugins (Agents). The next section lists the matched functions, which are all the functions provided by the enabled Plugins. The third area shows the function Copilot has selected based on the question asked. The last section displays the result from the chatbot. In this screenshot, it is an Action Card with a 200 OK response.

![developer mode explaination](./devmode output.png)

Remark

sometimes things go smoothly, other times they do not

Links

XMAS 2024 Overview