Skip to main content

Chat agent

Plans and permissions:

  • Add-on: AI agents, billed separately
  • Change chat agent settings: Admin, Manager, or Team Lead role, or a custom role with Chat agent settings set to Can edit chat agent settings
  • With Can view chat agent settings, you can see a chat agent’s settings but not change them.

Use the chat agent to answer customer questions in a chat widget on your website, help center, or app, from simple FAQs to multi-step requests. It answers from your knowledge base and workflows, recognizes when a conversation needs a person, and hands it off to your team with the details they need. You choose how it looks, what it says, how it hands off, and how it closes conversations.

To open it, go to AI support > Chat agent, and select a chat agent from the Chat agents list.

Item What it’s for
Content tab The brand, homepage, welcome message, user segments, and terms of service. See Content tab.
Themes tab Colors, header, agent persona, launcher, and display mode. See Themes tab.
Handoff tab How and when conversations go to your team. See Handoff tab.
Wrap-up tab How inactive conversations are closed, and the closing survey. See Wrap-up tab.
Setup tab The installation script, user authentication, knowledge access, and instructions. See Setup tab.
Manage activation Turns the chat widget on or off for your visitors. See Activate the chat agent.
Agent actions menu The menu next to Manage activation, with Rename agent, Create new agent, and Duplicate agent.
Preview A live chat widget next to the settings that shows your changes as you make them. Some settings, such as the handoff method and wrap-up, appear in the preview only after you save.
Save changes Saves your changes.

To test a chat agent in a full conversation after you save, go to AI quality > AI agent testing.

How the chat agent works

  • Answers: the chat agent answers from your knowledge base, and follows your workflows for requests that need several steps or a lookup in your systems.
  • Handoffs: it decides when to involve your team, often before the customer asks, based on signals such as frustration, sensitive topics, or a request for a person. See Handoff tab.
  • Insights: you can review each conversation and its outcome in AI quality > QA review, without waiting for QA or CSAT scores. See Quality review.
  • Several chat agents: you can run more than one chat agent, for example one per website or audience, each with its own settings. See Create more chat agents.
  • Brands: each chat agent can use a brand from Brand studio, which supplies its style, knowledge access, and persona. You can override the brand’s settings for one chat agent.

Create more chat agents

Create a separate chat agent for each place where chat should look or behave differently, such as:

  • Brands: each of your brands or websites gets its own branded chat.
  • Audiences: a marketplace with separate buyer and seller portals gives each portal a chat that answers for that audience.
  • Contexts: your marketing site and your product use different styling or messages.

Each chat agent has its own installation script, so put each one on a different page. Don’t install two chat agents on the same page.

To create one, go to AI support > Chat agent and select Create new chat agent. From an open chat agent, you can also use the Agent actions menu next to Manage activation to select Create new agent or Duplicate agent.

A chat agent’s settings with the Agent actions menu open, showing Rename agent, Create new agent, and Duplicate agent. Numbered markers point to the menu button (1), Duplicate agent (2), Create new agent (3), and Chat agent in the menu (4).

Activate the chat agent

The chat widget doesn’t appear on your site until you activate it.

  1. Open the chat agent, and select Manage activation.
  2. Under Chat availability, choose an option:
    • Activate for all visitors: everyone sees the chat widget.
    • Gradual rollout: a percentage of visitors you set in Visibility percentage see it. The same visitors keep seeing it over time.
    • Deactivate for all visitors: no one sees it.
  3. Select Activate chat, Update activation, or Deactivate.

The Activation settings window opened from Manage activation, showing the current status and the Chat availability options. Numbered markers point to Activate for all visitors (1) and Gradual rollout (2).

The chat agent’s status, such as Active or Gradual rollout, shows next to its name. Your site can also override these settings with the installation script. See Chat widget advanced setup.

Content tab

The Content tab of a chat agent, with the settings on the left and the chat preview on the right. Numbered markers point to Chat agent in the menu (1), the Content tab (2), Enable homepage (3), Welcome message (4), Enable voice input and Enable file attachments (5), the terms of service setting (6), and the Powered by Assembled line in the preview (7).

Setting What it does
Brand The brand this chat agent uses for its style, knowledge access, and persona.
Enable homepage Opens the chat on a homepage with past conversations and your Homepage links, so customers can find an answer before they start a chat. Add at least one link.
Resume ongoing conversation when returning to chat Takes returning customers back to their most recent conversation instead of starting a new one.
Welcome message The greeting customers see when they open the chat.
Suggested reply buttons Buttons at the start of a conversation that take customers to common topics or workflows.
Enable voice input Lets customers record short audio messages with the microphone icon.
Enable file attachments Lets customers upload documents or images.
User segments Tailors knowledge and handoff behavior to different groups of customers. See User segments.
Display your company’s terms and conditions to users Shows your terms of service in the chat. See Terms of service.

Homepage

With Enable homepage on, the chat opens on a homepage where customers can open your help links or start a conversation. With it off, the chat opens straight to a conversation.

With homepage Without homepage
The chat widget opening on its homepage, with Ask us a question and a list of help links The chat widget opening straight to a conversation, with no homepage

Terms of service

After you select Display your company’s terms and conditions to users, choose how customers acknowledge them:

Option What customers see
Require users to click to acknowledge Customers select a button to accept your terms before they can chat.
Show inline message Your terms appear as a notice at the top of the conversation.
Show as tooltip Your terms appear when customers hover over the info icon.

Then provide your terms as text in the chat, or as a link to a URL.

Themes tab

The Themes tab of a chat agent with the chat preview on the right. Numbered markers point to the Themes tab (1), the accent color and theme options (2), the Header section (3), and the Agent persona section with name, avatar, and avatar shape (4).

Section What you can change
Color Brand color, the Accent color (lighter or darker), Theme mode (Light, Dark, or System), and the Homepage background (Gradient or Solid).
Header The Homepage title. Select Disable header to hide the header bar with the title, back button, and close button.
Agent persona The Name and Avatar customers see, the Avatar shape, and whether to Show avatar in header.
Launcher The launcher Icon, the Open label and Close label and when they show (On hover or Always), the Size, the Launcher position, and the Z-Index. You can also Enable draggable launcher or Disable launcher. See Chat launcher position.
Display mode Widget (the default floating chat window), Modal, or Embedded in a container on your page. See Embedded chat widget.

If the chat agent uses a brand, the brand’s color and agent persona are used unless you override them.

Handoff tab

The Handoff tab sets how conversations reach your team, and when.

The Handoff tab of a chat agent with the Handoff method list open, showing Live agent, Email ticket, Support link, and None. Numbered markers point to the Handoff tab (1) and the Handoff method field (2).

Handoff method

Method What happens
Live agent Connects the customer with a support team member in your contact center. Needs live chat set up in your help desk.
Email ticket Opens a support ticket for the customer, and your team follows up by email.
Support link Sends the customer a link to a support form, and your team follows up.
None Customers can’t reach your team from the chat.

You can also set the message the chat agent sends before and after a handoff. Under Live agent handoff exceptions, you can require JWT authentication for Live agent handoffs, so customers who aren’t signed in get an email ticket instead, or let customers choose between a Live agent handoff and an email ticket.

Note: With Zendesk, Live agent handoffs go through Zendesk Sunshine Conversations. They work with Zendesk Messaging in the Zendesk Suite Professional plan, or with Sunshine Conversations directly. You don’t need to change your existing Zendesk setup.

Handoff criteria

Sensitivity sets how quickly the chat agent hands off. It considers signals such as:

  • Negative sentiment: the customer is frustrated, or isn’t getting what they need.
  • Sensitive subjects: the customer is very upset, wants to cancel, or raises another major issue.
  • Stated intent: the customer asks to talk to your team or a manager.
Sensitivity What it does
Containment-focused Tries to resolve as much as possible before handing off.
Standard (default) Tries some resolution first, balancing efficiency with customer satisfaction.
Cautious Hands off quickly when a person would help, putting customer satisfaction ahead of cost.

Start with Standard, and change it only if testing shows you need to.

In the same card, you can add topic-based handoff triggers for topics that should always go to your team, and Profile-specific handoff instructions that guide this chat agent’s handoff decisions. For what to put in each, see Chat agent instructions and style.

Case creation and configuration

  • Case creation behavior: create a case in your help desk only when a conversation is handed off, or always, including for resolved and abandoned conversations.
  • Configuration: the Live agent avatar, the email sender for email tickets, and whether to hand off automatically when a system error occurs.
  • Business hours: for Live agent handoffs, the handoff type and message to use outside your business hours.

Collect customer information

When a conversation is handed off, the chat agent can collect details from the customer to fill in the support ticket. It checks the conversation and your systems first, and only asks for what it doesn’t have.

The Collect customer information section of the Handoff tab. Numbered markers point to the default fields table with Email and buttons to add Name, Description, Category, and Attachments (1), and the Add smart field button (2).

  • Default fields: Email is always collected. You can add Name, Description, Category, and Attachments, change each field’s label, and make it required.
  • Smart fields: select Add smart field to collect any other information you’ve set up as a smart field, such as an account number. To send these values to your help desk, see Connected platform fields.

Wrap-up tab

The Wrap-up tab closes conversations that have gone quiet. After a period of inactivity, the chat agent checks whether the customer needs anything else, then closes the conversation and, optionally, asks for feedback.

The Wrap-up tab of a chat agent showing the wrap-up interaction flow. Numbered markers point to the Wrap-up tab (1), the wait before the confirmation message (2), the two quick action buttons (3), the wait before the closing message (4), the confirmation message (5), the closing message (6), and the follow-up message (7).

To set up wrap-up, select Enable automatic wrap-up handling, then set the flow:

  1. If the user does not respond for: how long to wait after the chat agent’s last message before it sends the confirmation message.
  2. Send confirmation message: the message that asks whether the customer needs anything else. Customers see two quick action buttons to answer with, or they can type a reply.
  3. Send closing message: sent if the customer selects the quick action for being done, or doesn’t respond within the time you set under Or if user does not respond for.
  4. Send follow-up message: sent if the customer selects the other quick action, and the chat agent carries on helping.

Closing survey

Select Enable closing survey to ask for feedback, such as CSAT, after the wrap-up. Under Survey visibility, choose All conversations or Handed off only.

The Closing survey section of the Wrap-up tab, with the survey toggle, visibility, and method options. Numbered markers point to Introductory message (1), Question (2), the ratings table with name and value (3), and Ask additional questions (4).

Setting What it does
Introductory message The message that asks customers to take the survey.
Question The survey question.
Ratings The answers customers choose from. Each has a Name, which customers see, and a Value, which is used to calculate results and isn’t shown to customers.
Smart field to store rating Optional. Saves the rating to a smart field.
Ask additional questions Adds follow-up questions, such as a comment box.

If you use Stella Connect, you can send its surveys after chat conversations instead, under Stella Connect surveys.

Setup tab

Section What it does
Installation The script tag to add to your website. See Chat widget installation.
User data authentication The JWT secret for identifying signed-in customers, and whether to accept only verified user data. See Chat widget installation.
Knowledge access Which knowledge this chat agent can use: External knowledge only or External and internal knowledge (High risk), and which article tags to include or leave out. If the chat agent uses a brand, this comes from the brand’s Access tab unless you select Override brand configuration.
Chat agent instructions Critical instructions for chat agent, the Chat style (Default, or Use customized brand style), and whether customers can ask it to change its tone. See Chat agent instructions and style.
User data mapping Maps the user data your site sends to smart fields.
Case data enrichment Looks up extra case data from one of your API endpoints.
User memories Lets the chat agent remember details about returning customers. See User memories.
Zendesk conversation threading For Zendesk, whether to keep each customer’s messages in a single conversation.
AI Engine The model that powers the chat agent’s replies. Test thoroughly after you change it.

Use knowledge tag filters when you run chat agents for different audiences, such as separate brands or a buyer portal and a seller portal, so each one answers only from the articles that apply. To see which tags your articles have, go to Configure > Knowledge.

Still have questions?