# Monitoring AI Bot PMs

**URL:** https://meta.discourse.org/t/monitoring-ai-bot-pms/313828
**Category:** Feature
**Tags:** ai, ai-bot
**Created:** [June 26, 2024, 3:59pm UTC](https://meta.discourse.org/t/monitoring-ai-bot-pms/313828 "2024-06-26T15:59:32Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![aas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aas/32/289331_2.png) [@aas](https://meta.discourse.org/u/aas)
#### Post date: [June 26, 2024, 3:59pm UTC](https://meta.discourse.org/t/monitoring-ai-bot-pms/313828/1 "2024-06-26T15:59:32Z")

</div>

The default action of the AI bot button is to start a PM with the bot. Although I think it would be great if this was configurable so that the default action is to post a public topic, **I am wondering about the best way for forum _mods_ (not admins) to stay in-the-loop with bot conversations so they can monitor and step in when necessary**.

As a forum admin, I can navigate to the user associated with an Discourse AI persona, then view that bot user’s PMs. There are a few problems with this:

- I don’t get notifications for PMs sent to the bot
- Forum mods don’t have access to PMs of other users

**questions**

- How can members of the staff group on my site monitor the private messages sent to the ai bot on my forum?
- Is it possible to start PMs with a group inbox instead of a PM with the bot?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 27, 2024, 6:50am UTC](https://meta.discourse.org/t/monitoring-ai-bot-pms/313828/2 "2024-06-27T06:50:40Z")

</div>

> [@aas](#):
>
> Is it possible to start PMs with a group inbox instead of a PM with the bot?

At the moment not, but it sounds like a very good feature request.

Force a `user allowed group` for all bot PMs. It will certainly make it so much easier to monitor cause all bot pms will be visible to the group and it is not a huge change.

Moving this to #Contribute > Feature!

---

<div class="post-metadata">

### Author: ![aas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aas/32/289331_2.png) [@aas](https://meta.discourse.org/u/aas)
#### Post date: [June 27, 2024, 9:09pm UTC](https://meta.discourse.org/t/monitoring-ai-bot-pms/313828/3 "2024-06-27T21:09:02Z")

</div>

Love it. If you give me a hint on how to implement this, I’d be happy to take a whack at it.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 28, 2024, 12:31am UTC](https://meta.discourse.org/t/monitoring-ai-bot-pms/313828/4 "2024-06-28T00:31:28Z")

</div>

If you install it on local,what I would recommend:

1. Introduce a new site setting for `ai_bot_monitor_groups` (list of groups monitoring bot conversations)
2. Be sure that that is injected into `user_allowed_groups` on any reply to a bot PM if it is not there.
3. Add some sort of validation that disallows people from removing the group
4. Tests in playground\_spec to validate the behavior
