Skip to content
← All skills

Communication

Live Chat Skill

Deploy your agent as a customizable web widget.

Live Chat skill overview diagram
01

How it works

The Live Chat skill allows you to deploy your raia AI agent directly onto your website or web application via a customizable chat widget. It serves as the primary inbound communication channel for most support and sales use cases.

02

Key features

Custom Branding

Match the widget to your brand colors, logo, and typography.

Welcome Messages

Configure proactive greeting messages to engage visitors immediately.

Identity Passing

Use SET_USER to pass authenticated user data (name, email, ID) to the agent for personalized responses.

Human Handoff

Seamlessly transition from the AI agent to a human operator in Copilot when needed.

File Uploads

Allow users to upload images or documents directly within the chat interface.

03

How to configure it

  1. 01

    Enable the Skill: Navigate to your Agent in Launch Pad, go to Skills, and toggle on 'Live Chat'.

  2. 02

    Customize Appearance: Set your primary color, bot avatar, and welcome message in the configuration panel.

  3. 03

    Generate Security Key: If using the JS SDK (recommended), generate a Security Key to prevent unauthorized usage of your agent ID.

  4. 04

    Embed the Code: Copy the provided JavaScript snippet and paste it into the <head> of your website.

04

Complete configuration reference

This guide covers every setting available in the Live Chat configuration panel, organized exactly as it appears in the raia platform.

A1

Content Tab

Define what users see and interact with during the conversation. Manage the messages and interactive elements that shape the chat experience.

Welcome & Entry

SettingDescription
Welcome screen first lineOptional shorter line shown above the main welcome text (e.g., "Hi, I'm raia.").
Welcome screen second lineMain welcome text shown when users first open the chat (e.g., "Are you ready to build your Agentic Workforce?").
DisclaimerOptional informational notice displayed on the Live Chat welcome screen before a conversation begins. Supports Markdown.
Main Button LabelText displayed on the primary button used to start the chat (e.g., "Ask me Anything").
Main Button SubtextAdditional text displayed under the main button to clarify its purpose.
LinksAdd quick-access URLs (e.g., Help Center, Pricing) to the welcome screen.

Predefined Conversation Elements

SettingDescription
Intro MessageIntroductory text displayed before the user starts a conversation. Hidden after the first user message or when predefined options are shown.
Predefined options 1–4Up to four quick-tap suggestion buttons for common questions (e.g., "Tell me more about your Company", "How do I sign up?").
Chat footerOptional text shown below the chat input (for example, a privacy policy notice or link). Supports Markdown.

In-Chat Buttons

Configure interactive buttons that appear during the conversation based on specific triggers.

PropertyDescription
Button TypeChoose from Open URL, Trigger Prompt, Trigger Webhook, or Trigger Escalation.
Button AppearanceControl when the button is visible (Always, Once per session, Hide after click).
Button StyleCustomize the button's color, icon, and text.
A2

Configuration Tab

Control how the chat operates. Configure the core functionality and behavior of your chat system.

Chat Behavior

SettingDescription
Default PageSpecifies which chat screen is shown when the chat is opened (Home, Chat, or Voice Chat).
Automatic Open Chat ModeControls whether the chat opens automatically when a user visits the page (Off, Once per session, Always).
Auto Open Delay (seconds)Defines how long the system waits before automatically opening the chat after the page loads.
Message length limitMaximum number of characters allowed per user message.
Citation EnabledAllows AI responses to include references or citations to source documents.
File Upload EnabledAllows users to upload files during the conversation.
Show System MessagesControls whether system-generated messages (such as chat status updates, escalation notices, or session changes) are displayed in the conversation interface.
Links targetControls how welcome screen links open when clicked (New tab, Same tab).

AI & Processing Controls

SettingDescription
Use Current Page TextAllows the AI to use the content of the current webpage as additional context when generating responses.
Streaming Chat EnabledDisplays AI responses progressively in real time as they are generated.
Reasoning label for Streaming ChatDefines the label shown when AI reasoning steps are displayed during streamed responses (e.g., "Thinking...").
Reasoning details enabledControls whether detailed AI reasoning generated by the model is visible to users.

Communication Features

SettingDescription
Voice Chat EnabledAllows users to interact with the agent using voice input and audio responses. (Requires a configured Voice Skill).
Voice Chat Subtitles EnabledDisplays text subtitles during voice conversations to improve accessibility and clarity.

Conversation Lifecycle

SettingDescription
Auto Complete Ended ChatAutomatically marks a conversation as "complete" when the conversation ends, whether manually or due to a timeout.
Auto Archive ChatEnables automatic archiving of conversations after a period of inactivity.
Auto Archive Chat Timeout (Minutes)Defines how long a conversation must remain inactive before it is automatically archived.
A3

Pre-Chat & Availability Tab

Manage when your chat is accessible and what information is collected from users before they start a conversation.

User Information

SettingDescription
Required User InformationRequires users to provide predefined personal information before starting a conversation.
Required User Information LabelDefines the label or prompt shown to users when requesting required personal information (e.g., "Let me know who I am speaking with...").
Fields BuilderAdd, reorder, and configure fields (First Name, Last Name, Email, Phone Number, Company, or Custom text/select fields). Set each field as Required or Optional.

Conversation Information

SettingDescription
Required Conversation InformationRequires users to provide information about their request or topic before the conversation begins.

Operational Dates & Hours

SettingDescription
Limit unavailable datesEnables restrictions on when the chat is available based on specific dates. Add dates to block out holidays or closures.
Unavailable MessageDefines the message shown to users when they attempt to start a chat on an unavailable date.
Limit chat hoursEnables restrictions on when the chat is available based on configured operating hours.
Start Time / End TimeSet daily operating hours (Eastern Time).
Available DaysCheckboxes for Monday–Sunday.
Offline MessageDefines the message shown to users when they attempt to start a chat outside the configured operating hours.

Security & Restrictions

SettingDescription
Email Verification RequiredEnforces OTP email verification before starting a chat.
Phone Verification RequiredEnforces OTP SMS verification before starting a chat.
Security Key RequiredRequires a valid security key (JWT/HMAC) to initialize the chat.
IP WhitelistRestrict chat access to specific IP addresses.
Geographic RestrictionsBlock or allow access based on the user's country.
A4

Design Tab

Customize the visual appearance of the chat widget and launcher to match your brand.

Launcher

SettingDescription
Launcher Display StyleChoose whether the launcher shows an icon, text, or both.
Launcher ShapeSelect the shape of the launcher (Circular, Rounded, Square).
Launcher SizeSet the size of the launcher (Small, Medium, Large, Custom px).
Chat IconUpload an image to be used as the avatar inside the live chat window and the icon on the chat launcher.
Logo FitChoose how the logo fits within its container (Cover, Contain).
Custom Launcher Color ModeSame as chat widget (Light/Dark/System) or custom.
Launcher Attention EffectSubtle animation (Pulse) on the launcher to draw the eye.

Next to Launcher

SettingDescription
Content next to launcherChoose what appears next to the launcher: suggestion chips, a proactive message bubble, or nothing.
Proactive messageThe text shown in the proactive bubble (e.g., "Hey! Can I help answer any questions?").
Show after (seconds)Delay before the proactive message appears.

Appearance

SettingDescription
View ModeChoose the view mode for live chat (Popup or Sidebar).
Popup SizeIf View Mode is Popup, choose the size (Small, Medium, Big, Full Height).

Theme Settings

Customize specific colors using HEX codes for both Light and Dark modes.

ElementDescription
Greeting Title SizeControls the font size of the greeting title.
Greeting Title ColorColor of the greeting title text.
Chat Home Background ColorBackground color of the welcome screen.
Greeting Line 1 Text ColorColor of the first line of greeting text.
Button Background ColorBackground color for buttons on the welcome screen.
Primary CTA Icon Background & Foreground ColorColors for the main chat action button.
Logo Background ColorBackground color behind the chat icon.
Button Title & Subtitle ColorText colors for predefined options and main buttons.
Link Title ColorColor for URLs on the welcome screen.
Chat Message Background ColorBackground color of the chat conversation area.
Disclaimer Text ColorColor of the disclaimer text.
Background ImageOptional URL for a custom background image.
05

Frequently asked questions

Can I use the Live Chat widget on multiple domains?

Yes — the widget embeds on any domain, and you can restrict allowed domains in the security settings to prevent unauthorized embedding.

Does the chat history persist if the user refreshes the page?

Yes. By default the widget uses local storage to maintain the conversation thread across page reloads within the same session.

How do I pass user information if they are logged into my site?

Call window.raia.SET_USER({ email: 'user@example.com', name: 'John' }) in your frontend code after the user authenticates.

06

More Communication skills