UCBC
Admin Guide

Web Chat

13 min read

Web Chat puts a chat bubble on your organization's website. Visitors click it and chat in real time with your agents who are Available or have Agent Center open. Every chat becomes a Web Chat ticket (numbered CHT-…), so it goes through the same queues, SLA, escalation matrix, reports and AI analysis as your calls, email, WhatsApp and social media tickets.

Outside opening hours, or when nobody is free, visitors can leave a message instead. It becomes a Web Chat ticket. If the visitor is still on the chat when you answer, your reply goes into their chat window and the conversation carries on as a live chat. Once they have left, your reply goes by email.

What visitors see#

  • A round chat button in the bottom corner of your website, in your color.
  • A short form: their name, email, a department (if you have more than one) and their question.
  • While they wait: Waiting for an agent…. When an agent accepts: You are chatting with (agent name), and the agent's replies appear instantly. They see when the agent is typing.
  • If nobody accepts in time, or they left a message while nobody was free, the chat window stays open: We will answer here - or by email if you leave. They can keep adding messages, and their message is already a ticket. If an agent answers while they are still there, the reply appears in the chat window and it becomes a live chat (You are chatting with (agent name)). If they close the chat or leave the website, the answer comes by email.
  • Closing the page doesn't lose the chat: reopening the website brings the conversation back until it ends.
  • Sometimes an invitation pops up above the chat button ("Can I help you?"), sent by an agent or shown automatically after some time on a page. Chat now opens the chat; × closes it.
  • When the chat ends, they can rate it from 1 to 5 stars and add a comment.
  • If they end the chat themselves (End chat) after talking to an agent or the AI assistant, their ticket is closed automatically.
  • If your AI assistant is on, it may answer first (shown as (name) (AI assistant)). A Talk to a person button is always there.

Turning it on#

Web Chat appears for a domain when both are true:

  1. The Web Chat module is on for the domain (Domains › Edit › Modules, under Tickets). It is on by default.
  2. At least one chat widget is set up and switched on (below).

Until then, agents don't see the Chats page or the Web Chat ticket folder.

Setting up a chat widget#

Go to Agent Center › Ticket Settings › Web Chat (administrators).

SettingWhat it does
Chat is onTurns the bubble on or off without deleting anything.
Websites allowed to use this chatOne address per line, exactly as in the browser's address bar, for example https://www.yourcompany.com and https://yourcompany.com. The chat refuses to work on any other website.
Window title, Greeting, Color, Position, Window sizeHow the chat looks.
DepartmentsWhat visitors can choose, for example Sales and Support. Each department goes to one call center queue: only that queue's Available agents receive its chats. Leave the queue empty to offer the chat to every agent. With no departments, every agent receives every chat.
Opening hoursAlways open, or a start and end time per day, in the chosen timezone. Outside these hours the chat shows as offline.
Wait for an agent (seconds)How long a visitor waits for someone to accept before being told they will be answered by email.
Offer a message form when offlineOutside hours or when nobody is Available, visitors can leave a message, which becomes a ticket answered by email. If this is off, the chat simply says it is closed.
Privacy noticeA short line shown in the chat window.
Show agents who is on the websiteAgents see who is on the website right now (country, page, time on the page) and can invite them to chat. Automatic invitations need it too. Turn it off if your organization doesn't want visitors tracked.
Chats per agent at onceHow many chats one agent can have at the same time (default 3). Nobody is offered more.
Offer to the next tier after (seconds)Priority: a waiting chat goes first to the Available agents in the lowest tier of the department's queue who have room. If nobody there takes it, the next tier is added after this many seconds, and so on. Agents who speak the visitor's browser language get it one step earlier.
Ask visitors to rate the chatShows the 1–5 star rating when a chat ends.
Automatic invitationsRules like page contains /pricing, after 30 seconds, "Questions about our prices? We are here to help.". Shown only while an agent is free, and once per visit. Leave Page contains empty for every page.
AgentsOptional per agent: how many chats they can have at once (empty = the number above) and the languages they chat in (for example en, fr).
Custom CSSOptional extra styling for the bubble and window.

Click Save. The badge next to the title shows whether the live service is running (it delivers messages instantly).

Installing it on your website#

After saving, the page shows an Install on your website snippet, for example:

<script src="https://your-ucbc-server/app/web_chat/widget.js" data-key="…" async></script>

Paste it just before </body> on every page where the chat should appear (most website builders and WordPress have a "custom code / footer scripts" setting). Use Try it on a preview page to test the chat before it goes live on your website.

A domain can have more than one widget, for example one per website. Use the list at the top right to switch between them or add another.

The AI assistant#

The AI assistant answers website chats from your own knowledge, and passes the chat to a person when it can't help.

What it needs

  1. An AI connection in Agent Center › AI (your own provider and key; usage is billed to your AI account). See the Agent Center AI article.
  2. Knowledge to answer from (below). It never answers from anything else.
  3. In Ticket Settings › Web Chat, under AI assistant: tick The AI assistant answers chats, and tick the agreement that visitors' chat messages and your knowledge are sent to your AI provider. Then Save.

The status line next to AI assistant says Assistant ready, or exactly what is still missing. It also shows how many replies were used this month.

Settings

SettingWhat it does
When it answersFirst, for every chat (it hands over to a person when needed), or Only when no agent is free, or after hours. With the assistant on, the chat stays available even when nobody is Available.
Its name in the chatFor example Ama. Visitors see Ama (AI assistant).
Replies per monthOnce used up, new chats go straight to agents, or to email when nobody is free, until next month.
InstructionsOptional extra guidance, for example tone or something to always mention.

Knowledge

Under The assistant's knowledge, add:

  • A web page: one page of your website, for example your FAQ page.
  • Whole website (sitemap): your sitemap address (for example https://www.yourcompany.com/sitemap.xml); up to 100 pages of that website.
  • FAQ / document text: type it in, or upload a .txt, .md or .pdf file (up to 5 MB).

Your Help Centre's published public articles are part of the knowledge automatically (see the Help Centre article).

Website pages are read straight away and again every day. The list shows each source's status, how many parts it was split into, and when it was last read; use Read again or Remove. Knowledge is shared by all chat widgets of your organization. Only public websites can be read.

Use Try the assistant to ask a question the way a visitor would and see its answer and which knowledge it used.

How it hands over

The assistant passes the chat to a person when the answer isn't in its knowledge, when the visitor asks for a person or clicks Talk to a person, when the AI provider can't be reached, or when the monthly limit is reached.

  • If an agent is free, the chat waits for agents like any other. The agent sees a short AI summary of what the visitor wants and what was already answered.
  • If nobody is free, the visitor is told they'll get an email reply, and the ticket stays open.

Agents see chats the assistant is handling under With the AI assistant on the Chats page, and can Take over at any time. A chat the assistant handled alone becomes a Web Chat ticket marked resolved (Answered by the website's AI assistant).

Answering chats (agents)#

Agents and supervisors answer chats on the Chats page in the Agent Portal.

  • Waiting: chats nobody has taken yet, for the queues you are in (supervisors and admins see all). A sound plays and, if you allow it, a browser notification appears when a new one arrives.
  • Click a chat to see the visitor's name, email, country, language and the page they were on, then click Accept. If two agents click at once, only one gets it; the other is told it was taken.
  • Type your reply and press Enter (Shift+Enter for a new line). You see what the visitor is typing before they send it, so you can prepare your answer.
  • The book button next to Send searches your Help Centre articles and puts an article's title and link into your reply (see the Help Centre article).
  • A green dot shows the visitor still has the website open.
  • End chat when you're done. The visitor sees the chat has ended.
  • My chats lists your open conversations, and the badge at the top shows how many you have out of your limit (for example 2/3 chats). Recent lists the last ended, missed and offline ones, with the visitor's rating.
  • Priority: a new chat may reach you a few seconds after it arrives. That happens when agents in a lower tier of the queue (or agents who speak the visitor's language) are offered it first. While you're at your chat limit, waiting chats are shown greyed out.
  • Transfer hands a chat over: to another agent who is free (it becomes theirs straight away) or to a department (it waits again for that department's agents). The visitor sees a short note about it.

Who is on the website#

On the website lists visitors on your site right now: their country, the page they are on, how long they've been on it, and whether they're already chatting. Click Invite and type a short message. It pops up for that visitor as an invitation, and the list shows invited by (your name), or declined if they close it. This list only appears when Show agents who is on the website is on.

The Ticket button opens the chat's ticket.

The Web Chat ticket#

Web Chat tickets are in Tickets › Web Chat Tickets, for agents and in the supervisor's ticket view. The ticket shows:

  • the whole chat transcript, including when the agent joined and when the chat ended;
  • any follow-up by email, including the customer's email answers;
  • a This chat is live banner while the chat is still running.

For a message left while nobody was free (offline or missed), the ticket shows where your reply will go:

  • Visitor is on the chat now: the button reads Send to chat. Your reply goes into their chat window, the chat becomes a live chat assigned to you, and you carry on in Chats. No email is sent.
  • Visitor has left the chat: the button reads Send by email.

The ticket switches between the two by itself as the visitor comes and goes.

Once the chat is over (ended, or the visitor has left), reply from the ticket with Send by email. The email goes from your company mailbox (set up in Email Setup) with the ticket number in the subject, so the customer's answer comes back to the same ticket.

When the visitor ends a chat themselves after talking to an agent or the AI assistant, the ticket is closed automatically and shows The visitor closed this ticket by ending the chat · (date and time). No closing email or RCA report is sent for this. A chat the visitor gives up on while still waiting, or a message they left, stays open because it still needs an answer.

The ticket's status, priority, category, assigned agent and queue work exactly like any other ticket.

Security and privacy#

  • The chat only works on the websites you list. Visitors can only see their own conversation.
  • Visitors give their name and email; the chat keeps their messages, the page they started on, their browser language, their country (worked out from their internet address) and their rating. Nothing else is collected.
  • With the AI assistant on, visitors' messages and the relevant parts of your knowledge are sent to the AI provider you connected in Agent Center › AI, only after you've ticked the agreement. Mention this in your privacy notice.
  • With Show agents who is on the website on, the website also tells UCBC which page each visitor is on while they browse. It uses an anonymous id, not their name, and nothing is stored. Turn it off to stop this completely.
  • Spam protection limits how many chats one address can start and how fast messages can be sent.
  • Mention the chat in your website's privacy / cookie notice.

Troubleshooting#

  • The bubble doesn't appear: check the chat is on, the website address is listed exactly (including https:// and www. if used), and the snippet is on the page.
  • The chat always says offline: no agent in the department's queue is Available or has Agent Center open (agents who are On Break don't get chats), or it is outside the opening hours.
  • An agent is signed in but doesn't get chats: check they are not On Break. An agent counts while any Agent Center page is open, and stops counting about a minute and a half after they close it. Their phone doesn't need to be registered to take web chats.
  • Agents don't see the Chats page: the domain has no chat widget switched on, or the Web Chat module is off for the domain.
  • "Live service not running" on the settings page: ask your UCBC administrator to check the ucbc_web_chat_gateway service.
  • The assistant hands every chat to a person: check the status line under AI assistant, check the AI connection still tests OK in Agent Center › AI, and use Try the assistant. If the answer isn't in its knowledge, add it.
  • Send by email is missing on a ticket: the chat is still live (answer it in Chats), the ticket has no customer email, or the company mailbox is not set up in Email Setup.
  • The ticket says Send to chat but I want to email: the visitor still has the chat open. Your reply reaches them there. Once they close it or leave the website, the button changes to Send by email.
💬 Chat with Ace: SIITS AI