# 13 · Run the inbox as a team: auto-assign, teams, business hours, response targets, satisfaction survey, website chat and Inbox reports

**Purpose:** set the rules for a shared inbox: who sees which chats, who gets new chats, how fast customers should be answered, how to add a chat bubble to your website, and where to read how the team is doing.

## Before you start

- You need to be an **owner** or **admin** to change these settings. Agents can open the page, but they can only change their own **Available** tick and their own notifications. **Data retention** can be changed by the owner only.
- More than one member in the workspace, if you want teams and auto-assign to be useful (see [09 · Account, team and billing](https://wsapme.com/guides/account-team-billing.md)).
- **Website chat** must be included in your plan. If it is not, the card says "Website chat is not included in your plan. Upgrade in Billing to add it."
- Working one conversation (reply, assign, labels, notes, snooze) is in [02 · Team inbox](https://wsapme.com/guides/team-inbox.md). This guide is the manager's side.

> In this guide nothing was sent to a customer. Forms were opened and filled, but the only thing saved was one website chat called "Demo: Kedai Kek". The signed-in user was an admin, so the Data retention card was read-only. Screenshots use a demo workspace with Demo mode on.

**Watch first (3:53, Malay narration):** [Inbox settings, website chat and Inbox reports](https://wsapme.com/guide-media/video/13-inbox-settings-website-chat-and-reports-malay.mp4). A walk through every card of Inbox settings, adding a website chat and copying its code, the Inbox reports page with business hours, then Send later and bulk actions in the inbox. Nothing is sent in the video.

## Part 1 · Open Inbox settings and set yourself up

1. In the sidebar, click **Inbox**.
2. Above the conversation list, click the **⋯** button, then **Inbox settings**. (The same menu has **Available for new chats**, **Sound for new messages** and **Reports**.)
3. The first card, **You**, is about you only. Keep **Available** ticked while you are working. When auto-assign is on, new chats can be given to you; untick it when you are away.

   ![The You card in Inbox settings](https://wsapme.com/guide-media/img/inbox-settings-website-chat-and-reports/01-inbox-settings-you.webp)

4. Under **Notify me**, tick how you want to hear about each event: **Push**, **Email** or **WhatsApp**. The events are **A conversation is assigned to me**, **Someone @mentions me in a note**, **A customer of mine waits past the target**, **A customer of mine writes** and **A new chat nobody has yet**. The last two are Push only. Tick at most two channels per event: saving with all three ticked for one event gives an error.
5. Click **Save notifications**.

WhatsApp notifications need a verified phone number on your profile; until then that column cannot be ticked. Push also has to be turned on per device, in the **⋯** menu of the inbox (**Push notifications on this device**).

## Part 2 · Decide what agents can see

Owners and admins always see every chat. The card **What agents can see** sets the rule for agents. It applies to lists, search, notifications and reports.

| Choice | What an agent sees |
|---|---|
| **All conversations** | Every chat. |
| **Their teams** | Chats of the agent's teams, chats assigned to them, and unassigned chats without a team. |
| **Their numbers** | Chats on the WhatsApp numbers they own (set on the Devices page), chats assigned to them, and chats they are @mentioned in. |
| **Assigned to them + unassigned** | Everything except chats that belong to someone else. |
| **Only assigned to them** | Only their own chats. New chats reach agents through assignment, by hand or by auto-assign. |

Pick one and click **Save**. An agent who is @mentioned in a note can always open that conversation.

## Part 3 · Teams and routing

A team is a group of members, for example Sales and Support. A chat can belong to a team, and auto-assign then picks only from that team.

1. In the **Teams** card, click **Add team**.
2. Type the **Team name** and tick the members.
3. Optional: type a **Response target** in minutes for this team. Leave it empty to use the workspace's target (Part 4).
4. Click **Save**. *In this guide the form was filled and then cancelled, so no team was created.*

   ![Adding a team, with Routing and Response targets below](https://wsapme.com/guide-media/img/inbox-settings-website-chat-and-reports/02-teams-routing-response-targets.webp)

The **Routing** card sends new chats to the right team by itself. While there is no team it only says "Add a team first." The rest of this paragraph is *(from the documentation, not captured)*: click **Add rule**, choose **Any number** or one WhatsApp number, type words separated by commas (for example "refund, rosak"), choose the **Team**, then click **Save**. A new chat without a team goes to the first rule that matches its number and any of the words (whole words only). Leave the words empty to match every chat on that number. Use the arrows to change the order of the rules.

Anyone who can see a chat can also move it to a team by hand from the chat's toolbar.

## Part 4 · Response targets

1. In the **Response targets** card, type **Warn after** in minutes. A waiting chat turns amber after this time.
2. Type **Target** in minutes. After this time the chat turns red, the person it is assigned to is alerted, and the inbox shows a "waiting past your target" button above the list.
3. Click **Save**. Empty boxes mean the target is off.

The clock starts with the first customer message that nobody answered, and stops when someone replies or the chat is closed. When business hours are on (Part 5), only time inside business hours counts.

## Part 5 · Business hours

Business hours are set on the reports page, not on the settings page.

1. Open **Inbox reports** (the link is at the bottom of Inbox settings, or **⋯ → Reports** in the inbox).
2. Under the title, click **Set business hours** (it reads **Change business hours** once they are on).
3. Tick **Count business hours only**, tick the days you are open and set the opening and closing time for each day.
4. Click **Save**. *Not saved in this guide.*

   ![The Business hours window](https://wsapme.com/guide-media/img/inbox-settings-website-chat-and-reports/08-business-hours.webp)

When this is on, response times only count time inside these hours: a message at 2am answered at 9:05am counts as 5 minutes. Response targets follow the same hours.

## Part 6 · Auto-assign and the Team table

1. In the **Auto-assign** card, tick **Assign new chats automatically**.
2. Optional: type **Open conversations per member (default)**. Empty means no limit.
3. Click **Save**. *Not switched on in this guide.*

   ![Auto-assign, WhatsApp Business labels and the Team table](https://wsapme.com/guide-media/img/inbox-settings-website-chat-and-reports/06-auto-assign-labels-team.webp)

When a customer writes to a chat nobody has, Wsapme gives it to the available member who has waited longest for one. Members who already hold their limit of open conversations are skipped. If the chat belongs to a team, only that team's members are considered. Group chats are never auto-assigned.

The **Team** table at the bottom of the page lists every member with **Available**, **Open now** and **Limit**. Owners and admins can tick or untick **Available** for anyone and type a personal **Limit** that replaces the default.

## Part 7 · Satisfaction survey

1. In the **Satisfaction survey** card, tick **Ask for a rating when a conversation is closed**.
2. Change the **Question** and the **Thank-you reply (optional)** if you like.
3. Click **Save**. *Not switched on in this guide, because it sends a message to customers.*

After that, closing a conversation that someone answered sends the question to the customer, at most once a day per chat. A reply from 1 to 5 is recorded without reopening the chat, and the scores appear on Inbox reports under **Satisfaction**.

## Part 8 · WhatsApp Business labels

The card **WhatsApp Business labels** keeps inbox labels and the labels on your phones the same, per WhatsApp number: labels added on the phone show up in the inbox, and labels added in the inbox show up on the phone. It is on by default. To stop it, untick **Sync labels with WhatsApp Business** and click **Save**. *Left as it was in this guide.*

## Part 9 · Data retention

Only the workspace owner can change this card. Admins see it greyed out with the line "Only the workspace owner can change data retention."

![Data retention and the satisfaction survey](https://wsapme.com/guide-media/img/inbox-settings-website-chat-and-reports/05-data-retention-satisfaction-survey.webp)

- **Delete photos, videos and files**: **Keep forever**, or after 30 days, 90 days, 180 days or 1 year. The messages stay, marked "File removed".
- **Delete closed chats**: **Keep forever**, or after 90 days, 180 days, 1 year or 2 years, counted from the chat's last message. The chat goes with all its messages.

The steps for the owner are *(from the documentation, not captured)*: choose the periods and click **Review and save**. A window **Permanently delete old data?** shows how many files and closed chats tonight's clean-up will delete. Tick **I understand this data will be deleted permanently.** and click **Turn on retention**.

> Removal runs every night and is permanent. Removed files and chats cannot be recovered, not even by support. It is off by default.

## Part 10 · Website chat

Website chat is a chat bubble for your own website. Visitors write from the site, and your team answers in the inbox like any other chat.

1. In the **Website chat** card, click **Add website chat**.
2. Type a **Name** (only your team sees it) and, under **Websites (one per line)**, the address of each site that will show the chat, for example "shop.example.com". The chat only shows on these sites and their subdomains.
3. Optional: under **New chats go to**, choose a team.
4. Set the look: **Title**, **Colour**, **Position** (**Bottom right** or **Bottom left**) and the **Greeting**.
5. Choose what to ask the visitor before the chat starts: **Ask for email** and **Ask for phone** can each be **No**, **Optional** or **Required**. The visitor's name is always asked.
6. Under **When nobody is available**, choose **Take a message** (the visitor can still write and you answer later) or **Hide the chat**.
7. Keep **Show the chat on the website** ticked and click **Save**.

   ![The website chat form, with the saved website chat listed above it](https://wsapme.com/guide-media/img/inbox-settings-website-chat-and-reports/03-website-chat-form.webp)

8. The website chat now appears in the card with one line of code. Click **Copy** and paste the code before `</body>` on every page of your website that should show the chat. If you use a website builder, paste it where the builder accepts custom code for the page footer.

   ![The saved website chat with its code](https://wsapme.com/guide-media/img/inbox-settings-website-chat-and-reports/04-website-chat-code.webp)

To change a website chat later, click the pencil (**Edit**). The bin (**Remove**) takes the chat bubble off the website; the chats it already brought stay in the inbox. *Remove was not used in this guide.*

To let the AI agent answer website visitors too, tick the website chat under **Website chat** in the AI Agent settings (see [05 · AI agent and knowledge](https://wsapme.com/guides/ai-agent-and-knowledge.md)).

## Part 11 · Answer a website chat and move it to WhatsApp

*This part is from the documentation, not captured: the demo website chat was not placed on a real website, so no visitor wrote in.*

1. A visitor's first message opens a new chat in the inbox, marked "Website · " and the name of the website chat. It goes to the team you chose, and follows the same rules as WhatsApp chats (what agents can see, routing, auto-assign, response targets).
2. Reply as usual. The visitor sees your reply in the chat bubble, with your first name. Notes stay inside your team. Visitors can send photos and PDF files up to 10 MB.
3. Open the contact panel to see **Website visitor**: the name, email and phone the visitor typed. These are not verified. Use **Link to an existing contact** if you already know this customer.
4. If the visitor asks to continue on WhatsApp, open the chat menu and click **Move to WhatsApp**. Choose the number under **From**, check **Their WhatsApp number** with the visitor, edit the **First message**, then click **Send and move**. The message is sent on WhatsApp, the website chat is closed, and the visitor is told the chat continues on WhatsApp.
5. On an official number, a customer who has not written to that number in the last 24 hours can only be reached with an approved template, so the window asks you to choose a **Template** instead of typing a first message.
6. To stop a visitor who abuses the chat, owners and admins can click **Block this visitor** in the same menu.

When satisfaction surveys are on, closing a website chat shows the rating question inside the chat bubble.

## Part 12 · Send later and bulk actions in the inbox

### Send a reply later

1. Open a conversation and type your reply.
2. Click the small arrow next to the send button (**Send later**).
3. Choose **In 1 hour**, **Tomorrow, 9:00**, **Monday, 9:00**, or **Pick a date and time…** and then **Schedule**.

   ![The Send later menu](https://wsapme.com/guide-media/img/inbox-settings-website-chat-and-reports/09-send-later.webp)

*No reply was scheduled in this guide. What follows is from the documentation, not captured:* the waiting reply sits at the bottom of the conversation with the line "Scheduled for" and its time, and a **Cancel** link. It is sent at that time as if you had sent it yourself. If it cannot be sent, you get a message saying why.

### Change many conversations at once

1. Above the conversation list, click the **Select conversations** button (the checklist icon).
2. Tick the conversations, or click **Select all** (it shows how many) to take every conversation in the list.
3. Choose an action at the bottom of the list: **Mark read**, **Close** (or **Reopen** in the Closed tab), **Assign**, **Snooze** (not in the Closed tab), **Label** (only when the workspace has labels) and **Team** (only when you have teams). Agents see **Assign to me** instead of **Assign**.

   ![Bulk actions under the conversation list](https://wsapme.com/guide-media/img/inbox-settings-website-chat-and-reports/10-bulk-actions.webp)

4. Click the **X** (**Stop selecting**) when you are done.

Owners and admins also see **Delete**. It deletes the selected chats with all their messages in Wsapme and cannot be undone; chats on the phone are not affected. *No bulk action was run in this guide.* Up to 100 conversations can be changed in one go *(from the documentation)*.

## Part 13 · Inbox reports

1. Open **Inbox reports** (the link at the bottom of Inbox settings, or **⋯ → Reports** in the inbox).
2. At the top right, choose the period (**7 days**, **30 days** or **90 days**). When the workspace has more than one WhatsApp number, you can also pick one number instead of **All numbers**; with a single number this picker is not shown.

   ![The Inbox reports page](https://wsapme.com/guide-media/img/inbox-settings-website-chat-and-reports/07-inbox-reports.webp)

3. Read the tiles:

   | Tile | Meaning |
   |---|---|
   | **First response** | Median time to the first answer of a new or reopened chat. |
   | **Response time** | Median time to answer any customer message. |
   | **Answered within 5m** | Share of customer messages answered within that time. |
   | **Resolution time** | Median time from opening to closing a chat. |
   | **Not answered** | Customer messages in this period still without a reply. |
   | **Waiting now** | Open chats where the customer spoke last. |
   | **Missed calls** | Calls to your QR numbers nobody picked up in this period. |
   | **Satisfaction** | The average rating, once surveys are on (Part 7). |

4. Below the two charts (**New conversations** and **Response time** per day), the **Team** table shows each member: **Customers answered**, **First response**, **Response time**, **Resolved**, **Resolution time**, **Replies sent**, **Open & assigned** and **Satisfaction**. Replies sent from the phone itself are shown as Phone. Owners and admins can click **Export CSV**.
5. **Response targets** shows how often customers were answered within your target, a chart per day, the latest misses, and **Export misses**. It only fills in after you set a target (Part 4). *With no target set, the card only showed a link to Inbox settings; the rest is from the documentation, not captured.*
6. **Teams** and **Labels** show the same numbers per team and per label. A chat with two labels counts in both.
7. Click **Daily numbers** at the bottom for a table with one row per day.

All times are medians, so one very slow chat does not distort the picture. With Demo mode on, **Export misses** is switched off.

## Common problems

| Problem | What to do |
|---|---|
| New chats are not being auto-assigned | Check **Assign new chats automatically** is ticked and saved, that at least one member is **Available** in the **Team** table, and that those members are below their **Limit**. Group chats are never auto-assigned. |
| An agent cannot see a chat | Check **What agents can see** (Part 2). Assign the chat to the agent, add the agent to the chat's team, or @mention them in a note. |
| The Routing card only says "Add a team first." | Create a team in the **Teams** card, then add rules. |
| Response times look too long | Turn on business hours (Part 5) so nights and closed days are not counted. |
| No chat turns amber or red | **Warn after** and **Target** are empty. Type the minutes and click **Save**. |
| The Satisfaction tile says "Turn on surveys in Inbox settings" | Tick **Ask for a rating when a conversation is closed** (Part 7). Scores appear after customers answer. |
| The chat bubble does not show on my website | Check the site's address is listed under **Websites (one per line)**, that **Show the chat on the website** is ticked, and that the code is pasted before `</body>`. With **Hide the chat**, the bubble is hidden while nobody is available. |
| The Website chat card says it is not included in your plan | Upgrade the plan in Billing (see [09 · Account, team and billing](https://wsapme.com/guides/account-team-billing.md)). |
| I cannot change Data retention | Only the workspace owner can. Ask the owner. |
| **Send later** cannot be clicked | Type the reply first. It is not offered for notes or when a file is attached. |

## Related

- [02 · Team inbox](https://wsapme.com/guides/team-inbox.md)
- [05 · AI agent and knowledge](https://wsapme.com/guides/ai-agent-and-knowledge.md)
- [09 · Account, team and billing](https://wsapme.com/guides/account-team-billing.md)
