# Which Guest Complaints From Yesterday Got No Reply From a Manager? A Hotel Group's Morning Sweep of Its Slack Property Channels

A boutique hotel group's agent reads each property's Slack guest-issues channel every morning and lists the complaints that no manager answered or marked as fixed.

[Run this on Rush](https://cloud.getrush.ai/run/find-guest-complaints-without-a-reply/slack/). Opens the console with this prompt ready to send. Connect Slack there first.

## What the agent does

This is for a group of five to fifteen boutique hotels whose front desk, housekeeping and maintenance staff post guest problems in one Slack channel per property: a broken air conditioner in 214, a guest charged twice for parking, a noise complaint at two in the morning, a family whose connecting rooms were not connected. The rule is that the duty manager replies in the thread with what was done and adds a check mark when it is fixed. On a busy night some posts get neither, and the guest leaves with the problem and writes the review. Every morning before the operations call an agent reads each property's channel and lists the posts nobody closed.

The operations director connects Slack once in the console's Settings, Connections, signing in on Slack's own page; the connection reaches a run as the `slack` CLI signed in as that person. Slack's docs say `conversations.history` needs the `channels:history` scope for public channels and `groups:history` for private ones, and the prompt names the property channels the agent reads, so it reads those and nothing else.

On a run the agent calls `conversations.history` on each channel the prompt names, with `oldest` set to yesterday's six in the morning and `latest` to now, following the `cursor` until `has_more` is false. Slack's docs say messages that someone has reacted to carry a `reactions` array, so the agent reads which posts have the check mark the hotels use. For posts with a thread it calls `conversations.replies` to read the replies and see whether a manager answered and what they said was done. It skips joins, channel topic changes and bot messages, since Slack returns those in history too.

It keeps each post that describes a guest problem and has no check mark, and sorts them into three groups: no reply at all; a reply that promises action ("engineering will look in the morning") with nothing after it; and a reply that says it is fixed but has no check mark, which is usually just a forgotten reaction. For each it gives the property, the room or guest name as the post wrote it, what the problem was, when it was posted, who replied last and a link to the message. Then it posts one summary message to the managers' private channel, the only thing it writes, and never replies in a property thread or adds a reaction.

## Start it with one API call

`POST https://api.phoenix.so/o/{org}/sessions`

```json
{
  "agent": "claude",
  "input": "Morning sweep of guest issues for Harbour & Vine Hotels. Window: from 2026-11-23 06:00 to now, time zone Europe/Lisbon. Use the slack connection. Channels: #guest-issues-alfama, #guest-issues-chiado, #guest-issues-porto-ribeira, #guest-issues-cascais, #guest-issues-sintra. Fixed marker: the white_check_mark reaction. 1) conversations.history on each channel with oldest and latest for the window, following the cursor until has_more is false. Skip join messages, topic changes and bot posts. 2) Keep posts that describe a guest problem (a complaint, a fault in a room, a billing error, noise, a request not met). Drop posts that have a white_check_mark reaction. 3) For kept posts with a thread, conversations.replies to read every reply. 4) Group: 'No reply' (no thread or only staff adding detail); 'Promised, not done' (a reply promising action with nothing after); 'Says fixed, no check mark'. For each: property, room or guest as written (no phone numbers or emails), the problem in at most 20 words, posted at, last replier, message link. 5) Post one message to #ops-managers with the three groups, 'No reply' first, oldest first within each, and a one-line count per property at the top. Post nothing else: never reply in a property channel, react, edit or delete.",
  "connections": [
    "slack"
  ]
}
```

1. **Get an API key.** In the console, open Settings, then API keys, and create a key for your org. Send it in the Authorization header as a Bearer token.
2. **Send the request.** POST the body in request.json to https://api.phoenix.so/o/{org}/sessions. The run starts in its own cloud sandbox.
3. **Read what came back.** Follow the run on its live stream or wait for the run.completed webhook, then read the result and its trajectory.

## What comes back

The run posts one message in the managers' channel listing each guest complaint with no reply yet, with its property, room and a link to the post. It is posted through the director's Slack sign-in so it appears as them, and the same summary comes back in the session's `result`. The operations call starts from it: each open complaint and its problem, the promised fixes with nothing after them, and the ones that only need a check mark.

What the duty managers check before the call: a post the agent read as a complaint that was a note between staff, a fix that was done but logged in the property management system instead of Slack, and anything about a guest who has already checked out, which may need a call or a refund that a manager decides. Replies to guests are written by people, at the desk or by email, never by the agent.

## Run it on every morning before the operations call

In the console, a Project automation with a `schedule` trigger, `cron` `30 7 * * *` and `timezone` `Europe/Lisbon`, runs a saved agent whose connections name `slack` with this prompt. The schedule fills in no date, so the saved instructions say "since six yesterday morning" and the agent works out the window on each run.

On a night with a known problem, such as a power cut at one property, the director can start the same saved agent by hand from the console at any hour, with that property's channel only.

## Why run it on Rush?

The Slack sign-in is held in Rush's connection rather than as a bot token in a script on a hotel's back-office computer, and it acts as the director, so the agent reads only what that person can read in Slack. When the director leaves the group, their connection is removed and a successor connects their own.

Each run has its own computer and a record of every channel read and the message it posted, so when a general manager says a complaint was listed unfairly, the director opens that morning's session and sees the thread as the agent read it at half past seven. The session's `total_cost_usd` is the cost of the sweep, set against a duty manager's half hour of scrolling five channels.

## Frequently asked questions

### Why post the summary as a person rather than a bot?

Rush's Slack connection signs in as the person who connected it, so the summary appears from the operations director. Groups that prefer a separate identity connect a dedicated Slack account for operations and use that.

### Does the agent see guests' personal details?

It reads what staff posted, which may include a guest's name or room. The prompt keeps phone numbers and emails out of the summary, and hotels that want names out too can say 'room number only'.

### What if a property uses a different reaction for fixed?

Name each property's marker in the prompt, for example white_check_mark for most and heavy_check_mark for one. The agent reads the `reactions` array on each message and matches the names given.

### What happens when a new property opens?

Add its channel to the list in the saved agent's instructions, and make sure the director has joined it in Slack. The next morning's run includes it, and the count line at the top of the summary shows it beside the others.

## More Slack jobs

- [Which Maintenance Requests in Slack Has Nobody Picked Up? A Property Manager's Morning Check](https://getrush.ai/run/find-maintenance-requests-nobody-claimed/slack/)
- [Find Customer Questions Nobody Answered in Your Shared Slack Channels](https://getrush.ai/run/find-unanswered-customer-questions/slack/)
- [How Can a Courier Company List Each Day's Failed Deliveries by Client? An Agent That Reads the Drivers' Slack Channels Every Evening](https://getrush.ai/run/list-failed-deliveries-for-each-client-account/slack/)

## More jobs like this: Produce a report or file, no repo

- [Which Railway Projects Are Still Running for Clients We No Longer Serve? A Web Agency's Monthly Hosting Check](https://getrush.ai/run/find-hosting-left-running-for-past-clients/railway/)
- [How to Fix Keyword Cannibalization With Semrush](https://getrush.ai/run/find-keyword-cannibalization-for-each-client/semrush/)
- [Which Lessons Next Week Clash With a Teacher's Time Off? A Music School's Thursday Check of Its Teachers' Google Calendars](https://getrush.ai/run/find-lessons-that-clash-with-teacher-time-off/google-calendar/)

## Keep reading

- [Connect Slack to Rush once, then name it on any run](https://getrush.ai/integrations/slack/)
- [Start your first run from the developer API quickstart](https://getrush.ai/docs/quickstart/)
- [Rush pricing: Free, Pro and Max](https://getrush.ai/pricing/)
