Webchat
Configure Client
Explains Webchat client configuration through profiles or stub data. Useful for launching, testing, branding, and controlling Webchat behavior.
There are two ways to configure your webchat client:
- Using a webchat profile (recommended for most cases)
- Configuring directly in stub.data (useful for specific use cases)
Configure via Webchat Profile
Create Webchat Profile
Navigate to
Manage. UnderConfigSelectNotifications
Navigate into
Webchat/Webchat Profiles
Create a new profile.

After setting the profile name and description, scroll to the bottom and click
Create.
Managesaves your profile and refreshes.Scroll to the bottom of your new profile and click
Open webchat clientto test your webchat without creating a webpage.
Testing Webchat Using Profiles
In profiles there are 2 branches:
liveanddraft
The Draft branch will be where most testing and development is done.
The Live branch should be reserved for live environments.
Opening Webchat Client Using Profile UUID
Select your branch (
liveordraft)
This opens a webpage with the webchat client embedded
- Example of a webchat client using the
livebranch: Live Webchat client - Example of a webchat client using the
draftbranch: Draft Webchat client
- Example of a webchat client using the
Note: When naming the webchat in a draft branch, "draft" will be automatically prefixed onto the Chat name.
Updating Webchat Profiles
- Make sure you are on the correct branch when updating a profile (
liveordraft) - Changes made to both branches will automatically update
Configure via Stub.data
Configure webchat directly in a stub's data without a profile, for cases needing more direct control.
Setup Configuration in Stub.data
- Set up a
savedatatask with the config object below as thesavevalue - Run the action in your target stub
- In
stub.data, you'll now havestub.data._webchat_config
Using Your Configured Stub with Webchat
Once your stub has the configuration object, you can use your stubref as a parameter:
Or embed it in HTML:
Routing Methods with Stub Configuration
When using stub.data configuration:
- First messages from users are directly sent to your stub
- Webchat data received is placed in
stub.data._incoming_webchat_data - The default action that is executed on a stub is
_update_from_webchat
Note: The stub.data method does not support Heimdall routing. It is best for simple, direct webchat implementations.