Skip to content

Webchat ​

With this guide you will learn how to configure the Webchat channel in your campaigns. This channel allows you to integrate a live chat directly on your website to communicate with your visitors in real time. Let's get started!

Prerequisites ​

Before configuring the Webchat channel, make sure you have:

  • Campaign created: you must have at least one campaign created where you can configure the channel. If you don't have one yet, you can create it through the following campaign creation guide.
  • Access to your website: you will need to be able to add JavaScript code to your website to integrate the Webchat widget.

General ​

From this section you configure parameters related to the functioning of the channel.

Available settings ​

  • Enabled: allows you to enable or disable the channel. If disabled, interactions cannot be managed through the channel. The first time you open a channel that was never configured, it comes enabled.
  • Strategy: defines how incoming interactions will be distributed among available users. See strategies. Make sure to select the strategy that best suits your business model.
  • Service level: establishes the maximum desired time in seconds for an interaction to be attended. The campaign dashboard will show the compliance percentage. If the time is exceeded, the interaction will still be attended, but it will only affect the Service Level metric.
  • Send offline messages to this address: email address where data from interactions received outside of business hours will be sent. The email will include the information requested in the Webchat interaction start form.
  • Transfer timeout: maximum time in seconds that the user who received a transfer has to attend the interaction. After this time, the interaction will return to the original user who transferred it. If left empty, transfers will have no time limit.
  • Max. interactions per agent: maximum number of simultaneous Webchat interactions that each agent of this channel can manage. If left empty, no limit is applied.
  • Max. chats: maximum number of Webchat interactions that can remain in the queue waiting to be attended. Once the limit is reached, new visitors will see a message indicating that the service is temporarily unavailable. If left empty, no limit is applied.
  • Auto finish: time in seconds the system waits, from the moment the customer disconnects from the chat, before automatically finishing the interaction. If left empty, no limit is applied.
  • Allowed domains: domain or URL of the website where the Webchat can be used (for example, mysite.com). The widget only loads on pages whose URL contains this text, which prevents it from being used on unauthorized sites. Enter a single domain: a list separated by commas will not match any site. If left empty, the widget works on any site.
  • Time out in queue: maximum time in seconds that an interaction can remain in the queue waiting to be attended. When this time runs out, if a Bot after timeout is configured the interaction goes to that Bot; otherwise, the interaction is finished. If left empty, there will be no maximum, so the Bot after timeout is never triggered.
  • Allow attachments: if enabled, allows visitors to send file attachments during the interaction.
  • Offline message: if enabled, when the campaign is out of hours, visitors can leave a message that will be sent by email to the configured address. Then, from the Interactions screen, it will be possible to view these interactions.

Automations ​

From this section you can configure different types of Bots to automate responses and processes in the Webchat channel.

Available settings ​

  • Bot when start: select a previously created Bot that will interact with the visitor automatically when they start an interaction. For example, you can configure a Bot that sends an initial response confirming receipt or requesting additional information.
  • Bot when finish: select a Bot that will be executed automatically when the user finishes the interaction. It's ideal for sending satisfaction surveys, requesting feedback, or providing additional information.
  • Customer Feedback: allows you to select a Customer Feedback Model to automatically send the customer a satisfaction survey when the interaction finishes. If the field is left empty, the channel has no model assigned; you can only assign a single model per channel.
    • Send feedback after the finish bot flow: by default, the Customer Feedback survey is sent before the Bot when finish. Enable this check to reverse the order and send it afterward. This is only available if you've selected both a Customer Feedback Model and a Bot when finish.
  • Bot after timeout: select a Bot that will be executed automatically if the interaction exceeds the maximum time in queue without being attended. It can send a message apologizing for the delay and estimating a response time.

Form ​

From this section you can configure what information will be requested from the customer before starting the interaction.

Default fields ​

Each default field has a checkbox to show it in the form. Once it is checked, the Required field switch appears below it, to make it mandatory. By default, the three fields are visible and required.

  • Name: if checked, the customer will be asked to enter their name.
  • Email: if checked, the customer will be asked to enter their email address.
  • Phone number: if checked, the customer will be asked to enter their phone number.
  • Message: the message field will always be available for customers to write an initial message.

Custom fields ​

You can create additional custom fields according to your business needs:

  1. Check Custom field.
  2. In Custom field name, write the name that will appear in the form (e.g.: "Order number", "ID", "Claim number", etc.). Then, click on the + icon. Two fields cannot have the same name.
  3. The field is added to the list with a switch that has the field's name: turn it on to make the field mandatory for customers when starting the interaction. To remove a field, click on the trash icon.
Required or not?

A default field is required when its Required field switch is on. A custom field is required when the switch with its name is on.

Texts ​

From this section you configure the custom messages that will appear in the Webchat widget.

Available settings ​

  • Welcome: initial message that the visitor will see when opening the Webchat widget, before starting the conversation.
  • Agent not available: message that will be shown when there are no users logged in to attend interactions, or when the maximum number of interactions is exceeded.
  • After hours: message that will be shown when the campaign is out of business hours.
  • Feedback: message that will be shown when finishing the interaction, so customers can leave a message about the service received from the user.
  • Hold Time: message that will be shown to the visitor while they wait in the queue to be attended.
  • Add language: allows you to add translations of all these messages in different languages to support international visitors.

Code ​

From this section you obtain the JavaScript code necessary to integrate the Webchat on your website.

Available settings ​

  • Code: JavaScript code that you must copy and insert in the HTML of your website. You can copy it with the copy button. This code will load the Webchat widget. If you have any issues when doing this, you can contact our support team.
  • Download wordpress plugin: if your website is built with WordPress, you can download a plugin that facilitates Webchat integration without needing to edit code.

Appearance ​

From this section you can customize the visual appearance of the Webchat widget to match your brand identity.

Available settings ​

  • Color: main color of the widget (header, buttons, etc.). Select your brand's primary color.
  • Show agent name: if enabled, the name of the agent who is attending the interaction will appear visible to the visitor in the chat.
  • Show image in message: if enabled, an avatar or image will be shown next to each agent message.
  • Show agent image: if enabled, the profile photo of the user who attends the interaction is shown in the chat header and next to their messages.
  • Campaign image: if enabled, the image you upload replaces the user's photo in the chat header and next to their messages. When you check it, the Upload campaign image button appears. The image must be exactly 100x100 pixels.
Agent image or campaign image

Show agent image and Campaign image cannot be used at the same time: when you check one, the other one is hidden.

Try it ​

From the Try it section you can test the operation of the Webchat with the current configuration without needing to integrate it on your website. The section shows a preview of the widget with the current appearance.

How to test? ​

  • Open example: click this button to open a test window where you will see exactly how the Webchat widget will look for your visitors. You will be able to start a test conversation that will arrive at the Inbox like any interaction.

Important considerations ​

  • No connector required: Unlike other channels, Webchat does not require configuring external connectors. It is native to uContact and you only need to integrate the code on your website.
  • Simple integration: You only need to copy and paste the JavaScript code provided in the HTML of your website for the widget to work.
  • Complete customization: You can customize colors, messages, images and texts so the chat reflects your brand identity.
  • Multiple languages: Configure messages in different languages to support international visitors.
  • Secure domains: Use the "Allowed domains" configuration to prevent your widget from being used on unauthorized sites.
  • Tests before production: Use the Try it section before integrating the code on your website to make sure everything works correctly.
  • Simplified WordPress: If you use WordPress, the downloadable plugin facilitates integration without needing to edit code.

Frequently Asked Questions ​

Answers to the most common questions about this topic.