BEGIN

Install TNTT AI Chatbot

To display chat on your website, visit https://chatbot.tnnt.vn/account/?tab=installation and copy the embed code, then paste it into your web pages. Activate the app from Settings > Apps (Settings > Apps).

Optimal configuration

TNNT AI Chatbot is a powerful tool, but the richness of feature can pose a challenge when setting up quickly. To streamline the process, we provide a list of feature most commonly used that we recommend you set up. By combining all the feature With this, you will have access to the most essential and beneficial functions.

  • Enable email notifications from Settings > Notifications (Settings > Notifications). Make sure the following options are enabled: Agent email notification (Agent email notifications), Admin Audio > Incoming Chats and Messages (Sounds admin > Incoming conversations and messages), and Push Notifications (Push notifications). For more information about how notifications work, you can click come here.
  • Configure SMTP server in Settings > Notifications > SMTP (Settings > Notifications > SMTP). For more details, check the section email notification. In case you are using cloud version, SMTP is already enabled, but you may still want to use your own.
  • Navigate to Settings > Messages (Settings > Messages) and setup follow up message and offline messages.
  • Navigate to Settings > More > Optimize performance (Settings > Miscellaneous > Performance optimization) and turn off any feature which are not used.
  • In case you are using chatbot, be sure to check Optimal configuration here.
  • If you are having trouble syncing services like Google or WhatsApp, our team can help you by configuring them. For more information, please visit our page. hire us ours. By using the account your personal like Google or Facebook, you can enjoy free credits, free quotas and significantly lower costs than other chat services. Plus, you will have full control and transparency over your data and costs.

Having problems?

If you are having any problems, please contact our support team via the chat widget on the right side of this page.

Or contact via email: info@tnnt.vn

Block zoom on iOS devices

When using chat on iPhone, the text area will automatically zoom when the user starts typing a new message. To stop zooming, enter the code below into the area of all pages containing chat.

<meta name="viewport"
        content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no" />

Chat widget not showing

Chats may not be visible for the following reasons:

  • You may not see chat because you have disabled it in the settings area. To fix this, go to settings and uncheck all the options related to it: Chat > Manual Initialization (Chat > Manual initialization), Chat > Initialize Login (Chat > Login initialization), Chat > Hide chat outside of business hours (Chat > Hide chat outside of office hours),
  • Try disabling any performance or technical plugins like caching or JS optimization on your site as they may be causing the issue. Once disabled, test again.
  • Try disabling any CDN or Proxy (e.g. CloudFlare). Once disabled, check again.

Chats not visible to admins or support staff

Chats may not show up for the following reasons:

  • A support agent has been assigned a Department, but the conversations are not assigned to Department that specific
  • One or more of the following settings have been enabled: Other > Routing (Miscellaneous > Routing), Other > Queue (Miscellaneous > Queue), More > Hide other support staff chats (Miscellaneous > Hide conversations of other agents)
  • You are using chatbot and options Artificial Intelligence > Handover to Humans (Artificial Intelligence > Human takeover) has been activated.

Make sure to log in with account correct admin/support agent or check your admin/support agent profile to make sure there is no Department which is assigned.

CONVERSATION

Manage Conversations

Conversations have a total of four different states: mark as read (mark as read), storage (archive), erase (delete) and restore (restore). You can manage the status of a conversation by opening it in the conversation area and then clicking any of the corresponding icon buttons at the top right of the conversation window.

Search for conversation

You can search conversations by ID Department, Assigned agent ID, conversation title, conversation ID, message content, message attachment name, user first name, user last name, user email.

Information

  • When you empty trash can (trash), all conversations in the trash will be permanently deleted.
  • When a user sends a new message to an archived or deleted conversation, the conversation will be automatically restored and will appear in Inbox area (Inbox area).
  • Chats in the trash are automatically deleted after 30 days.
  • When a user is deleted, all chats and messages are also permanently deleted.
  • Support staff can delete their messages by opening the message menu and clicking Erase (Delete). The message menu will appear when you move your mouse pointer over the message.
  • The left chat list uses automatic pagination, limited to 100 results per scroll.

Automatic text and message editor features

The text editor of the admin area and automated messages (e.g. welcome and registration messages) can be used to create messages with the following format:

  • Link format — All text links are automatically converted to clickable hyperlinks. To name the link, add the following string to the URL: #sb-example. Replace example with your desired link name and spaces with --.
  • Text Formatting — The editor also supports text formatting syntax:
    • To make the text bold, surround it with *: *your text*.
    • To make the text italic, surround it with __: __your text__.
    • To make the text dash, surround it with ~: ~your text~.
    • To insert a one line code (single-line code), surround it with`: `your text`.
    • To insert a code block (code block), surround it with ```: ```your text```.
  • HTML and other coding languages — For security reasons, HTML, JavaScript (JS), or other coding languages are not allowed. However, you can use HTML code snippets by taking advantage of variety of messages customization (discussed below).
  • To insert a line break into a message, use the key combination SHIFT + ENTER or CTRL + ENTER.

Merge fields

Merge fields are strings that are replaced with external values when used. Merge fields can be used in any message or automated message, including messages chatbot.

Code Describe
{user_name} Full name of the active user.
{user_email} User's email is active.
{agent_name} Full name of active support staff.
{agent_email} Support staff email is active.

Rich Messages

Message variety are special messages that have feature interactive elements such as buttons, drop-down lists, or input fields. They allow support staff to request information from users through input forms or display interactive content. Message variety can be inserted into chat messages using shortcodes. Shortcodes accept various parameters such as title and description. The variety of messages currently available are listed below.

How it works:

1 - Create and send

Tin nhắn đa dạng

Create one variety of messages by inserting the shortcode into the text editor of the admin area. Customize all the parameters with your information and send the message.

2 - Message is displayed

Tin nhắn đa dạng

When a shortcode is used, the user will see variety of messages (not shortcode) and can select or enter the information required to complete the form submission.

3 - User feedback is sent

Tin nhắn đa dạng

After the form variety of messages Once the user has filled out and submitted, a success message is displayed and the form data is saved.

Message variety

Name Shortcode Describe
Card [card image="URL" header="TITLE" description="Lorem ipsum dolor sit amete" link="URL" link-text="Shop" extra="$599" target="_blank"] Call to action cards with images, titles, descriptions, links and more.
Slider [slider image-1="URL" header-1="TITLE" description-1="Lorem ipsum dolor sit amete" link-1="URL" link-text-1="Shop" extra-1="$599" image-2="URL" header-2="TITLE" description-2="Lorem ipsum dolor sit amete" link-2="URL" link-text-2="Buy" extra-2="$599" target="_blank"] Slide out call-to-action cards with images, titles, descriptions, links, and more. You can add up to 10 slides.
Slider image [slider-images images="URL,URL,URL"] Image slider.
Chip [chips options="A,B,C"] List of buttons.
Button [buttons options="A,B,C"] List of buttons.
Select [select options="A,B,C"] Drop down list of options.
Input [inputs values="A,B,C" button="Send now"] List of text input fields.
Email [email name="true" last-name="true" phone="true" phone-required="false" placeholder=""] Form to collect user email and phone number. All attributes are optional. Tracking settings are used as default values. Add attributes required-messaging-apps="true" to force users to provide their email and phone numbers on messaging apps. The merged cases supported
Timetable [timetable] Timetable.
Article [articles link="https://chatbot.tnnt.vn/articles-demo"] The article has a search area. Attributes link used as backup messages for Facebook Messenger, WhatsApp, Telegram messages.
List [list values="A,B,- C,- D,E" numeric="true"] Text list. Prefix an item with a character - to make it a sub-item.
Double List [list values="A:X,B:Y,C:Z"] List of text with titles.
List image [list-image values="URL:A,URL:B,URL:C"] Text list with title and image.
Board [table header="A,B,C" values="A:B:C,A:B:C,A:B:C"] Board.
Button [button link="https://chatbot.tnnt.vn" name="Click here" target="_blank" style="link"] Display a link or open an article. Attributes target="_blank" is optional and opens the link in a new window. Attributes style="link" is optional and changes the button design. To open an article on click, the link value must be #article-ID, replace ID with the post ID.
Video video type="youtube" id="0TImic4N1ko" height="350" Add 2 marks [ and ] at the beginning and end , Shows YouTube or Vimeo videos. Value of the attribute type could be youtube or vimeo. Attributes id is the video ID, taken from the URL. Attribute height is optional and sets the video height in px.
Image [image url="https://chatbot.tnnt.vn/media/admin.png"] Image.
Share [share fb="https://chatbot.tnnt.vn/" tw="https://chatbot.tnnt.vn/" li="https://chatbot.tnnt.vn/" pi="https://chatbot.tnnt.vn/" wa="https://chatbot.tnnt.vn/"] Social sharing buttons.

Special characters

If your text includes characters ,, :, or ", you must add the character \ before them. For example: \,, \:, \".

Global parameters

All the variety of messages All support the following parameters:

Parameters Describe
id="123" ID of variety of messages (also used to store JSON data).
title="ABC" Title variety of messages.
message="ABC" Describe variety of messages appears below the title.
success="ABC" Message appears when user completes and submits variety of messages. User input is added to this message.
settings="ABC" Additional fields for additional optional values.

Use diverse messages in chatbots

You must create one Dialogflow chatbot, then just enter the shortcode variety of messages enter text feedback (text response) belong to Intent (Intent).

Diverse message responses

When the user completes a variety of messages, the response data is saved in JSON format in the database under the table sb_messages and column payload. For example:

    {
        "rich-messages":{
            "4Voyu":{
                "type":"e-mail",
                "result":{
                    "e-mail":[
                        "example@email.com",
                        "Your email..."
                    ]
                }
            }
        }
    }

Multi-message translation

To translate a string variety of messages, document variety of messages The original must be in English, add the exact English text and its translations to Settings > Translations > User Interface (Setting > Translations > Front End).

Display rich messages when initiating chat

To display variety of messages, such as a list of buttons, when a user first starts a chat, insert the shortcode variety of messages enter Welcome message.

Customizable rich messaging

You can create variety of messages Customize with your own custom content by going to Settings > More (Settings > Miscellaneous). Currently, the variety of messages The customization is static and there are no interactive options available like with shortcodes. However, you can insert custom HTML code.

HTML Code

When creating variety of messages custom, you can use the following codes:

Code Describe
<a href="https://www.google.com" target="_blank" class="sb-rich-btn sb-btn">Click here</a> 
Link to button design.
<a href="https://www.google.com" target="_blank" class="sb-rich-btn sb-btn-text">Click here</a> 
Link.
<div class="sb-image"> src="https://via.placeholder.com/1500x600" class="sb-image" /></div> 
Image enlarges on click.

Preset messages

Preset messages are messages that have been pre-programmed and are sent by TNTT. AI Chatbot sent automatically. You can find them by going to Settings > Messages (Settings > Messages).

Welcome message

Send a message to new users when they visit your site for the first time.

Follow up message

If no support agent responds within the specified time, a message will be sent asking for the user's details, such as their email.

  • Text Formatting supported
  • The best case supported
  • You can send confirmation emails to users by filling in the fields Email follow up (Follow-up Email).
  • If delay (delay) If not set, a dynamic interval will be used and it is determined as follows: If Settings > More > Business Hours (Settings > Miscellaneous > Office hours) is configured, and the current time is within defined business hours, or if at least one support agent is online, the delay will be set to 15 seconds. In all other cases, the delay will be set to 5 seconds.
  • Follow-up messages are sent up to once every 24 hours.
  • If the user provides an email address and feature Newsletter is enabled, the email address will be registered.
  • Follow-up messages are only sent to users without an email address.
  • If feature transfer to real person belong to chatbot When enabled, tracking messages are only sent during handover to real people.

Evaluate

Display a feedback form to rate the conversation as it is archived.

  • Review messages are not compatible with messaging channels.
  • Ratings displayed in the right panel of the area conversation (conversations), in the report support staff review (agent ratings) of the area report (reports), and in the support staff profile.

Offline Messages

Notify users when their messages are sent outside scheduled business hours or all support staff are offline.

  • Text Formatting supported
  • The best case supported
  • To learn more about business hours options, please click come here.
  • Offline messages are sent to the same user a maximum of 1 time per hour.
  • By default, offline messages are also sent if all support staff are offline, even during business hours. To prevent this, enable the option Turn off support staff check (Disable agent check).
  • If feature transfer to real person belong to chatbot enabled, offline messages are only sent during handover to a real person.
  • If you or any other support staff are online using Slack, they will be considered as online support staff by TNTT AI Chatbot.

Private Message

Present a private message with Accept and Decline buttons. User consent by clicking the Accept button is required to start using the chat. Features This ensures privacy policy enforcement and GDPR compliance.

  • Private messages not displayed if option Settings > Users > Require Registration (Settings > Users > Require registration) is enabled.
  • Private messages are also sent to messaging channels like WhatsApp, but users do not have the option to accept or reject the privacy policy. Messaging functions are also not blocked. Messages are sent after the user initiates the conversation by sending their first message.

Pop-up message

Show popup message to all users.

  • The popup message remains visible until the user manually closes it; then it remains closed.

Attachments

Here you can access information regarding file uploads and message attachments.

  • The following image formats are displayed automatically: .jpg, .jpeg, .png.
  • Allowed attachment extensions are set in the file include/upload.php.
  • Add new allowed file extensions by adding code define("SB_FILE_EXTENSIONS", ["exe", "abc",...]) into file config.php of the TNT installation directory AI Chatbot yours. Replace ["exe", "abc",...] with an array containing the extensions you want to allow.
  • For instructions on sending attachments using chatbot, click come here.

Information

Here you can access information related to many feature related to conversations.

Card

Tags allow for more efficient organization and grouping of conversations. Please refer to the information below for more details.

  • You can manage the cards from Settings > Administration > Tags (Settings > Admin > Tags).
  • Tags can be assigned to conversations through different methods: through the admin area by navigating to Settings > Automation > More (Settings > Automations > More), through Dialogflow Action, and by inserting JS variables SB_DEFAULT_TAGS go to a page that shows chat or go to a website that shows chat or a ticket board.
  • To locate conversations with specific tags, simply type the tag name into the search bar located in the upper left corner of the admin chat area, or you can select the desired tag from the dedicated filter menu in the upper left. Tag filters are only displayed if at least one tag is assigned to a conversation.
  • Select options Starred Cards (Starred tag) to display the starred tag icon in the conversation area. This allows you to select which conversations are assigned to the first tag with a single click. The first tag on top is always the starred tag.
  • You can disable magnetic cards. Settings > Administration > Disable Card (Settings > Admin > Disable tags).

Note

Notes allow users to add comments to conversations that can only be viewed by support staff and administrators.

  • If you are using OpenAI, we recommend enabling the option collect notes data (note data scraping).

Conversation Transcript

The entire conversation can be sent to the user as a transcript file by the support agent or administrator.

  • Support staff and administrators can send chat transcripts to users by clicking the button Record sheet (Transcript) in the upper right corner of the admin chat window.
  • Support agents and administrators can automatically send transcripts to users when a conversation is archived using closed message (close message) available at Settings > Messages & Forms > Close Messages (Settings > Messages & Forms > Close message).
  • The log sheet can only be sent to a user if the user has an email address.
  • If the conversation has been translated, the transcript will also include the translated messages.

Other

  • Date and time formats are automatically detected based on your browser's language settings.
USER

User Management

User Management from User Area (Users area) in the left menu of the admin area.

Enter user

You can import users from Settings > Users > Import users (Settings > Users > Import users). Only CSV files are supported. You can download an example CSV file here. In the example file, the first row is the header and the columns Height (Height) and Hair color (Hair color) are custom user fields added from Settings > Users > Custom Fields (Settings > Users > Custom fields).

Search Users

You can search for users by first name, last name, email, and custom fields.

Delete user

You can delete a user by opening User edit box (User edit box) and then click Delete user (Delete user). To delete multiple users at once, select the users you want to delete from the Users table and then click Delete icon (Delete icon) in the upper right corner.

  • When a user is deleted, all of their chats and messages are automatically and permanently deleted.
  • Conversation attachments will be permanently deleted. If AWS S3 is enabled, AWS S3 files will also be deleted.
  • If a deleted user returns to the site, a new user will be automatically created.
  • Visitors are automatically deleted every 24 hours.

Additional columns in the user table

To display additional columns in the user table, go to Settings > Administration > Additional columns of user table (Settings > Admin > Users table additional columns) and add new columns. The value of each column is the slug of the user detail or additional user details you want to display. The slug is lowercase and spaces are replaced with characters -For example, the slug of the additional user detail "Date of Birth" is "date-of-birth".

User Type

Type Describe
user "User" is any user with an email.
lead A "lead" is any user without user details, who is automatically registered and has at least one conversation.
visitor "Visitors" are any users who have not initiated a conversation. Note: Visitors are automatically deleted every 24 hours.

Manage support staff and administrators

Manage, create and delete support staff and administrators from User Area (Users area).

  • Configure support agent privileges and permissions from Settings > Administration > Support Agent Privileges (Settings > Admin > Agent privileges).
  • You can create a supervisor from Settings > Administration > Supervisors (Settings > Admin > Supervisor). A supervisor is a special support staff with specific privileges, they must be an administrator. You can add multiple supervisors by adding administrator IDs separated by commas.
  • To create a support agent or administrator, visit the area user (users) and click the button Add user (Add user) on the top right.
  • Only support staff and administrators can log in to the TNTT admin area. AI Chatbot.

Collect user details

You can collect user details, such as their name and email, through a variety of methods:

Register

A registration form is a pre-chat form that requires users to enter specific information before starting a chat.

  • You can use the registration form as a pre-chat form by limiting the information required from the user to just an email address or username, for example.
  • The login form is only visible if the email field is enabled.
  • You can automatically log users in via URL parameters (URL parameters).

Information

Other

  • New users are automatically displayed in the user table in real time.
  • To see online users, turn on Settings > Users > Register all visitors (Settings > Users > Register all visitors).
  • If you are using cloud version (cloud version), this setting will be automatically enabled and Settings > Users > Register all visitors (Settings > Users > Register all visitors) (enabled by default). Features This includes all user types, including visitors and leads. Notifications are sent only once per user within a 24-hour period.
  • Support staff and admins can set their status to online or offline from the profile panel on the bottom left. If desired Settings > Notifications > Away Mode (Settings > Notifications > Away mode) enabled, offline status will be automatically activated when the support staff or administrator is inactive in the admin area for at least 10 minutes. Inactivity is defined as not making any clicks, mouse movements, or keystrokes. Features Automatic offline status is not enabled on mobile devices. To feature This works correctly, Pusher should be enabled.
  • The user table uses automatic pagination, limited to 100 results per scroll.

Assign a support agent to a chat

You can assign a support agent to a chat in several ways:

  • Via feature set Q&A data (Q&A set data).
  • Via feature stream action (flows actions).
  • Through the feature queue or routing (queue or routing).
  • By enabling the option Settings > Chat > Agent Menu (Settings > Chat > Agents menu). In this case, the user will be asked to select a support agent before starting a new chat.
  • Via Settings > Automation > More (Settings > Automations > More).
SETTINGS

Settings

Working hours

You can set working hours from Settings > More > Business Hours (Settings > Miscellaneous > Office hours). Working hours are used for:

  • Send offline messages (offline message).
  • Disable and hide chat during non-business hours.
  • Disable chatbot during regular business hours and activate it during off-hours.

More information

  • Blank values in the schedule settings are considered non-business hours. Note that you must set CLOSE (CLOSED) If you want to book all day is after business hours.
  • Business hours are in UTC format. Your UTC is automatically generated when you click on the field Settings > More > UTF Offset (Settings > Miscellaneous > UTF offset). Leave it blank, then click the blank field, and the correct value will be generated. Only integers are accepted. If your offset is not an integer (e.g. UTC -12:30 or UTC -12:45), try searching for an alternative UTC offset. If you cannot find an integer offset, you will need to manually adjust the time in the business hours table to correct the difference.
  • The date and time format of the timetable automatically matches the format used in the country of the user's browser language.

Article

Knowledge base articles provide instant answers to customers to help reduce customer support volume. You can access articles from the TNTT menu AI Chatbot left.

How to display the article area

  • Posts can be displayed in the chat panel by enabling them from Settings > Posts > Show in Dashboard (Settings > Articles > Display in dashboard).
  • Additionally, posts can be shared in any chat via multimedia message shortcodes, [articles].

More information

  • If you use categories, all posts must be assigned to a category.
  • If at least one post is translated into the user's language, only the translated posts will be displayed. Otherwise, all posts will be displayed in the original language.
  • Force post pages to display in a specific language by adding URL parameters lang=LANGUAGE-CODE (lang=LANGUAGE-CODE). Replace LANGUAGE CODE (LANGUAGE-CODE) by two-letter language code.
  • If feature Multilingual through translation enabled, posts and their categories will be translated automatically.
  • Articles are automatically synchronized with the Dialogflow knowledge base if the Artificial Intelligence application is installed.
  • You can create an internal chat link to a post using rich message button (Rich Message).
  • You can create a link to a specific article using the URL attribute. article=ID , replace IDby post ID. For example: https://chatbot.tnnt.vn/articles-demo?article=Ucsx6.
  • You can create a link to a post category using the URL attribute. category=ID , replace ID by category ID. For example: https://chatbot.tnnt.vn/articles-demo?category=LnNaZ.
  • Articles are always included in the training process of OpenAI chatbot your.
  • If some blocks are not saved, for example text blocks, disable all browser extensions and try again.
  • To hide the chat widget, insert the following code into your post page: var SB_DISABLED = true; .

Language and translation

TNNT AI Chatbot Fully multilingual support and provides feature powerful to detect user language instantly.

Edit translation

To edit the language of both chat and admin, go to Settings > Translations (Settings > Translations). Some settings, like email content, can be translated directly and therefore do not need to be translated here.

Conversation language

TNNT AI Chatbot has been translated into 41 languages. There are several options to set the language:

  • OPTION 1 Enter Settings > Chat (Settings > Chat) and check options Language (Language). Set to multilingual (multilingual) to automatically use the user's browser chat language or the language saved in the user profile.
  • OPTION 2 Add URL parameters lang=LANGUAGE-CODE (lang=LANGUAGE-CODE) In the chat loading script, replace "LANGUAGE-CODE" with the two-letter language code you want to display. For example: https://chatbot.tnnt.vn/js/main.js?lang=es (https://chatbot.tnnt.vn/js/main.js?lang=es) or https://chatbot.tnnt.vn/account/js/init.js?id=123456&lang=es (https://chatbot.tnnt.vn/account/js/init.js?id=123456&lang=es) give cloud version. Features This will force the chat to always use the same language and preferences. Settings > Chat > Language (Settings > Chat > Language) will be ignored. Enter wikipedia.org/wiki/List_of_ISO_639-1_codes for a complete list of language codes (see column 639-1). For Traditional Chinese, use zt (zt), for Simplified Chinese, use zh (zh), for Brazilian Portuguese, use pt (pt).

Administrative language

To translate the admin area, follow the steps below:

  • Translate texts into your language from Settings > Translations (Settings > Translations).

To set the admin area language:

  • Enable option Settings > Administration > Auto translate admin area (Settings > Admin > Automatically translate admin area). Features This automatically translates the admin area to match the employee's profile language or the employee's browser language.

Translate custom content

You can translate almost any custom content like Rich Messages, integrated messaging, Department, chat titles, and more. To add a new translation, follow the steps below:

  • Enter Settings > Translations (Settings > Translations) and click New translation (New translation).
  • Enter the English text you want to translate into the first field. The original text must be in English. If the original text has line breaks, replace them with the code n .
  • Enter the corresponding translation in the second field. To add line breaks, use the code n .
  • If you have an AI application, you can also translate all content into any language automatically through feature Multilingual through translation.

Add new language

To add a new language, follow the steps below:

  • Enter Settings > Translations (Settings > Translations) and the new language will appear automatically.

To add a new language to the admin area, follow the same steps, but use the admin replacement. New languages will not be lost or deleted when updated.

Information

  • If a translation string is missing, add it by clicking the button Add new translation (Add new translation).
  • If a translated string doesn't work, make sure to remove all whitespace and line breaks at the beginning and end of the string.
  • Translation edits are not saved in the database but directly in the translation files. When a translation is edited and saved, a backup is created in the uploads. The backup is automatically restored when the plugin is updated and activated.
  • Some special characters like & (&) replaced with the equivalent HTML code (see https://www.w3schools.com/html/html_entities.asp). For example: & (&) is replaced by & (&).

Departments

Departments give you the ability to distribute conversations and assign specific employees to separate departments. For example, you can create a Department named "Sales" and assign specific conversations to Department there. To start using Department, follow the steps below:

  • Enter Settings > Miscellaneous (Settings > Miscellaneous) and add, delete or manage the Department. After saving, reload the page.
  • Enter Users > Employees (Users > Agents) and edit an employee, you will see a new field where you can set Department of staff
  • Reload the page and you're done! In Chat area (Conversations area), you will see an option to set up departments.

Setting

  • Display on dashboard (Display in dashboard) Show list Department in the chat panel and force the user to choose one Department before starting the conversation.
  • Show image (Display images) Show image Department instead of department colors.
  • Show in conversation list (Display in conversation list) Display color Department in the admin area chat list.
  • One conversation per Department (One conversation per department) Restrict users from opening multiple conversations in the same Department, only allow one active chat at a time Department.
  • Label (Label) Replace label Departments (Departments) (plural) in other text. This name is displayed in the admin area and tickets.
  • Single label (Label single) Replace label Departments (Department) (singular) in other text. This name is displayed in the admin area and tickets.
  • Dashboard Title (Dashboard title) Set the title of the chat panel list. Default: Department.

How it works

How to assign departments to a conversation

You can assign a Department for a conversation in many ways:

  • Through feature Set up Q&A data.
  • Through feature Stream Action.
  • Through Settings > Miscellaneous > Department Settings > Show on Dashboard (Settings > Miscellaneous > Departments settings > Display in dashboard). In this case, the user will have to choose one Department before starting a new conversation.
  • Through Settings > Automation > More (Settings > Automations > More).

Queuing and routing

When the queue is activated via Settings > Miscellaneous > Queue (Settings > Miscellaneous > Queue), or routing is enabled via Settings > Miscellaneous > Routing (Settings > Miscellaneous > Routing), TNTT AI Chatbot Automatically assign user chats to all available agents in a balanced manner.

  • Only agents who are online are counted as “available” agents and will receive new chats. Chats are assigned proportionally among all agents online. If no agents are online, the chat will not be assigned and will be automatically assigned to the first agent online.
  • Admins don't count; admins always see all chats.
  • Agents must archive a conversation to mark it as completed; this will automatically give them access to the next conversation in the queue. A conversation is considered active if it has not been deleted or archived.
  • Employees can toggle their status between online and offline by hovering over their profile image and then clicking the profile popup label in the lower left corner of the admin area.
  • Employees can only search and filter their own conversations.
  • Employees can only see their own chats; however, they can see all chats of a particular user.
  • To allow employees to view all unassigned conversations, enable Settings > Miscellaneous > Hide other employees' conversations (Settings > Miscellaneous > Hide conversations of other agents) and View unassigned conversations (View unassigned conversations).
  • Queuing and routing are compatible with Department.
  • If Human Takeover is enabled, queues or routing is only enabled on human takeover.

More Info - Queue Only

When the queue is enabled, users automatically enter the queue when the chat limit of an agent is reached. When a user enters the queue, a message showing the current position in the queue and estimated wait time will be displayed. TNTT AI Chatbot Automatically assigns chats to all available agents in a balanced manner. When an agent marks a chat as complete (by archiving it), the queue is updated and a new chat is accepted.

  • If a user is in the queue and leaves (e.g. by closing the browser) for more than 1 minute, the conversation is saved; however, when the user returns, the queue is reset and the user loses their previous position. If the user leaves, the conversation remains unassigned and therefore is not visible to staff, but only to administrators.
  • You can use the following merge scenarios in a message queue: {position} ({position}), {minutes} ({minutes}). They will be replaced with actual values in real time.
  • Wait times are displayed in minutes and are calculated as follows: queue position X response time = wait time. For example, if a user is 5th in the queue and the response time is set to 4 minutes (via Settings > Miscellaneous > Queues), then the total wait time displayed to the user will be 20 minutes.
  • When the sound option is enabled, a sound will be played when it is the user's turn.
  • For chats initiated from messaging apps like WhatsApp, where the chat limit per employee cannot be met, all chats will be immediately and proportionally assigned to an online employee. If no employee is online, the chat will not be assigned and will be automatically assigned to the first employee online.
  • Use offline messages to prevent chat from showing queue update messages to users.

To check the queue, follow the steps below:

  • To simulate multiple users and agents, open the chat in multiple browsers (e.g. Opera, Firefox, Brave, Chrome, etc.). Each browser can simulate two users/agents: one in normal mode and one in "private" or "incognito" mode.
  • To reset the chat and start a new user session, open the browser console, type SBF.reset() , and press ENTER .

More Info - Route Assignment

When routing is enabled, TNTT AI Chatbot Automatically assign user chats to all available agents in a balanced manner.

  • If optional Routing > Turn off online status check (Routing > Disable online status check) enabled, chats are distributed evenly among all employees, regardless of whether they are online or offline.
  • When an agent comes back online after being offline, all unassigned chats are automatically assigned to them.
  • When routing is enabled, agents can manually route chats to other agents from the right panel of the chat area.
  • If the conversation is archived and the user reopens it in the future by sending a new message, if the agent assigned to the conversation is offline, the conversation will be assigned to another agent.

Manual routing

When routing is enabled via Settings > Miscellaneous > Hide other employees' conversations (Settings > Miscellaneous > Hide conversation of other agents), employees only see their own conversations and can select unassigned conversations.

  • Staff Menu (Agents menu): display the agent menu to assign the active chat to another agent.
  • Route if offline (Routing if offline): if the conversation is archived and the user reopens it in the future by sending a new message, if the agent assigned to the conversation is offline, the conversation will be assigned to another online agent if there is at least one agent online, otherwise it will not be assigned to any agent.
  • View unassigned conversations (View unassigned conversations): allows employees to view unassigned conversations, when an employee replies, the conversation is automatically assigned to them and the conversation is removed in real time from the admin area of other employees. Enable this option to enable manual routing.

Email Forwarding

Email forwarding allows you, your employees, and users to respond to chat messages via email.

Activate

  • Enter Settings > Notifications > Email Forwarding (Settings > Notifications > Email piping) and enter your POP3/IMAP email server information.
  • Enter Settings > Notifications > SMTP (Settings > Notifications > SMTP) and enter your SMTP email server information. The email address must be the address that the email relay server connects to. TNTT AI Chatbot will send all emails from this email address and you, your employees, and users will reply to this email address. For more details, see email notification.

Information

  • Email address of Settings > Notifications > SMTP > Sender Email (Settings > Notifications > SMTP > Email Sender) must match the address used by the email relay server.
  • Settings Notifications > User email notifications (Notifications > User email notifications) and Notifications > Employee email notifications (Notifications > Agent email notifications) is automatically triggered when email forwarding is enabled. When an employee replies in TNTT AI Chatbot, emails are always sent to users.
  • If you are using the Artificial Intelligence application and installed Settings > Artificial Intelligence > Human Takeover (Settings > Artificial Intelligence > Human takeover) is enabled, no email will be sent if chatbot know the answer.
  • If optional Convert all emails (Convert all emails) enabled:
    • All emails sent to your inbox will be converted to chat messages, note that all emails, including spam, promotional emails and more will also be incorrectly converted.
    • Emails sent by staff and admin email addresses will be ignored, please use another email address for testing.
    • Each email sent directly to the email forwarding address will create a new user conversation.
  • You cannot use the same email address used for email forwarding to reply. All TNTT staff and administrators AI Chatbot must use a different email address.
  • Staff must reply via email from the same email address registered in TNTT AI Chatbot.
  • Emails are only sent to employees if they are offline. If they are online, no emails are sent.
  • For Google Gmail and Google Workspace email, you'll need to replace your Google password with a Google app password, as detailed here. https://support.google.com/accounts/answer/185833 (Create & Use App Passwords section). Enter imap.gmail.com (imap.gmail.com) server and 993 (993) as a gateway. You'll also need to allow Gmail access to less secure apps, which you can do from https://myaccount.google.com/lesssecureapps. If you're using Google Workspace with a custom domain, check Admin Console > Security > Data Access & Control > API Control > Application Access Control (Admin Console > Security > Access and data control > API Controls > App access control). Ensure SMTP access is not restricted to third-party applications.
  • Forward module request email php5-imap (php5-imap). If this module is not installed on your server, you can install it with the command apt-get install php5-imap (apt-get install php5-imap). If you have any problems, please contact with your server/hosting support.
  • Options Separation (Delimiter) add a text at the top of all emails:
    ### Please enter your answer above this line ###
    This document requires TNTT. AI Chatbot deletes all content below it and is useful for cutting out all quote replies. Enable it if you see duplicate messages in chat. If this option is enabled, you and your users cannot use the thread ### (### ) in email.
  • Email attachments are supported.
  • For email forwarding to work, reply emails must contain the recipient name of TNTT. AI Chatbot. For example: TNNT AI Chatbot | SB2457-4734 (example@email.com) . All major email clients like Outlook Web, Outlook, Gmail, Yahoo Mail, support recipient names by default via the reply or reply all button of chatbot.
  • Due to the nature of how email works, each email client uses its own codes, separators, and auto-sequences, etc. For this reason, some chat messages converted from emails may contain invalid text. We are working to optimize as many email clients as possible, currently the following email clients are optimized and should not return any invalid text: Outlook Web, Outlook, Gmail, Yahoo Mail.
  • Forward support email Department, if the user's conversation is assigned to a Department, email notifications are sent only to employees assigned to the Department there.
  • If the email includes the attribute reply-to , it will be used as the user's primary email address and notifications will be sent to that address.
  • Options Filter (Filters) allows you to filter emails that are converted to chat messages. Add keywords separated by commas. If the email body, subject, or sender contains one of the keywords, the email will not be converted to chat.

Direct Message

Direct Messages allow you to send a single chat, email, or text message to one or more users. Read below to understand how it works.

  • To send a message, go to the area User (Users) and click on the direct message icon. Direct message buttons are also available in the user's profile box.
  • To send a message to all users, enter All (All) go to school User ID (User IDs).
  • To send a message to a group of users, enter their IDs in the field. User ID (User IDs). You can check the user and then click the direct message icon to enter the ID automatically.
  • All types of messages supported case of merger.

Live chat messages

  • Chat messages are sent to the active chat, if any, otherwise to a new chat.
  • If optional Settings > Notifications > User email notifications (Settings > Notifications > User email notifications) enabled, all users with email will be notified by email.
  • If optional Settings > Notifications > Text Message Notifications > Enable for user (Settings > Notifications > Text message notifications > Active for users) is enabled, all users with the phone number will be notified via text message.
  • If optional Settings > Notifications > Push Notifications (Settings > Notifications > Push notifications) is enabled, a push notification will be sent to all users.
  • Messages are also sent to messaging apps like WhatsApp and Messenger if the user is connected to them.
  • To send a message to all users of a single messaging app, enter one of the following strings: whatsapp, messenger , Instagram , telegram , Twitter , Zalo , WeChat , Viber , line. Enter tickets to send messages only to users who have created TNTT tickets AI Chatbot via the Tickets app.

Direct Email

  • Email subject and email signature are automatically included in all emails, set them up from Settings > Notifications (Settings > Notifications).
  • HTML languages supported.
  • Theme supports merge cases.

Direct text message

  • To enable direct text messaging, you must enable SMS in Settings > Notifications > Text Message Notifications (Settings > Notifications > Text message notifications).

WhatsApp Direct Message Templates

  • For more details, click here.

Automation

Automation allows multilingual automated tasks to run when conditions you set are met.

  • To delete a condition, set it to blank. To turn off an automation, clear all conditions.
  • Automations are sent only once to the user.
  • If you have used an automation in the past and the user has received it, you need to delete that automation and create a new one to show it to the user again.
  • Repeat (Repeat) Only works if used in conjunction with date and time (date time).
  • When date and time (date time) used in conjunction with criteria exactly (is exactly), the value cannot contain hours and minutes (hh:mm). For example: 10/25/2021 (10/25/2021 10:30 will not work).
  • Options Settings > Users > Register all visitors (Settings > Users > Register all visitors) must be enabled if there are message automations that are executed on page load.
  • City (City), nation (countries), language (languages) works automatically only if both settings are set Settings > Users > Register all visitors (Settings > Users > Register all visitors) and Settings > Users > Full Visitor Details (Settings > Users > Full visitor details) is activated.
  • City (Cities) only works if user details location (location) is set and equal city, country (city, country), or if the user details city (city) is set.
  • Nation (Countries) only works if user details country code (country_code), or nation (country) is set, or if user details location (location) is set and equal city, country (city, country). Country name must be in English.
  • Language (languages) only works if user details browser language (browser_language), or language (language) is set.
  • A visitor is Returning visitors (Returning visitor) only if they visit the site again after 24 hours or more.
  • Pop-ups only appear if the chat is closed, and they override the default pop-up. You can choose the option backup message (message fallback) to send a message instead of showing a popup if the chat is open.
  • You may need to activate Settings > Users > Register all visitors (Settings > Users > Register all visitors) if you want to send automatic messages to new users.
  • Chat messages and pop-up backup messages are only sent if the last message from the user or staff of the chat is more than 10 minutes old. Features This prevents unwanted automated messages from being sent in chats between employees and users.
  • Condition Custom variables (Custom variable) Check JavaScript variables for given names and values. For example, condition example=ABC is met if the chat page has this JavaScript code: var example = "ABC"; (var example = "ABC";). Add multiple variables separated by commas.
  • Automation is not compatible with messaging apps like WhatsApp, Messenger, Instagram, Telegram, Twitter, Zalo, WeChat, Viber, Line.

Newsletter (Newsletter)

Follow the steps below to complete the synchronization with your newsletter service. Users are registered in the following cases: registration form, follow up message, registration message, email short code.

Mailchimp

Brevo

SendGrid

  • To get Lock , enter https://app.sendgrid.com/settings/api_keys.
  • To get List ID (List ID), go to SendGrid and click Marketing > Contact (Marketing > Contacts) (https://mc.sendgrid.com/contacts), then click a list, or create a new list. The last part of the URL is the list ID. For example: https://mc.sendgrid.com/contacts/lists/8558c1e7-3c99-4428-a68f-78df2e437f8e (the list ID is 8558c1e7-3c99-4428-a68f-78df2e437f8e).

Elastic Email

  • To get Lock Go to Elastic Email, then click Setting (Settings) from the profile menu in the upper right corner. Click Generate additional API keys (Create Additional API key) (https://elasticemail.com/account#/settings/new/create-api), name and select Plugin (Plugin) or Full access (Full access), or Customize (Custom) and ensure rights Contact (Contacts) is set to View & Edit (View & Modify).
  • List ID (List ID) is the list name. Important! The name of an existing list or segment cannot contain any spaces.

Campaign Monitor

  • To get Lock, go to Campaign Monitor, then click Setting account (Account settings) from the profile menu in the upper right corner. Click API Key > Generate API Key (API keys > Generate API key).
  • To get List ID (List ID), go to Campaign Monitor, then click Lists and subscribers (List and subscribers) from the top menu. Select a list and then click Setting (Settings) from the left menu and copy List API ID (List API ID).

HubSpot

  • To get Lock , go to HubSpot, then go to Settings > Integrations > Private Apps (Settings > Integrations > Private apps) and create a new application.
  • Enter application name (app name), then open the tab Scope (Scope) and add the following ranges: crm.lists.write (crm.lists.list), crm.lists.read (crm.lists.read), crm.objects.contacts.read (crm.objects.contacts.read), crm.objects.contacts.list (crm.objects.contacts.list).
  • Click Create an application (Create app) and copy the token. Paste the token into the field Lock (Key) of TNTT AI Chatbot.
  • To get List ID (List ID), go to HubSpot, then grab it from Contact > Listings > Listing Details (Contacts > List > List details).

Moosend

  • To get Lock , go to Moosend, then click Settings > API Keys (Settings > API key).
  • To get List ID (List ID), go to Moosend, then get it13 from Audience > Email List (Audience > Email lists).

GetResponse

  • To get List ID (List ID), go to GetResponse, then get it from Lists > Your Lists > Settings (Lists > Your list > Settings) (https://app.getresponse.com/lists). Copy the value List code (List tokens).
  • To get Lock (Key), access https://app.getresponse.com/api.

ConvertKit

  • To get Lock , go to ConvertKit, then get it from Settings > Advanced > API Secret (Settings > Advanced > API secret).
  • To get List ID (List ID), go to ConvertKit, then get it from Growth > Landing Pages & Forms (Grow > Landing Pages & Forms). Open your form and copy the numeric part of the URL. For example, the form ID with the URL https://app.convertkit.com/forms/designers/3003412/edit (https://app.convertkit.com/forms/designers/3003412/edit) To be 3003412 (3003412).

ActiveCampaign

  • To get Lock , go to ActiveCampaign, then get it from Account Settings > Developer (Account settings > Developer).
  • To get List ID (List ID), go to ActiveCampaign, then get it from Left Menu > List (Left menu > Lists) or Left Menu > Contact > List (Left menu > Contacts > Lists). Open your list and copy the list ID in the URL. For example: list ID with URL https://tnnt.activehosted.com/app/contacts/?listid=1&status=1 (https://tnnt.activehosted.com/app/contacts/?listid=1&status=1) To be 1 (1). The list ID must be in the format: domain:ID-list (domain:list-ID). Domain Name (domain) is the first part of your dashboard URL. For example, your domain name https://tnnt.activehosted.com/ To be tnnt and the final value to enter into TNTT AI Chatbot To be tnnt:1 .

MailerLite

  • To get Lock , go to MailerLite, then get from Left Menu > Integrations > MailerLite API (Left menu > Integrations > MailerLite API).
  • To get List ID (List ID), go to MailerLite, then get from Left Menu > Subscribers > Groups (Left menu > Subscribers > Groups). View a group and copy the Group ID from the URL (eg: ....group=18783408688903967... ).

Mailjet

  • To get Lock , access https://app.mailjet.com/account/apikeys, or go to Mailjet, then get from Account Settings > Settings account (Account settings > Account settings).
  • To get List ID (List ID), go to MailerLite, then get from Contacts > Contacts > Your Lists (Contacts > Contacts lists > Your list). Get the list ID by clicking on the icon ? (?) next to the list email, for example: 1202546.

Sendy

  • To get Lock , go to Sendy settings area and copy the API KEY.
  • To get List ID (List ID), enter your brand, then click View all lists (View all lists) and copy the list ID. The list ID setting must also include Sendy's full URL. Enter the URL plus the list ID separated by a | (|), for example: https://example.com|TDf6o892Mx11VXGC51ui567u.

SendFox

  • To get Lock , go to SendFox, then get from Settings > API > Personal Access Tokens (Settings > API > Personal Access Tokens).
  • To get List ID (List ID), go to SendFox, then get from Object > List (Audience > Lists). Open a list and copy the ID from the URL (e.g. the list ID of the URL https://sendfox.com/dashboard/lists/489151/contacts (https://sendfox.com/dashboard/lists/489151/contacts) To be 489151 (489151)).

Amazon Web Services

Amazon S3

Upload attachments to your Amazon S3 storage instead of the server where TNTT AI Chatbot installed. Follow the steps below to set it up.

  • Sign in to AWS as the root user from https://aws.amazon.com/.
  • Go to dashboard IAM (IAM) and click Left menu > Access management > Users (Left menu > Access management > Users).
  • Click Add new user (Add new user), enter your username and continue.
  • Select Add user to group (Add user to group) and in the section User Group (User groups) below, click Create a group (Create group). In Rights policy (Permissions policies), search AmazonS3FullAccess (AmazonS3FullAccess) and select it. Click Create user group (Create user group).
  • Assign the new group to the user you are creating and continue, then click Create user (Create user).
  • Select the newly created user and open the tab Security Information (Security credentials).
  • In the area Access Key (Access keys), click Generate access key (Create access key) and select Applications running outside of AWS (Application running outside AWS). Continue until you get the keys and save them to TNTT AI Chatbot > Settings > Miscellaneous > Amazon S3 (TNNT AI Chatbot > Settings > Miscellaneous > Amazon S3).
  • Access the dashboard Amazon S3 (Amazon S3) and click Create memory (Create bucket).
  • Name the memory and region you want. Save the region and name to TNTT AI Chatbot > Settings > Miscellaneous > Amazon S3 (TNNT AI Chatbot > Settings > Miscellaneous > Amazon S3). Select ACLs are enabled (ACLs enabled) and Memory owner has priority (Bucket owner preferred). Uncheck Block all public access (Block all public access) and all relevant checkboxes.
  • Click Create memory (Create bucket).
  • Features This is technical and not mandatory. Support does not include any assistance related to feature This.
  • Note that it can take up to 24 hours for a newly created storage to become active. If you just created an S3 storage and it doesn't work, wait 24 hours and try again.

Other settings

Saved Reply

Saved replies, also known as canned messages, are a collection of pre-written messages that employees can quickly access and use in the chat editor. Manage them from Settings > Administration > Saved Replies (Settings > Admin > Saved replies).

  • Saved replies can be printed by entering # (#) followed by saved reply name (saved reply name), plus one space (space).
  • The saved reply popup can be opened by typing ## (##).
  • Use n (n) to line break.
  • If you are using chatbot Dialogflow, searching in the saved answer table will include results from Dialogflow Intents.
  • You have the option to add all Dialogflow Intents to the saved replies list using the option at Settings > Artificial Intelligence > Google > Add Intent to saved replies (Settings > Artificial Intelligence > Google > Add Intents to saved replies).
NOTIFICATION

Notification

To understand how notifications work and when they are sent, read the information below. If you think notifications are not working, you may be checking them incorrectly, please read the information below before asking for support.

Email Notification

Both employees and users can receive email notifications when new messages are received.

Email notifications for administrators and staff

  • When a user sends the first message, if the conversation is assigned to a Department, emails are sent only to employees assigned to Department That is, if the chat is assigned to a specific employee, the email is sent only to that employee, otherwise the email is sent to all employees who are not online at that time. Subsequent emails are sent only to the last employee in the chat.
  • Email notifications are only sent if the last agent in the conversation is offline.
  • If you are using Artificial Intelligence application and Settings > Artificial Intelligence > Human Takeover (Settings > Artificial Intelligence > Human takeover) is enabled, no email will be sent if chatbot know the answer.
  • To prevent administrators from receiving email notifications, check Settings > Notifications > Do not send email notifications to administrators (Settings > Notifications > Do not send email notifications to admins).

Email notification to users

  • When an employee sends a message to a user, the email is only sent to the user if the user is offline.
  • Only 1 email is sent. Subsequent messages will not trigger a new email alert.

Create email

To manage email and create content, go to Settings > Notifications (Settings > Notifications). You can use text and HTML. New lines are automatically converted to <br /> . You can use the following merge cases in emails. The merge cases are automatically replaced with updated information.

Merge case Describe
{recipient_name} Name of the user or employee receiving the email.
{sender_name} The name of the user or employee who sent the message that triggered the email notification.
{sender_profile_image} The profile image of the user or employee who sent the message that triggered the email notification.
{message} Links to any attachments that are part of the message trigger email notifications.
{attachments} Email attachment.
{conversation_link} A link to open the chat in the admin area. This merge case is only available to employee emails.
{conversation_id} Conversation ID.

Cron Job

You can run the following cron job to send email notifications to both users and employees, in which case you also need to select Settings > Notifications > Email notification via cron job (Settings > Notifications > Email notifications via cron job). Sending emails via cron jobs will improve your email notifications: they will include the entire conversation and will only be sent once.

  • If you are using cloud version, use this URL: https://chatbot.tnnt.vn/script/include/api.php?email-notifications=true&cloud=API-TOKEN (https://chatbot.tnnt.vn/script/include/api.php?email-notifications=true&cloud=API-TOKEN) and replace API-TOKEN (API-TOKEN) equal API code your.
  • Our support does not include support for feature this, as it is for advanced users and is related to your server. For help with feature hey you can hire us.

Problem?

You can check feature email by sending email from Settings > Notifications > Send email notifications to employees (Settings > Notifications > Send an agent email notification)Emails may not be delivered for a number of reasons; here are the most common reasons:

Reason Describe Solution
Storage issues Your web hosting provider's email server is unable to deliver emails or emails are sent but are automatically detected as spam and deleted by email clients. If the settings at Settings > Notifications > SMTP (Settings > Notifications > SMTP) If not set, your server will send email instead. Contact with your web hosting provider about email support or use your SMTP server by enabling it in Settings > Notifications > SMTP (Settings > Notifications > SMTP).
SMTP issue Emails are not sent even if you have enabled SMTP options in your region Notification (Notifications). If you don't receive emails, make sure they work by sending a test email from Settings > Notifications > Send email notifications to users (Settings > Notifications > Send a user email notification) or Send email notifications to employees (Send an agent email notification). If you do not receive the test email, your SMTP server is not working. Open your browser console for more details about the error. Since this is not a TNTT related issue AI Chatbot, support does not cover this issue, please contact with your server/hosting/SMTP support instead. You can use sendgrid.com, you can send 40,000 emails for free for 30 days, then 100 emails/day free forever.
Google Gmail Emails are not sent even if you have enabled SMTP options in your region Notification (Notifications) and you are trying to use Gmail SMTP server. For Google Gmail and Google Workspace email, you'll need to replace your Google password with a Google app password, as detailed here. https://support.google.com/accounts/answer/185833 (Create & Use App Passwords section). Enter smtp.gmail.com (smtp.gmail.com) make server and set 465 (465) or 587 (587) as a gateway. If you're using Google Workspace with a custom domain, check Admin Console > Security > Data Access & Control > API Control > Application Access Control (Admin Console > Security > Access and data control > API Controls > App access control). Ensure SMTP access is not restricted to third-party applications.

Push notifications for admins and employees

  • When the employee clicks on the notification, the admin area is opened and the appropriate conversation is selected. If the admin area is already open, the notification will not open a new tab.
  • When a user sends the first message, a push notification is sent to all authenticated agents; subsequent notifications are only sent to the last agent in the conversation.
  • If you are using Artificial Intelligence application and Settings > Artificial Intelligence > Human Takeover (Settings > Artificial Intelligence > Human takeover) is enabled, no notification is sent if chatbot know the answer.
  • If installed Routing (Routing) enabled, only staff assigned to the chat receive notifications, admins see all chats but do not receive notifications.
  • If installed queue or routing enabled, only staff assigned to the conversation receive notifications. No notifications are sent for messages sent by users while waiting in the queue. Admins see all conversations but do not receive notifications.
  • If a user's conversation is assigned to a Department, only employees assigned to Department that receives notification.
  • If a user's conversation is not assigned to any Department which, only the staff do not have Department assigned to receive notifications.
  • Notifications are only sent if the last agent in the chat is offline.
  • If Human Takeover is enabled, no notification is sent if chatbot know the answer.
  • If push notifications aren't working, make sure you have allowed notifications, in Chrome you can check this from Security & Privacy > Site Settings > Notifications (Privacy and Security > Site settings > Notifications). If they don't work on mobile, try the following steps: install the PWA or delete and reinstall, restart the mobile device.
  • If you are using Chrome, to enable push notifications even when the tab is closed, you must enable the option Continue running background apps when Google Chrome is closed (Continue running background apps when Google Chrome is closed) from Chrome > Settings > System (chrome://settings/system) .
  • If push notifications are not working, make sure the conversation is not assigned to a specific employee or an incorrect employee ID. Click here for more details.
  • If push notifications aren't working and you're using Windows, make sure that feature notifications are not blocked by Windows. To do this, click the button Begin (Start) and search Notification (Notifications). Then open the options Turn app notifications on or off (Turn app notifications on or off) and verify that your browser is not blocked.
  • If push notifications aren't working, your system may be blocking them. If you're using Windows 10+, check this link. If you are using a Mac, check this link. For all devices, also check this link.

Desktop Notifications

Desktop Notifications

  • Desktop notifications are not sent if the user is viewing a page that includes a chat (the user's browser is open and visible, and the active page contains the chat widget).
  • Desktop notifications are not supported on iPhone and iOS devices.
  • Desktop notifications only work for secure URLs that use HTTPS (not HTTP). TNTT Admin URL AI Chatbot Your site must use HTTPS.
  • When push notifications are enabled, they replace desktop notifications.
  • If desktop notifications aren't working, try the solutions in the Push Notifications.

Sound notification

  • When Settings > Notifications > Sound (Settings > Notifications > Sounds) When enabled, a sound will play every time a new message or conversation is received.
  • The sound only plays when a user or employee interacts with the document by clicking somewhere in the admin area or on the page where the chat widget is displayed. This is because feature Security of browsers.
  • If the sound is set to repeat (repeat), it will repeat as long as the admin area or chat widget page is not opened or minimized. If the admin area or chat widget page is opened and visible, you will not hear the sound.
ARTIFICIAL INTELLIGENCE

ARTIFICIAL INTELLIGENCE

The settings below are related to the Artificial Intelligence application.

Setting

Human Takeover

Human Takeover occurs in the following cases:

  • When a human agent responds to a user's message.
  • When optional Settings > Artificial Intelligence > Human Takeover (Settings > Artificial Intelligence > Human takeover) is enabled. It is automatically enabled when chatbot not understand the user's message or can be manually requested by the user when they explicitly request it contact with a human employee.

General information

  • When a Human Takeover is triggered, the chatbot is automatically disabled while the last human agent who responded to the chat is online. If no agent has responded to the chat, the chatbot remains active. The chatbot is then reactivated, but no default fallback messages are sent for 10 days after the Human Takeover if chatbot don't know the answer to a user's question in the same conversation. You can force a Dialogflow message to always be sent by adding a custom Payload value to the Intent "force-message": true .
  • The chatbot is fully reactivated if the conversation is archived or deleted.
  • If you are using Slack, no messages will be sent if chatbot know the answer. When a human takeover is triggered, all messages from the chat are sent to Slack.
  • When a human agent responds to the user, a Human Takeover is automatically triggered.
  • Features Human Takeover is compatible with OpenAI and will continue to operate even if chatbot Dialogflow is disabled.
  • To disable completely chatbot When taking over by humans (Human Takeover), check the option Human Takeover > Disable chatbot (Human takeover > Disable chatbot).
  • If Human Takeover has been triggered, it will not be triggered again, and the Human Takeover message will not be sent. Backup Message (Fallback message) will be sent instead.

Human Takeover Option

When optional Human Takeover (Human takeover) is enabled, the following happens:

  • If enabled, the request is only sent if the user's message is longer than 3 characters and contains at least two words. This optimization prevents false requests.
  • The conversations that chatbot Correct answers are marked as read and moved to the bottom of the list. Inbox (Inbox).

When a user confirms a human takeover, or if it is automated, the following happens:

  • Conversation marked as unread and moved to the top Inbox (Inbox).
  • Any user messages in the same chat sent within 10 days of the Human Takeover will trigger a notification to staff.
  • If email notification to staff is enabled, an email notification is sent to the staff member assigned to the conversation, or, if the user's conversation is assigned to a Department, to the staff assigned to Department otherwise sent to all offline employees.
  • If push notifications are enabled, a push notification is sent to the agent assigned to the conversation, or, if the user's conversation is assigned to a Department, to the staff assigned to Department otherwise sent to all offline employees.
  • If text message notification is enabled, a text message is sent to the agent assigned to the conversation, or, if the user's conversation is assigned to a Department, to the staff assigned to Department otherwise sent to all offline employees.
  • No Human Takeover requests within 10 days of a Human Takeover sent in the same chat.
  • Message monitor and Offline is activated.
  • If installed queue is enabled, queue or routing is enabled.

Manual Human Takeover - Dialogflow Only

  • You can manually trigger a Human Takeover by creating a Intent (Intent) new in Dialogflow with feedback Custom Payload (Custom Payload) after: { "human-takeover": true } .
  • Manual takeover automatically notifies the agent via email and leaves the conversation marked as unread.
  • To send a manual Human Takeover request, use chips-style Rich Messages with ID sb-human-takeover . For example: [chips id="sb-human-takeover" options="Human support,Cancel" message=""] .

Manual Human Takeover - OpenAI Only

  • Human Takeover can be manually requested by users when they explicitly request it contact with a human agent. This setting is enabled by default. This setting is not compatible with older OpenAI models like gpt-3.5-turbo .

Human Takeover via Q&A

You can enable Human Takeover for specific user messages via Q&A by adding action Human Takeover (human takeover) in set data and actions (set data and actions).

OpenAI Assistant

To enable Human Takeover on OpenAI Assistant, add jaw (function) later in the area jaw by OpenAI:

{
"name": "sb-human-takeover",
description: "I want contact with a support staff or team member. I want to support people.",
"parameters": {
"type": "object",
"properties": {},
"required": []
}
}

WhatsApp, Messenger, Telegram and other messaging apps

To make a Human Takeover request work on WhatsApp, Messenger, Telegram, and other messaging apps, you need to create a Intent (Intent) new with human takeover do Input context (input Context), nothing to do Output context (output context), a list of the most common confirmation messages users make Training Phrases (Training phrases) (eg ok, yes) and { "human-takeover": true } make feedback Custom Payload (Custom Payload).

Smart Reply

Smart Reply suggests quick responses in real time within a conversation. When enabled, you'll see suggested responses in the conversation area, if available.

Information

  • Features Smart Reply first checks suggestions from chatbot Dialogflow, provided it is enabled. If there is at least one suggestion, it will display the result immediately. However, if Dialogflow is not active or there are no Dialogflow suggestions, OpenAI suggestions will be returned instead.
  • If feature language detection enabled, smart replies will also use language detection.
  • If feature Multilingual through translation enabled, smart replies will also use multilingual translation.
  • To read the full text of a smart reply, hover over it for 3 seconds.
  • To restore a previous message, press the key combination CTRL + Z (CTRL + Z).

Optimal configuration for chatbot

TNNT AI Chatbot provides powerful tools to assist you in the creation process. chatbot.

  • Activate Artificial Intelligence > Google > Chatbot Dialogflow (Artificial Intelligence > Google > Dialogflow chatbot). If you have general or specific questions that require a specific answer, or if you want to use Rich Messages Like buttons, Dialogflow chatbot is the best choice and it can work together with chatbot OpenAI. Dialogflow and OpenAI chatbots can work together simultaneously. Learn more here.
  • Keep improving chatbot from training board chatbot.
  • Activate Artificial Intelligence > Smart Reply (Artificial Intelligence > Smart Reply). More details here.
  • Enable the settings OpenAI after: Chatbot , Correct Spelling Errors (Spelling Correction), Fix Dialogflow spelling errors (Dialogflow spelling correction), Rewrite message button (Rewrite Message Button). More details here.
  • Train chatbot Your OpenAI with your own content, more details here.
  • Set the value of Google > Dialogflow Intent Detection Confidence (Google > Dialogflow Intent detection confidence) wall 0.81 (0.81).
  • If your site receives traffic from multiple countries, consider enabling the options Google (Google) after: Multilingual through translation, automatic translation, language detection.
  • Change name chatbot from Settings > Users > Bot Name (Settings > Users > Bot name).

Problem?

The most common reasons why OpenAI or Google is not working properly are listed below. For more details on the issue, open browser development tools (browser developer tools) and then tab control panel (console), send a message via TNT chat AI Chatbot, and an error will appear in the console. On Chrome, you can open the console from Settings > More Tools > Developer Tools > Console (Settings > More tools > Developer tools > Console).

OpenAI and Google

OpenAI

  • Click the button Settings > Artificial Intelligence > OpenAI > Troubleshooting (Settings > Artificial Intelligence > OpenAI > Troubleshoot problems) and check for any errors. If there are errors, it will be related to account OpenAI, please follow the instructions in the error message to fix the problem.
  • Make sure to check the options Settings > Artificial Intelligence > OpenAI > Chatbot (Settings > Artificial Intelligence > OpenAI > Chatbot).
  • You have reached your quota limit or are having problems. pay with account Your OpenAI. Check it out at https://platform.openai.com/account/usage.
  • If Dialogflow is enabled, OpenAI may not function properly because your Dialogflow agent does not have a Fallback Intent. Please check for its presence on the Intents page, and if it is missing, you can recreate it by following the instructions here. To quickly test if this is the issue, you can disable Dialogflow and send a 2-3 word message. Then check the browser console for any errors.
  • If chatbot not responding at all and you have some Google settings enabled, try disabling the Google settings and check that chatbot is it working
  • Be sure to read the general information here.
  • If the training does not work as expected, for example, if chatbot not responding to questions regarding training data, try deleting all training data from Chatbot > Training > Information > Clear all training data (Chatbot > Training > Information > Delete all training data) and retrain chatbot.
  • If the training process does not work as expected, for example, if the feedback of chatbot truncated or partially incorrect, try asking the same question a few more times. Responses will improve over time. OpenAI needs to learn from user interactions.
  • If your training data comes from a website, and the website is multilingual, make sure the village of the card <html>contains correct language.
  • Delete all your OpenAI settings, leaving only the OpenAI key and try again.
  • Try it out assistant OpenAI alternative.
  • If you are using cloud version, you can use our OpenAI key by placing Settings > Artificial Intelligence > OpenAI > Sync Mode (Settings > Artificial Intelligence > OpenAI > Sync mode) wall Automatic (Automatic). If this solves your problem, it means the problem is rooted in account Your OpenAI. You need to buy credit to use this option.

Google

  • Click the button Settings > Artificial Intelligence > Google > Troubleshoot (Settings > Artificial Intelligence > Google > Troubleshoot problems) and check for any errors. If there are errors, it will be related to account Google your, follow the instructions in the error message to fix the problem.
  • Make sure to check the options Settings > Artificial Intelligence > Google > Chatbot Dialogflow (Settings > Artificial Intelligence > Google > Dialogflow chatbot).
  • If the synchronization process fails, we recommend reviewing our documentation and repeating the synchronization steps to correct any errors. If needed, we offer integration services. Details on the page hire us.
  • You have selected the wrong agent location.
  • Make sure you are not using a super agent.
  • Be sure to read the general information here.
OPENAI

OpenAI

The settings below are related to the Artificial Intelligence application.

Synchronize

Automatic Sync Mode

Features This is only available on cloud version of TNTT AI Chatbot.

  • Automatic synchronization mode is ready to use and does not require any additional settings. Set up at Settings > Artificial Intelligence > OpenAI > Sync Mode (Settings > Artificial Intelligence > OpenAI > Sync mode).
  • If you want to activate chatbot, check Settings > Artificial Intelligence > OpenAI > Chatbot (Settings > Artificial Intelligence > OpenAI > Chatbot).
  • You need to buy credit to use this option.

Manual sync mode

OpenAI integration (ChatGPT) provides chatbot your ability to answer general questions about almost anything you can imagine. To get started, follow the steps below.

  • Register at https://platform.openai.com/.
  • Get API key from https://platform.openai.com/api-keys and paste it in Settings > Artificial Intelligence > OpenAI > API Keys (Settings > Artificial Intelligence > OpenAI > API key). If you are using cloud version, put Settings > Artificial Intelligence > OpenAI > Sync Mode (Settings > Artificial Intelligence > OpenAI > Sync mode) wall Handmade (Manual).
  • Activate chatbot from Settings > Artificial Intelligence > OpenAI > Chatbot (Settings > Artificial Intelligence > OpenAI > Chatbot).

Chatbot

To set up chatbot For your first, follow these steps:

  • Complete the process synchronize.
  • Enable option Settings > Artificial Intelligence > OpenAI > Chatbot (Settings > Artificial Intelligence > OpenAI > Chatbot), and save your changes.
  • Your chatbot should now be live. The testing area is accessible from Area Chatbot (Chatbot area), you can find it by clicking on the smile icon 🙂 on the left menu. If chatbot not working, click the button Settings > Artificial Intelligence > OpenAI > Troubleshooting (Settings > Artificial Intelligence > OpenAI > Troubleshoot problems) and follow the instructions.
  • To improve further chatbot yours, explore the sections train and Human Takeover.

Setting

See information about most OpenAI installations here.

Chatbot Mode

Features This is related to the option Settings > Artificial Intelligence > OpenAI > Mode Chatbot (Settings > Artificial Intelligence > OpenAI > Chatbot mode). It allows you to configure the information that OpenAI will use to respond to user messages.

  • General questions only (Only general questions) OpenAI will only answer general questions and questions related to the user's previous messages in the same conversation, without using any information you provide. This is the default setting.
  • Only questions related to your source (Only questions related to your sources) OpenAI will only answer questions related to the information you provide. User messages will be ignored. You must train chatbot with your sources first.
  • All questions (All questions) OpenAI will answer questions related to the information you provide, general questions, and questions related to the user's previous messages in the same conversation. You must train chatbot with your sources first. This is the recommended mode.
  • Assistant (Assistant) Use this mode if you are using a OpenAI Assistant.

Assistant

The feature This allows you to use your own Assistant created at https://platform.openai.com/assistants.

  • If you are using the cloud version, you must set Settings > Artificial Intelligence > OpenAI > Sync Mode (Settings > Artificial Intelligence > OpenAI > Sync mode) wall Handmade (Manual) and use your own API key.
  • You can use multiple assistants by adding their IDs in Settings > Artificial Intelligence > OpenAI Assistant - Link Department (Settings > Artificial Intelligence > OpenAI Assistants - Department linking) and select Assistant (Assistant) in Settings > Artificial Intelligence > OpenAI > Mode Chatbot (Settings > Artificial Intelligence > OpenAI > Chatbot mode). To activate an assistant, both the assistant and the conversations must be assigned to a Department.
  • Assistant is only used for chatbot and smart reply, not for rewriting messages and other feature other.

Chatbot

Features chatbot OpenAI works similarly to Dialogflow, providing automated responses to user messages. Select settings Regime Chatbot (Chatbot mode) to specify the questions that chatbot able to answer. Use feature Human Takeover to allow chatbot Redirect the conversation to a human agent when necessary.

Backup Message

A fallback message is sent when OpenAI cannot understand the user's question. If chatbot Dialogflow is enabled, the backup message will be disabled and the backup message of chatbot Dialogflow will be used instead.

Prompt

Prompt instructs OpenAI how to respond by providing relevant information that can be used to answer user questions. To understand the process, refer to the prompt examples listed below.

If you choose to enable feature Human Takeover, you need to ask OpenAI to respond with I do not know (I don't know) If you cannot provide an answer to the user's question, you should always include the following text in the prompt: Answer "I don't know" if you are unsure of the answer. (Respond "I don't know", if not sure about the answer).

Prompt - Rewrite Message

This prompt instructs OpenAI how to rewrite messages when Rewrite message button (Message rewrite button) is enabled. This prompt should be written in English. TNTT AI Chatbot Automatically add text as needed: and use the user's language, add a greeting (and use the user language, add greetings).

Feedback from the coaching source can be used with feature prompt because they are compatible.

Correct Spelling Errors

Features This automatically corrects any spelling errors in employee messages.

Training data language

If you are using training data and chatbot If yours is multilingual, set the default language of the training data here. Leave it as is. default (default) if the default language of the training data is English.

Smart Reply

Features This allows activation. Smart Reply even when chatbot not working. If chatbot is activated, feature Smart Reply will automatically use OpenAI.

Fix Dialogflow spelling errors

In case Dialogflow cannot find a suitable response to the user's message, this function checks for any spelling errors. If there are such errors, Dialogflow is requested again with a corrected version of the message to get the correct response. Although it has higher priority, feature This can still work with feature correct spelling of Google Search.

Rewrite message button

Features This adds a button to the text field of the chat area, click it to rewrite your message and make it more friendly and professional. The greeting will be added automatically if there is no previous staff message. If your language is not English, you must edit your staff/admin profile and set the correct language.

Voice recognition

When this option is enabled, audio messages will be converted to written text.

  • You do not need to activate feature this to chatbot understand audio messages. Features voice recognition chatbot always enabled
  • To feature For this to work better, the user's language should be determined. To automatically detect the user's language, you can enable feature language detection.
  • The text will be displayed along with the audio player.
  • The generated text is compatible with the feature pandemic.

Image recognition

When this option is enabled, the chatbot will analyze and interpret images submitted by users.

  • Only GPT-4 and newer models support feature This.
  • Features This does not work on localhost, it requires an online server or AWS S3.

Source link

When this option is enabled, responses will automatically include links to the sources and training data used to generate the response. To include articles as sources, you must set the article page in Settings > Posts > Post Page URL (Settings > Articles > Articles page URL).

Extract note data

When this option is enabled, you will see a menu in note board. This menu allows to automatically extract specific information from user messages.

OpenAI Parameters

TNNT AI Chatbot allows you to tune different OpenAI parameters like temperature and logit_bias, for more details visit https://platform.openai.com/docs/api-reference/completions/create. Don't set any values if you don't know what these parameters do, otherwise OpenAI may stop working.

Logit bias

Parameters Logit bias must be a JSON string and the keys must be strings, for example: {"2435":-100, "640":-100} .

Create user questions

When this option is enabled, OpenAI will generate new user questions in real time as you open training board chatbot.

Using conversation for coaching

Automatically use conversations for coaching chatbot periodically. You will find the training data in Chatbot > Training > Conversations (Chatbot > Training > Conversations). Training is done via cron job every 24 hours. Only user and staff messages are used, messages from chatbot ignored. More details here.

Context awareness

When this option is enabled, OpenAI will recognize the context of the web page the user is writing a message on. The context only includes the meta title and meta description of the page. This option is only supported for the chat widget and is not compatible with messaging channels.

Train

With feature With this, your chatbot can be trained using your website, text, PDF documents, and more. Once training is complete, the chatbot will be able to answer questions related to your content.

Training by file

This training allows you to train chatbot with PDF and TEXT files.

  • To access feature this, navigate to Chatbot > Training > Files (Chatbot > Training > Files).
  • Select your file, click the button Train chatbot (Train chatbot) and wait for the training process to complete.
  • Only files in PDF and TXT formats can be uploaded.
  • Once the training is complete, the uploaded files will be deleted.

Web-based training

This training allows you to train chatbot by websites.

  • To access feature this, navigate to Chatbot > Training > Website (Chatbot > Training > Website).
  • Enter the website URL, click the button Train chatbot (Train chatbot) and wait for the training process to complete.
  • If you retrain the same site, you must delete the training data from the previous site; otherwise, only new URLs will be trained.
  • You can provide a site URL and all child URLs will be included and crawled, but for large sites, using an XML sitemap is more efficient and less prone to errors or infinite link loops than relying on the site URL. You can generate a sitemap using a service like https://www.xml-sitemaps.com.
  • If you want to train chatbot your site with specific pages from your site instead of the whole thing, you can use an XML sitemap. Create a sitemap using a tool like https://www.xml-sitemaps.com, then remove the pages you don't want to include by editing the file in a text editor. To use an XML sitemap, you'll need to upload it to your server or an external online location. Then, add the sitemap URL in Chatbot > Training > Website (Chatbot > Training > Website). If your sitemap contains more than 1000 URLs, it is recommended to split it into multiple files and train them. chatbot with each file one by one to avoid server crashes.
  • You can upload large files and your XML sitemap using a service like https://tmpfiles.org.

Training through questions and answers

This training allows you to train chatbot by adding individual questions and answers.

  • To access feature this, navigate to Chatbot > Training > Q&A (Chatbot > Training > Q&A).
  • For more details, click here.

Article Training

This training allows you to train chatbot equal article.

  • To train chatbot, add your post and then click the button Train chatbot (Train chatbot). Articles are used as auto-training sources.
  • For more details, click here.

Stream Training

This training allows you to train chatbot equal stream.

  • To access feature this, navigate to Chatbot > Stream (Chatbot > Flows).
  • For more details, click here.

Conversational coaching

This training allows you to train chatbot by conversations from users and employees.

  • To activate feature this, check option Settings > Artificial Intelligence > OpenAI > Use chat for training (Settings > Artificial Intelligence > OpenAI > Use conversations for training).
  • Training data will start being generated in the next few days and will be available regionally. Chatbot > Training > Conversations (Chatbot > Training > Conversations).
  • While this method is robust and automated, it can produce low-quality training data if human feedback or user messages are unhelpful or inaccurate. We recommend checking the training data regularly. This method is not recommended for most chatbot. Use training board chatbot instead.

Training with chatbot training board

After completing training chatbot yours, you may want to continue improving it. Features This lets you select conversation messages and use them to add new questions and answers or improve existing ones. You can open the training panel chatbot From the conversation area, hover over a message, open the message's menu, and select Train chatbot (Train chatbot).

  • If Dialogflow is active, a new Intent will be added to the main Dialogflow agent.
  • If OpenAI is active, the OpenAI chatbot will be automatically trained with new information. You can control the questions and answers generated from this window from Chatbot > Training > Questions and Answers (Chatbot > Training > Questions and answers).
  • Options Service to update (Services to update) allows you to choose the chatbot to update. When updating the Dialogflow Intent, a new OpenAI question and answer will be created.
  • The training window is not compatible with OpenAI assistants.

Training with real-time information

Features This allows chatbot Answer questions that require real-time information, such as "What is the temperature in London today?".

  • For more details, click here.

Information

  • To add new training data, simply retrain chatbot. Previous training data will not be lost, and only new sources will be added.
  • If you are using cloud version, has character limit for training chatbot. However, if you are using PHP or WP version, there is no limit imposed. You can see the character limit here.
  • Model embedding model (embedding model) is necessary to train chatbot your and handle all user messages. We currently use the model text-embedding-3-small . This model is required for these situations and cannot be turned off or changed. You can find pricing information at https://openai.com/pricing. Check price for model text-embedding-3-small in section Embedded model (Embedding models).
  • Go to Chatbot > Training > Information (Chatbot > Training > Information), and click the button Delete all training data (Delete all training data) to clear all previous training data for chatbot.
  • Embeds are stored as JSON files in uploads folder of TNTT AI Chatbot and secured by password method by file name.

Run training via cron job

If you are using cloud version, just enable the option Settings > Artificial Intelligence > OpenAI > Training via cron job (Settings > Artificial Intelligence > OpenAI > Training via cron job) and the cron job will be triggered..

  • For cloud versions, cron jobs can be executed up to once every 7 days.
  • We recommend providing an XML sitemap instead of a site URL for performance reasons.
  • Auto training is limited to websites only; files, Q&As, and articles are excluded. Retraining will erase previous website training data.

Multilingual Training

If your user base is multilingual, you can train chatbot with multilingual content and limited chatbot Only retrieve answers from sources in the user's language. To enable this feature, check the option Settings > Artificial Intelligence > OpenAI > Multilingual Training Sources (Settings > Artificial Intelligence > OpenAI > Multilingual Training Sources).

  • File (Files) Currently, the files only support one language.
  • Website (Websites) The language of the website is detected automatically. In order for TNTT AI Chatbot to understand the language of your websites, the tag <html> must contain attribute village.
  • Q&A (Q&A) Currently, Q&A only supports one language.
  • Article (Articles) All post languages are used automatically.
  • Conversation (Conversations) If automatic translation enabled, only messages in the employee's language will be used.

Q&A

The information below pertains to the Questions and Answers section of the training area. chatbot. Add questions and answers to chatbot to improve its performance. The chatbot will use this information to answer user questions.

Question

Enter user messages that will trigger responses. Add as many question variations as possible. For example, questions for answers I am one chatbot! could be Who are you? , What are you? , Are you a bot? .

Answer

Enter text that will be used to answer the user's question.

Call function

Call the function that allows you to connect chatbot with external tools and systems. The chatbot will query your server and return information from your server to the user. The data sent to your server is in the body and includes the user input, user ID, and chat ID. Learn more here. Our support does not include support for feature this, because this is feature for advanced users and requires custom code on your server. For help with this, see hire us.

Parameters
  • URL : Enter the URL of the API endpoint that will provide the necessary values to the function.
  • Headers : Enter key-value header parameters, separated by commas. For example: apikey:123345, json:true .
  • Properties : Enter the values that the user must provide for chatbot. For example, a city, tracking number, etc. The chatbot will ask the user to provide these values. If you already know all the possible values, you can enter them in the field Allowed values (Allowed values).
Response from your server

Your server must return a JSON array with the values requested by chatbot. For example: ["order_status" => "Delivered 2 hours 25 minutes ago"] .

Set up data and actions

Sets the user values assigned when the question is asked. You will see these values in the user details table. You can use the following merge fields to assign values extracted from the user's message. Include these fields in the response and they will be replaced with the actual values: {language} . You can also use feature This is to perform actions such as assigning Department, staff, and card for conversation.

Flows

The information below relates to the stream area. chatbot. Streams allow you to easily create chat streams powered by chatbot. Use them to guide users to a specific goal with a series of predefined messages.

Block stream

  • Begin (Start): Use the start block to set when the flow should start. It could be every time a user starts a new conversation, when a specific message is sent, or when the page loads. If you set condition (conditions), the thread will only start when all the conditions are met.
  • Send message (Send message): Send a message to the user.
  • Send button list (Send button list): Sends a list of buttons to the user.
  • Submit video (Send video): Send a video to the user.
  • Get user details (Get user details): Get user details and store them in TNTT AI Chatbot. You will see these values in the user details table. You can leave the field describe (description) blank for default details, but it is required if using custom user fields.
  • Set up data (Set data): Sets the user values that are assigned when the block is executed. You will see these values in the user details table.
  • Act (Actions): Executes the specified actions when the block is executed.
  • Condition (Conditions): Use it to create different branches in the flow. If the conditions are met, the flow will follow the branch set as true , otherwise follow the branch set to false .
  • Rest API (Rest API): Use it to send data to your server. The body should be a JSON array and the TNTT user details AI Chatbot is automatically included in it under the key sb . Use the section save feedback (save response) to save specified user details with values from your server response. Use JSON dot notation. Our support does not include support for feature this, because this is feature for advanced users and requires custom code on your server. For help with this, see hire us.

Information

  • Streams can support multiple languages. Add translations for messages, button text, and other content in the area translation. You can also use feature Multilingual through translation for automatic translation. If your stream's default language is not English, you must also set the default language in Settings > Artificial Intelligence > OpenAI > Training source language (Settings > Artificial Intelligence > OpenAI > Training Sources Language).

Information

  • If OpenAI is not working, click here.
  • If Dialogflow is running, OpenAI queries are only executed if chatbot does not know the answer to the user's question and if the length of the user's message is greater than 4 characters.
  • The following settings are compatible with OpenAI: smart answer (smart reply), Human Takeover (human takeover), off for ticket area (disable for the tickets area), off during business hours (disable during office hours), bot response delay (bot response delay), User email response (reply to user emails), Respond to user text messages (reply to user text messages).
  • The following Google settings are compatible with OpenAI: Multilingual through translation (multilingual via translation), automatic translation (automatic translation), language detection (language detection).
  • Set language chatbot OpenAI from Settings > Chat > Language (Settings > Chat > Language). Set to Multilingual (Multilingual) if your site supports multiple languages or if your users speak different languages. If you are using messaging channels like WhatsApp, or Instagram, you have to detect the user language through language detection. For more details, click here.
  • If a human agent takes over, the OpenAI chatbot is disabled, and remains disabled even if the agent is offline. The Dialogflow chatbot continues to operate whenever needed.
  • The default model is gpt-4.1-mini.
  • OpenAI supports voice messaging through speech recognition.
GOOGLE

Google

The settings below are related to the Artificial Intelligence application.

Synchronize

To get started using Google AI and Dialogflow services, follow the steps below.

Automatic Sync Mode

Features This is only available on cloud version of TNTT AI Chatbot.

  • Click Sync now (Synchronize now) and complete the process.
  • If you want to activate chatbot Dialogflow, check Settings > Artificial Intelligence > Google > Chatbot Dialogflow (Settings > Artificial Intelligence > Google > Dialogflow chatbot). Additionally, you must enter the Project ID or Agent Name of the chatbot, to get it, follow the steps below.
  • You need to buy credit to use this option.

Manual sync mode

  • Enable option TNNT AI Chatbot > Settings > Artificial Intelligence > Google > Chatbot Dialogflow (TNNT AI Chatbot > Settings > Artificial Intelligence > Google > Dialogflow Chatbot) and save the changes.
  • Access console.cloud.google.com and login.
  • Select or create a project by clicking the button Select a project (Select a project) in the upper left corner. Name the project whatever you want.
  • Enable the Dialogflow API by entering Dialogflow API in the search bar at the top. Click Dialogflow API and then click Activate (Enable).
  • Select project and access Left menu > APIs and services > OAuth consent screen (Left menu > APIs and services > OAuth consent screen). Select Outside (External) and click Create (Create). In Application Name (App name) Enter the name you want, in User support email (User support e-mail) and Information contact of the developer (Developer contact information) Enter your email. Click Save and continue (Save and continue).
  • In the area Data Access Rights (Data access), click Add or remove scope (Add or remove scopes), scroll down and in the area Add scope manually (Manually add scopes) enter https://www.googleapis.com/auth/dialogflow,https://www.googleapis.com/auth/cloud-language,https://www.googleapis.com/auth/cloud-translation. Click Add to table (Add to table) and then Update (Update) and Save and continue (Save and continue).
  • In the area Object (Audience), click Add user (Add users) and add your Google email, use the same email as account currently logged in. Click Save and continue (Save and continue). Click PUBLISHING APPLICATIONS (PUBLISH APP). No need to complete the review process, leave it in pending review status.
  • Access Left menu > APIs and services > Credentials (Left menu > APIs and services > Credentials) and click Create credentials (Create credentials), select OAuth Client ID (OAuth client ID). With Application Type (Application type) select Web Application (Web application). Enter any name you want. In Authorized redirect URIs (Authorised redirect URI) Enter the redirect URL, taken from TNTT AI Chatbot > Settings > Artificial Intelligence > Google > Authorized redirect URIs (TNNT AI Chatbot > Settings > Artificial Intelligence > Google > Authorized redirect URI). Click Create (Create).
  • Copy Customer ID (Client ID) and Customer Confidentiality (Client Secret) and paste them in TNTT AI Chatbot > Settings > Artificial Intelligence > Dialogflow (TNNT AI Chatbot > Settings > Artificial Intelligence > Dialogflow). Save settings.
  • Click TNTT AI Chatbot > Settings > Artificial Intelligence > Google > Sync (TNNT AI Chatbot > Settings > Artificial Intelligence > Google > Synchronize). Log in with the same account Google you have been using so far. On the next screen, click Continue (Continue). On the next screen, select all ranges and click Continue (Continue).
  • Copy Refresh Code (Refresh token) and paste it in TNTT AI Chatbot > Settings > Artificial Intelligence > Google > Refresh Code (TNNT AI Chatbot > Settings > Artificial Intelligence > Google > Refresh token).
  • You're done! If you want to activate chatbot Dialogflow, check Settings > Artificial Intelligence > Google > Chatbot Dialogflow (Settings > Artificial Intelligence > Google > Dialogflow chatbot). Additionally, you must enter the Project ID or Agent Name of the chatbot, to get it, follow the steps below. Note that the app does not need to be approved by Google.
  • If you're a Google Workspace user, visit https://admin.google.com/ and click Google Cloud Session Control (Google Cloud Session control). Put Re-authentication policy (Re-authentication policy) wall Never ask for re-authentication (Never require re-authentication).

Dialogflow

The information provided below relates to Dialogflow.

Warning! We will discontinue support for Dialogflow at the end of 2025. All of its features will be available in TNTT AI Chatbot via OpenAI. Please use OpenAI instead of Dialogflow.

Get Project ID

  • Log in to the Dialogflow ES dashboard by visiting dialogflow.cloud.google.com. You must log in with the same account Google used during sync.
  • Click gear icon (gear icon) in the upper left corner, near the name chatbot, and open the settings area. If you haven't created one yet, chatbot, please follow instructions below to create your first bot.
  • Copy Project ID (Project ID).
  • Make sure to select US / GLOBAL in the upper left corner of the Dialogflow dashboard. Note that our system does not support mega agents.

Get Dialogflow CX Agent Name

Location

Set the location or region of your Dialogflow agent. This setting is optional if your agent location is set to global.

Welcome Intention

Enable the Dialogflow Welcome Intent for new visitors. Optional Settings > Messages & Forms > Welcome Message (Settings > Messages & Forms > Welcome message) must be enabled.

Submit user details

Submit user details registration form and Rich Messages via email to Dialogflow.

Add Intents to Saved Responses

Include Dialogflow Intents in saved responses. To access saved responses options, go to Settings > Administration > Saved Feedback (Settings > Admin > Saved replies).

Create a basic chatbot

If you have not created chatbot, follow the instructions below to create chatbot your first. Creating and managing chatbot Your Dialogflow is completely handled by Dialogflow. There are many tutorials online that can help you create and configure your Dialogflow bot.

  • To create chatbot your first, access to Dialogflow Dashboard and create an agent. With Google Project (Google project), select the same project used during the synchronization.
  • Add one Intent (Intent) new from the left menu and open it.
  • In the area Training Phrases (Training phrases), add the user question you want chatbot answer, adding as many variations as possible. For example, if you want chatbot Respond to users asking about your business address, adding variations like "what's your address", "address", "where are you located".
  • In the area Feedback (Responses), more answers by chatbot in the form of text feedback (text response). If you want to add buttons, tags, etc., you can use Rich Messages.
  • You have created your first question and answer! Check it from the right area or from the TNTT chat AI Chatbot. Add new Intents to complement chatbot yours with the questions and answers you want. You can include pre-built basic questions and answers by activating feature Small Talk from the left menu.

Here are some great resources to help you build a more complex chatbot:

Act

The following actions allow chatbot interact with the website automatically on behalf of the user. To use an action, go to Dialogflow, edit a Intent (Intent), and one more Custom Load (Custom Payload) new with the following syntax: { "ACTION-NAME": ACTION-VALUE } .

Action code Describe
{ "human-takeover": true } Begin Human Takeover and disable chatbot.
{ "redirect": "URL" } Redirects the user to the given URL. Add value "new-window": true to open the URL in a new window.
{ "open-article": ID } Open the article with the given ID.
{ "transcript": true } Create a chat transcript as a text file and download it. Set to e-mail To send the record to the user's email, add the value message: "Your message" (message: "Your message") to include a message in an email.
{ "tags": ["Tag 1", "Tag 2"] } Assign card for a chat
{ "department": ID } Change or set Department of the conversation and notify the staff.
{ "agent": ID } Change or set the agent assigned to the conversation and notify the agent.
{ "send-email": { "recipient": "active_user", "message": "", "attachments": [] } } Send email to active users or staff. Attachment syntax: [["name", "link"], ["name", "link"],...] ([["name", "link"], ["name", "link"],...]). The recipient value can be active_user or agents.
{ "update-user": true } Request the admin area to update the user of the active conversation. Use this action in conjunction with other actions to update the admin area's user details in real time.
{ "archive-chat": true } Archive the conversation and send a closing message if enabled.
{ "update-user-details": { "email": "", "last_name": "", "first_name": "", "extra": { "phone": ["+123456789", "Phone"] }}} Update active user details. You can update all details, including first_name (name), last_name (Surname), e-mail (e-mail), user_type (user type), password (password). You can update additional user details, such as phone number, by entering values in the key extra, values must use the following syntax: "slug": [value, "label"] ("slug": [value, "label"]). Download an example here. To upload an Intent, visit the area Intent (Intents) and click the three dot menu icon in the upper right corner, then click Upload Intent (Upload Intent). Start the conversation by sending a "start" message (start).
{ "update-user-language": "$language" } Update user language, and language chatbot If feature chatbot multilingual is enabled, to match the language requested by the user. The Dialogflow Entity value for the language is represented by the parameter $language.

Implement Dialogflow

The execution data sent to your webhook URL looks like this:

{
    "responseId": "4a58fc4f...",
    "queryResult": {
        "queryText": "fullfillment",
        "parameters": [],
        "allRequiredParamsPresent": true,
        "fulfillmentText": "Example",
        "fulfillmentMessages": [{
            "text": {
                "text": ["Response"]
            }
        }],
        "outputContexts": [{
            "name": "projects/tnnt...",
            "parameters": {
                "no-input": 0,
                "no-match": 0
            }
        }],
        "intent": {
            "name": "projects/tnnt...",
            "displayName": "Fullfillment"
        },
        "intentDetectionConfidence": 1,
        "languageCode": "en"
    },
    "originalDetectIntentRequest": {
        "payload": {
            "support_board": {
                "conversation_id": "3002",
                "user_id": "3777"
            }
        }
    },
    "session": "projects/example/agent/sessions/3777-3002"
}

Schools payload and session Contains TNTT's user ID and chat ID AI Chatbot.

Dialogflow Information

OpenAI

If OpenAI is enabled, Dialogflow takes precedence. The OpenAI API is only used if Dialogflow cannot answer the user's question.

Chatbot Training and Optimization

  • It will take a while to chatbot Your human agents should consistently provide correct answers to all questions. To improve performance, you and your human agents should continually train chatbot by adding new question variations and Intents. This approach will effectively improve the capabilities of chatbot your.
  • Employees can add new Intents and respond chatbot, as well as add new training phrases to existing intents quickly from the admin area by hovering over a message and clicking the Dialogflow Intent icon. Enable Settings > Artificial Intelligence > OpenAI > Create user questions (Settings > Artificial Intelligence > OpenAI > Generate user questions) to automatically add question variations and rewrite answers. New Intents will include the responses, while updating existing intents will only add new training phrases, but not the responses chatbot new. If you are using Dialogflow CX, the feedback chatbot will be added to the latest thread used in the conversation if any, otherwise will be added to the starting thread.
  • If chatbot Reply with wrong intentions, visit Dialogflow Dashboard > Chatbot Settings > ML Settings (Dialogflow Console > chatbot Settings > ML Settings), and set ML CLASSIFICATION THRESHOLD (ML CLASSIFICATION THRESHOLD) to a larger number, such as 0.6. Also check Intent Detection Reliability.

Dialogflow Intent Detection Reliability

When searching for a matching intent, Dialogflow scores potential results with an intent detection confidence level, also known as a confidence score. These values range from 0.0 (completely uncertain) to 1.0 (completely certain). Specify a value from 0.1 arrive 1.0. Any response provided by Dialogflow lower than this value will not be considered. If you are using Dialogflow along with chatbot OpenAI is trained using your resources, so set this value to 0.81.

Knowledge base

The knowledge base is automatically enabled. The knowledge base is a feature allow chatbot your search within documents (such as PDFs) or websites to find answers. To create your first Knowledge Base, visit cloud.google.com/dialogflow/docs/knowledge-connectors.

Dialogflow Feedback

Feedback JSON Full Dialogflow information is automatically saved in the database, sb_messages, column payload.

Ignore Intent if it doesn't match the provided keyword

Sometimes Dialogflow gives incorrect answers due to similar questions but on different topics. To solve this problem, you can guide TNTT AI Chatbot Ignore an Intent if specific keywords are not present in the user's message. How to do it:

  • Go to Dialogflow and edit the Intent.
  • For each training phrase, select the keywords you want to claim and associate them with a Entity (Entity) new or an existing entity.
  • In Actions and parameters (Actions and parameters), check Obligatory (Required) and one more Reminder (Prompt) new with value skip-intent.
  • Save Intent.

User attachments

User attachments are sent to Dialogflow by adding the attachment URL to the message.

Chatbot Attachments

To allow chatbot send attachment, add one Custom Load (Custom Payload) and insert this JSON code:

{ "attachments": [["name", "YOUR-LINK"], ["name", "YOUR-LINK"], ["name", "YOUR-LINK"]]}

Replace "name" with the actual name of the attachment to display and replace "YOUR-LINK" with the actual URL of the file. Image attachments are automatically displayed as images.

Rich Messages

To allow Dialogflow to send Rich Messages, just enter the Rich Messages shortcode into the field TEXT FEEDBACK (TEXT RESPONSE) or add one Custom Load (Custom Payload) new and insert this JSON code: { "rich-message": "shortcode" }. Replace "shortcode" with Rich Messages shortcode, to get valid JSON code you need to replace all characters " equal ". To get the shortcode or learn how to create Rich Messages, please click here.

Rich Messages Response

When users interact with Rich Messages via TNT chat AI Chatbot (for example, by clicking a button), rich message responses are sent to Dialogflow in the following format: ID|response, or ID if the rich message type is subscribe, email, subscribe, in this case the rich message values are sent as an array in the key queryParams['payload']. ID is a Rich Messages ID, which can be set by adding the id="YOUR-ID" attribute to the shortcode. If no ID is set, a random ID will be used. feedback is user input or selection. To block Dialogflow from responding to a rich message, add a new intent with ID is a single user expression and has no feedback.

If the user is interacting with chatbot via a messaging app (e.g. WhatsApp), rich message responses do not contain the Rich Messages ID and context (contexts) Dialogflow's intent must be used to allow Dialogflow to understand which intent to fire for a particular Rich Messages response.

Get Rich Messages for subscriptions, emails, follow-ups

  • Check options TNTT AI Chatbot > Settings > Artificial Intelligence > Google > Send User Details (TNNT AI Chatbot > Settings > Artificial Intelligence > Google > Send user details).
  • From Left menu > Execute (Left menu > Fulfillment), activate Webhooks, you just need to enter the URL of the file that will receive the Dialogflow webhook data.
  • Create an Intent with the ID of the Rich Message, for registration form, enter registration, for the entry tracking form sb-follow-up-form, for email input form e-mail.
  • Enable Fulfillment for Intent.
  • You're done! The webhook URL file will receive TNTT's Rich Messages user details. AI Chatbot.

Sequential survey

To create a sequential survey like in the demo, you need to enter Rich Messages ID (Rich message ID) enter Training Phrases (Training phrases), see example below.

  • Go to Dialogflow and create a new intent. In the area Training Phrases (Training phrases), enter user expression survey example (survey example)In the area Feedback (Responses), enter code [buttons id="test-survey-1" options="Software,Physical Products,Services" title="What is your business type?" message="Please select the type that best fits your company." success="Your company type is "] .
  • Create a new intent. Enter user expression test-survey-1 and do input feedback [select id="seq-survey-2" options="Priority Post,Express Mail,International Mail" title="Shipping Method" message="Choose your customer's preferred shipping method" success="Your customer's preferred shipping method is"] .
  • Create a new intent. Enter user expression test-survey-2 and do input feedback Thank you for completing our survey! (Thank you for completing our survey!).
  • You're done.

Department Links

  • Get ID Department from Settings > Other Features/Miscellaneous > Departments (Settings > Miscellaneous > Departments).
  • Get the project ID from your agents' Dialogflow settings area.

More information

  • Dialogflow supports using voice messages via speech recognition. WhatsApp audio messages and .ogg audio files are not supported natively. To support WhatsApp audio messages and .ogg audio files, enable Settings > Artificial Intelligence > OpenAI > Speech Recognition (Settings > Artificial Intelligence > OpenAI > Speech recognition).
  • You can activate chatbot via API by sending a message with no text and payload { "event": "activate-bot" }.
  • The following details are sent to Dialogflow in the parameter queryParams When detecting intention: conversation_id, user_id.
  • To trigger a welcome event in Dialogflow CX, create a Event handler (Event Handler) and insert Welcome do Custom Events (Custom Event).
  • Articles by TNTT AI Chatbot automatically synchronized with the Dialogflow knowledge base.
  • Using JS variables SB_DIALOGFLOW_AGENT = "AGENT ID" To change the default Dialogflow agent, replace "AGENT ID" with Project ID (project ID).
  • If the user sends the same message again, triggers the same Intent in Dialogflow, and OpenAI is running, TNTT AI Chatbot will try to send a message from OpenAI and will ignore the response from Dialogflow.
  • You can access user_id and conversation_id of the current user and conversation in Dialogflow CX using the codes $session.params.user_id and $session.params.conversation_id, located in the Route Conditions area.

Multilingual Chatbot

Features Artificial Intelligence > Google > Multilingual (Artificial Intelligence > Google > Multilingual) Check if there is a Dialogflow agent in the user's language and enable it.

  • To feature For this to work, the user's language must be known. The user's language is based on the user's language details if set, otherwise it is based on the user's browser language. The language can also be detected by feature language detection.

Automatic translation

Features Auto translation automatically translates user messages into the employee's language and employee messages into the user's language. To enable, check the option Settings > Artificial Intelligence > Auto-translate (Settings > Artificial Intelligence > Automatic translation). If you are using cloud version and Artificial Intelligence > Google > Sync Mode (Artificial Intelligence > Google > Sync mode) is set to Automatic (Automatic), the feature Multilingual will work automatically. If not, you have to complete synchronize and set it up below. The feature Multilingual through translation and language detection also require these steps.

Establish

  • Log in https://console.cloud.google.com equal account Google your and select your Dialogflow Agent project.
  • In the top search bar, type cloud translation (cloud translation), select service Cloud Translation API (Cloud Translation API) and activate it. Note that this is a paid service with a free tier, additional costs may apply.
  • Activate pay by clicking Left menu > Pay (Left menu > Billing) and activate one account pay with method pay valid.

Information

  • User messages in the admin area are automatically translated in real time to match the employee's language.
  • Staff messages are automatically translated in real time to match the user's language.
  • Staff can view the original message by opening the message menu and clicking View original message (View original message).
  • Staff language based on user details language of the staff if set, otherwise based on browser language or admin area language.
  • User language based on user details language, if set, otherwise based on chat language, if set, otherwise based on browser language. Language can also be detected by feature language detection.
  • The announcement is also translated.
  • To avoid translating a string, surround it with characters ` or ```.

Multilingual through translation

Features in Settings > Artificial Intelligence > Multilingual via translation (Settings > Artificial Intelligence > Multilingual via translation) automatically translate user messages into Dialogflow or OpenAI's default language, and translate Dialogflow or OpenAI messages into the language the user speaks. Additionally, feature This translates all text displayed in the chat, such as Rich Messages belong to chatbot, article, registration form, and notice turn on. To improve efficiency and reduce translation costs, translations are automatically integrated into translation files. Combine this feature with feature language detection for optimal results.

  • If English is one of the languages, English must be the default language, and original documents must be in English.
  • If you are using OpenAI with training data, set the default training data language in Settings > Artificial Intelligence > OpenAI > Training source language (Settings > Artificial Intelligence > OpenAI > Training Sources Language). To be default if the default language of the training data is English.

Language detection

Detects the language of the user message and changes the user language and Dialogflow agent language accordingly, if available, otherwise displays a fallback message. You can use the following case studies in the message: {language_name}.

  • User messages must be at least 2 words long.
  • Language detection is only done for the first 2 messages of a user in a conversation.
  • As long as chatbot OpenAI is active and programmed to answer general questions, backup messages will never be sent, as OpenAI will always provide an answer to any user message.

Features Google search at Settings > Artificial Intelligence > Google Search (Settings > Artificial Intelligence > Google search) provide for chatbot your ability to search for answers on Google. Features This is useful for providing answers to questions that require real-time information.

  • Register at https://programmablesearchengine.google.com/.
  • Create a search and set it up as you like. We recommend only adding your website and Wikipedia if you want. chatbot answer general questions, turn off options Search the entire web (Search the entire web). Use options Entity (Entities) to eliminate invalid results.
  • Access Edit search engine > Settings > Basic (Edit search engine > Setup > Basic) and copy the value Search engine ID (Search engine ID), paste it into TNTT AI Chatbot.
  • To get an API key, visit https://developers.google.com/custom-search/v1/overview and click Get the key (Get a key).

Correct Spelling Errors

In case Dialogflow cannot find a suitable reply to the user's message, this function checks for any spelling errors. If there are errors, Dialogflow is asked again with the correctly spelled version of the message to get the correct reply. Although it has a lower priority, this feature can still work in conjunction with feature OpenAI Dialogflow spelling correction.

Entity

Setting Entity (Entities) analyzes user messages and identifies and extracts entities such as cities, events, dates, and more. Use it to eliminate invalid results returned by Google search. To enable this setting, follow the steps below.

  • Log in https://console.cloud.google.com equal account Google your and select your Dialogflow Agent project.
  • Enter Cloud Natural Language API (Cloud Natural Language API) go to the search bar at the top of the page, select Cloud Natural Language API (Cloud Natural Language API) and enable the API.
  • Activate pay by clicking Left menu > Pay (Left menu > Billing) and activate one account pay with method pay valid. Activate pay for your Dialogflow agent project.

Information

  • Google search is only performed if chatbot does not know the answer to the user's question and if the length of the user's message is greater than 4 characters.
  • If Google search returns results, Dialogflow context google-search is enabled automatically. The context contains the property link is a website link from Google search results. Use the context to create a new intent that provides the link, if the user sends a message like tell me more (tell me more) or I want to know more (I want to know more).
  • Google search is not required to enable spelling correction. You can turn off Google search and enable spelling correction only.
  • Google Search compatible with chatbot OpenAI.
TICKET

Ticket

The settings below relate to the Tickets app. The Tickets app allows users to create conversations and send messages through a different user interface than chat.

Setting

  • From Settings > Apps (Settings > Apps), click Ticket (Tickets) and enter your license key to install and activate the application. More details here. If you have cloud version, click Activate (Active).

Show ticket area

CLOUD VERSION

To display the ticket area, include the chat embed code in your page and add the attribute &mode=tickets into the code snippet URL, for example: . You can also display the ticket area by inserting the code Go to any page that shows chat.

Information

  • You can also use the ticket area to display an inline or full-width chat panel.
  • Tickets are similar to chats on the admin side, the only difference from chats is the front end UI.
  • Most chat settings are compatible with the Ticket App but not all. Dashboard settings, pop-up messages, and many others are not compatible.
  • To remove the mandatory 'New Ticket' form for new users, enable the welcome message of Settings > Messages & Forms > Welcome Message. Welcome message delay is ignored in the ticket area, message is sent immediately. (Settings > Messages & Forms > Welcome message).
  • To manually disable mandatory registration on just a single page, use JavaScript code var SB_REGISTRATION_REQUIRED = true. Set to true to force registration.
WHATSAPP

WhatsApp

The settings below are related to the WhatsApp application.

Setting

  • From Settings > Apps (Settings > Apps), click WhatsApp and enter your license key to install and activate the application. More details here. If you have cloud version, click Activate (Active).

WhatsApp Cloud API Setup - Automatic Sync Mode

Features This is only available on cloud version of TNTT AI Chatbot.

  • Click Sync now (Synchronize now) and complete the process.
  • To add a new phone number, go to https://business.facebook.com/wa/manage/phone-numbers/. If you add new numbers after the sync process, you will need to sync them again. All numbers will be synced automatically. If you want to disable specific numbers, you can delete them from Settings > WhatsApp > Cloud API Number (Settings > WhatsApp > Cloud API numbers).
  • If you resync with the same phone number and don't get the verification SMS or call, you can enter the latest PIN you received and it should work.

If you are not receiving messages sent to your WhatsApp number in TNTT AI Chatbot, please check the following points:

WhatsApp Cloud API Setup - Manual Sync Mode

  • Create one account new at https://developers.facebook.com or log in with account your existing
  • Create a new application and select Other (Other) do Application type (app type). Then select Business (Business). Enter a name for the application and select Account Business used for WhatsApp.
  • In TNTT AI Chatbot > Settings > WhatsApp > Cloud API Settings > Secret Key (TNNT AI Chatbot > Settings > WhatsApp > Cloud API settings > Secret key) enter a random string, then access https://developers.facebook.com/apps and select your app. Click Add product (Add product) and more WhatsApp, then access WhatsApp > Settings (WhatsApp > Configuration) and in Webhook URL Enter the URL you got from TNTT AI Chatbot > Settings > WhatsApp > Cloud API > Configuration URL (TNNT AI Chatbot > Settings > WhatsApp > Cloud API > Configuration URL). In Verification code (Verify token) Enter the secret key you entered earlier in TNTT AI Chatbot. Click Verify (Verify) and save, click Webhook fields > Manage (Webhook fields > Manage), enable the following Webhook fields: messages.
  • To verify the integration, simply visit https://developers.facebook.com and select your app. From there, click on “WhatsApp” in the left menu and then select “API Settings” (API Setup). Copy Phone number ID (Phone number ID) and paste it in TNTT AI Chatbot > Settings > WhatsApp > Cloud API Number > Phone Number ID (TNNT AI Chatbot > Settings > WhatsApp > Cloud API numbers > Phone number ID). Enter the desired phone number in the "To" field (Big), such as your personal WhatsApp number, and send a test message. Check account your WhatsApp and send a reply, that reply will appear in TNTT AI Chatbot. To answer the trial number from TNTT AI Chatbot, copy "Temporary Access Code" (Temporary access token) and paste it in TNTT AI Chatbot > Settings > WhatsApp > Cloud API Number > Code (TNNT AI Chatbot > Settings > WhatsApp > Cloud API numbers > Token).
  • To enable WhatsApp integration for all phone numbers and add a direct phone number, refer to the following instructions.
    • Access https://business.facebook.com and access Left menu > Settings > Business settings (Left menu > Settings > Business settings), then access Users > System Users (Users > System Users) to view your administrative system users, or create a new one. Open users and click Add assets (Add Assets), then select the application used for WhatsApp API integration and check Application Development (Develop App), or Full control (Full control). The system user needs to be an administrator. If you don't see the option, click Enterprise Settings (Business settings).
    • Click Left menu > Account > Apps (Left menu > Account > Apps). Select your app or add it. Make sure system user (system user) is there and has full control. If not, click Add user (Add user), select system user, click Full control (Full control), and click Assign (Assign).
    • Click Left menu > Applications (Left menu > Apps) and in Select assets (Select Assets) and select your app, activate Application Development (Develop App), or Full control (Full control) and save.
    • From Users > System Users (Users > System Users) select the user you just created and click Create new code (Generate New Token), click Application (Apps) and select the application used for WhatsApp API integration, set Code Expired (Token expiration) wall Never (Never), enable the following permissions: whatsapp_business_management, whatsapp_business_messaging, business_management. Click Generate code (Generate Token) and save. Paste the code in TNTT AI Chatbot > Settings > WhatsApp > Cloud API Number > Code (TNNT AI Chatbot > Settings > WhatsApp > Cloud API numbers > Token).
  • To add additional phone numbers, visit https://developers.facebook.com, select your app, and click Left menu > WhatsApp > API settings (Left menu > WhatsApp > API Setup). To get started, click Add phone number (Add phone number) at the bottom and follow the instructions provided.
    • After activating the number, copy Phone number ID (Phone number ID) and paste it in TNTT AI Chatbot > Settings > WhatsApp > Cloud API Number > Phone Number ID (TNNT AI Chatbot > Settings > WhatsApp > Cloud API numbers > Phone number ID).
    • If the number is in state waiting (pending), you need to go to your application dashboard and then from Left menu > WhatsApp > API settings (Left menu > WhatsApp > API Setup) click Generate access code (Generate access token).
    • Please note that if you use your existing WhatsApp business number in TNTT AI Chatbot, it will no longer be usable with your WhatsApp Business app, and you will need to migrate it accordingly. these instructions.

Set up 360dialog account

  • Access https://www.360dialog.com/ and create one account new.
  • Go to your dashboard and from Left menu > Account WhatsApp (Left menu > WhatsApp Accounts) create API Key (API key) and copy and paste it into TNTT AI Chatbot > Settings > WhatsApp > 360dialog Settings (TNNT AI Chatbot > Settings > WhatsApp > 360dialog settings).
  • Click TNNT AI Chatbot > Settings > WhatsApp > 360dialog Settings > Sync Now (TNNT AI Chatbot > Settings > WhatsApp > 360dialog settings > Synchronize now).
  • Done! TNTT AI Chatbot will start receiving WhatsApp messages sent to your number, and you can reply to those messages from TNTT AI Chatbot.
  • Note that you can also use account Free sandbox for testing, more details at https://docs.360dialog.com/whatsapp-api/whatsapp-api/sandbox. Account sandbox has limits and some feature, like multimedia attachments, will not work.

Set up a Twilio account

  • Access https://www.twilio.com and create one account new.
  • Verify your phone number.
  • Complete the form and select WhatsApp, Warnings & Notices (Alerts & Notifications), No code required (With no code at all), Third-party integration (3rd party integrations).
  • From Twilio Dashboard copy ACCOUNT SID and AUTH TOKEN and paste them in TNTT AI Chatbot > Settings > WhatsApp > Twilio Settings (TNNT AI Chatbot > Settings > WhatsApp > Twilio settings), save changes.
  • Now you will set up a account Free trial to run some tests and make sure the integration works with TNTT AI Chatbot. From the left menu click Messaging > Settings > WhatsApp Sandbox Settings (Messaging > Settings > WhatsApp sandbox settings) and enter WHEN A MESSAGE COMES IN (WHEN A MESSAGE COMES IN) and STATUS CALLBACK URL (STATUS CALLBACK URL) TNTT URL AI Chatbot, get it from TNNT AI Chatbot > Settings > WhatsApp > Twilio Settings > Get Configuration URL (TNNT AI Chatbot > Settings > WhatsApp > Twilio settings > Get configuration URL). Note that localhost won't work, you need a public URL and a live server.
  • From the left menu click Messaging > Try Now > Send WhatsApp Message (Messaging > Try it out > Send a WhatsApp message). Follow the instructions and send a message with the code to the provided WhatsApp number. Click the next buttons until the configuration is complete.
  • Done! TNTT AI Chatbot will start receiving WhatsApp messages sent to account sandbox, and you can reply to those messages from TNTT AI Chatbot.
  • To use the public WhatsApp integration with your customers, you also need to complete the steps below:
    • Update account yours and activate pay, you can do it here.
    • Buy a Twilio number, which will be your phone number. account Your official WhatsApp Business. More details here. You cannot use the phone number of account For existing WhatsApp Business, you must use a Twilio number. Learn more here.
    • From the Twilio dashboard, go to Messaging > Services (Messaging > Services) and create one Messaging service (Messaging Service). Click Add sender (Add Senders), select WhatsApp Number (WhatsApp Number) as the sender type, and add the Twilio number you purchased. Copy Service SID and paste it in TNTT AI Chatbot > Settings > WhatsApp > Twilio Settings > Sender (TNNT AI Chatbot > Settings > WhatsApp > Twilio settings > Sender).

Sample

According to WhatsApp Business Policy, you cannot send marketing messages and solicitations out to end users. End users must contact with you first. You have 24 hours from the time the end user's message is sent from WhatsApp to respond to the message. To contact a user who has never contact with you before or have not been in contact for more than 24 hours, you must choose a backup text message or WhatsApp message template.

Backup text messages

To enable backup text messages, you must set up SMS in Settings > Notifications > Text Message Notifications (Settings > Notifications > Text message notifications). More details here.

WhatsApp Message Template

A WhatsApp message template is a message format that you can use repeatedly to message users after they have given your app permission to send them messages. You cannot type the original message into the template, you must use it to notify users of a new message and instruct them how to view it, for example by providing a link to your website where the chat is displayed.

WhatsApp Cloud API
  • To get Model name (Template name) and manage templates, access https://business.facebook.com and access Left menu > Settings > Other system settings (Left menu > Settings > More system settings), then access Account > WhatsApp Account > Settings (Accounts > WhatsApp accounts > Settings) and click WhatsApp Management (WhatsApp Manager).
  • In Pattern language (Template languages), enter all the language codes supported by your template, separated by commas. List of language codes here (copy only the language code, e.g. it, es, en_US). If you use a template that supports multiple languages, the appropriate language for the user will be automatically selected. Otherwise, the default template language will be used.
  • In Title variable (Header variables) and Content variable (Body variables), enter values separated by commas, you can use the following case: {recipient_name}, {recipient_email}. The number of parameters entered here must match the number of parameters of the template. Use feature this if your template uses dynamic values. For image title, pass the image URL as the first parameter. The order is important, the first case will be used as the first template parameter.
  • In Button variables (Button variables), enter the link of your custom buttons, or the text of the quick replies with the prefix quick_reply_, for example: quick_reply_abcde. Each value must be separated by a comma. The number of parameters entered here must match the number of parameters in the template. If there are buttons or calls to action with static values such as a static URL, enter skip_parameter. The order is important, the first case will be used as the first template parameter.
Backup template

Set WhatsApp template sent as backup from Settings > WhatsApp > Cloud API Backup Template (Settings > WhatsApp > Cloud API template fallback). If you use multiple numbers with the Account WhatsApp business is different, a separate template must be created for each Account WhatsApp Business, you can set a different template for each number but the template name and language code must be the same. Button sample (test template), send a sample from the first issue.

Send template messages to users who have not contacted you before
  • In Settings > WhatsApp > Cloud API Settings > ID Account Business (Settings > WhatsApp > Cloud API settings > Business Account ID) enter ID Account Business (Business Account ID) yours. Provide ID Account Business (Business Account ID), can be taken from https://developers.facebook.com. Select your app and access Left menu > WhatsApp > API settings (Left menu > WhatsApp > API Setup).
  • To send the template to specific users, go to the User (Users) of TNTT AI Chatbot and select the intended recipients. Then, click on the WhatsApp icon located in the upper right corner.
  • If you use the WhatsApp Cloud API with a template that supports multiple languages, the appropriate language for the user will be automatically selected. Otherwise, the default template language will be used.
  • If you use Twilio and have parameters in your template, enter the parameter values separated by commas in the Content (Body).
  • For more details, click here.
Twilio

Enter Template SID and the sample attributes separated by commas into TNTT AI Chatbot > Settings > Twilio Templates (TNNT AI Chatbot > Settings > Twilio template).

360dialog
  • Get value Namespace from Left Menu > WhatsApp Account > Details (Left menu > WhatsApp accounts > Details).
  • Take Model name (Template name) and Sample default language (Template default language) from your 360dialog template area.
  • In Custom parameters (Custom parameters), enter values separated by commas, you can use the following case: {recipient_name}, {recipient_email}. Use feature this if your template uses dynamic values. The order is important, the first case will be used as the first dynamic value of the template.
  • TNNT AI Chatbot will try to use the template with the same language as the user, if not available it will use the template with the default language. The following template languages are not compatible: en_GB (use en_US), pt_PT (use pt_BR), zh_HK and zh_TW (use zh_CN), es_AR and es_MX (use es_ES).

WhatsApp Flows

For more details about WhatsApp Stream, click here.

Integrated Stream

TNNT AI Chatbot automatically create and send the following streams. To recreate a stream, click the button Settings > WhatsApp > Clear thread (Settings > WhatsApp > Clear flows).

  • Registration - This stream is sent when a new user sends their first message to a WhatsApp number, and optionally Settings > Users > Require Registration (Settings > Users > Require registration) is activated.
  • Follow-up - This stream is sent if optional Settings > Messages & Forms > Follow-up Messages (Settings > Messages & Forms > Follow-up message) is enabled and the user does not have an email address.

Send custom stream

To send a custom stream, use the case {wa_flow id="123" header="" body="" button=""}. Replace 123 by stream ID and enter text for properties header, body, and button.

WhatsApp Store

To display products of shop, use the following cases.

case Describe
{catalog id="123" product_id="123" body="" footer=""} Show a single product. Replace id by category ID and product_id by product ID. Attributes body and footer is optional.
{catalog id="123" product_id_1_1="123" product_id_1_2="123" product_id_2_1="123" section_1="" section_2="" header="" body="" footer=""} Show multiple products. Replace id by category ID. Add products by grouping them into sections, via attributes product_id_[A]_[B], replace [A] with the part index, starting from 1, replace [B] with the product index, starting from 1 for each part. You must also add the attribute section_[A]="" For each section, replace [A] with the section index. Attributes header and body is required, footer is optional.
  • When a user submits an order, the order information is sent to the URL specified in Settings > WhatsApp > Order Webhook (Settings > WhatsApp > Order webhook). The page at that URL should process the order and send a message to the user via the PHP API function sb_whatsapp_send_message().

More information

  • You cannot send a WhatsApp message to a user who has messaged you more than 24 hours ago or has never messaged you before. WhatsApp prohibits this action. Instead, you must use WhatsApp Template or send one text message. If you get the error "Error Message: Re-engagement", it indicates this situation.
  • If you are not receiving WhatsApp messages, make sure you are not assigning WhatsApp chats to a Department and the WhatsApp number used for testing is not the phone number of an admin or TNTT staff AI ChatbotAlso, make sure you have set up the correct WhatsApp webhook URL.
  • If you are unable to send messages, an error will appear in the admin area when you try to send a message to a user.
  • We cannot provide support for Twilio or 360dialog configuration, including all related issues.
  • We are unable to provide assistance in obtaining approval. account WhatsApp or your WhatsApp message template.
  • WhatsApp chats and messages are compatible with Queuing and Routing.
  • If you are testing with the sandbox and after 72 hours you can no longer send messages to your phone number, you must re-associate your phone number with the sandbox.
  • You can send Rich Messages to WhatsApp. If you send chips, buttons or choose Rich Messages, with more than 3 options, you can use the shortcode attribute whatsapp="Your menu text" to set the text of the WhatsApp message menu.
  • Follow up message supported, but the message is always sent, even if an agent answers.
  • Offline Messages supported, but schedule is not sent.
  • Chatbots supported. Features Human Takeover is also supported. To enable support chatbot Dialogflow for audio messages, triggers Settings > Artificial Intelligence > OpenAI > Speech Recognition (Settings > Artificial Intelligence > OpenAI > Speech recognition).
  • The feature Supported AI includes language detection (language detection), correct spelling (spelling correction), Multilingual through translation (multilingual via translation), Google search (Google search).
  • Twilio and 360dialog have several limitations. For example, Twilio does not support messages longer than 1600 characters. We recommend using the official WhatsApp API.
MESSENGER

Messenger

The settings below are related to the Messenger app.

Setting

  • From Settings > Apps (Settings > Apps), click Messenger and enter your license key to install and activate the application. More details here. If you have cloud version, click Activate (Active).

Automatic Sync Mode

  • Complete the sync process by selecting at least 1 Facebook page and entering the return information in Settings > Messenger > Facebook Page (Settings > Messenger > Facebook pages).
  • Done! All messages are sent to Facebook pages and account The Instagram you selected will appear in the TNTT chat admin area. AI Chatbot. Note that only new messages will be synced, old messages will not be imported.

Manual sync mode

  • Create one account new at https://developers.facebook.com/ or log in with account your existing
  • Create a new application and select Other (Other) do Application type (app type). Then select Business (Business). Enter a name for the app and skip selecting any Business categories.
  • From the left menu, click Add product (Add product). Select Messenger.
  • In the section Webhook configuration (Configure webhooks), click Configuration (Configure).
    • Take Callback URL (Callback URL) from Settings > Messenger > Messenger and Instagram Settings > Get Configuration URL (Settings > Messenger > Messenger and Instagram settings > Get configuration URL).
    • Put Verification code (Verification Token) in Settings > Messenger > Messenger & Instagram Settings > Secret Key (Settings > Messenger > Messenger and Instagram settings > Secret key) and save the changes, then use it to verify the webhook.
    • In Webhook Field (Webhook Fields), select the following items: inbox_labels, message_deliveries, message_echoes, message_reactions, message_reads, messages, messaging_account_linking, messaging_handovers, messaging_optins, messaging_policy_enforcement, messaging_postbacks, messaging_referrals.
  • In the section Generate access code (Generate access tokens), click Connect (Connect). Select the pages you want to sync and complete the process.
    • In column Sign up for Webhook (Webhook Subscription), click Add registration (Add Subscriptions). Select the ranges you want: messages, messaging_postbacks, messaging_optins, message_reads, message_echoes.
    • In column Code (Tokens), click Create (Generate). Copy the access code provided and paste it into Settings > Messenger > Facebook Page (Settings > Messenger > Facebook pages).
    • Copy Page ID (Page ID) and Page Name (Page Name) and paste them in Settings > Messenger > Facebook Page (Settings > Messenger > Facebook pages).
    • Repeat these steps for all pages.
  • Save the changes and you're done. The final step is to place the app in Direct mode (Live mode).
  • If you want to sync Instagram, follow these steps:
    • From the left menu, click Messenger > Instagram Settings (Messenger > Instagram settings).
    • In the area Webhook configuration (Configure webhooks), click Configuration (Configure). Repeat the steps you performed earlier for Messenger.
    • In the area Sign up for Webhook (Webhook Subscription), click Add registration (Add Subscriptions). Select the following ranges: messages, messaging_postbacks, messaging_optins, messaging_seen.
    • Enter your Instagram ID Settings > Messenger > Facebook Page > Instagram ID (Settings > Messenger > Facebook pages > Instagram ID). To get it, open your web browser and enter the following URL: https://graph.facebook.com/FACEBOOK-PAGE-ID/?access_token=ACCESS-TOKEN&fields=instagram_business_account. Replace FACEBOOK-PAGE-ID and ACCESS-TOKEN using the Page ID and corresponding access token from the Facebook page associated with Instagram.
    • Save the changes and you're done. The final step is to place the app in Direct mode (Live mode).
  • Your application must be in Direct mode (Live mode). To do that, your app must be submitted for review and approved by Meta. for the review process. Please note that this process is not supported by us. If you need assistance, you can hire us.

Instagram

To link Instagram with Facebook and TNTT pages AI Chatbot, follow the steps below.

  • Go to the Settings area of your Facebook Page and click Left menu > Instagram (Left Menu > Instagram) (https://www.facebook.com/YOUR-PAGE-SLUG/settings/).
  • Click Connect account (Connect account) and complete the setup.
  • Resync Messenger with TNT AI Chatbot and you're done. Note that only new messages will be synced, old messages will not be imported.

Information

  • If you don't receive Instagram messages:
    • Ensure activation Settings > Privacy > Messages & Forms > Connected Tools - Allow Access (Settings > Privacy > Messages & Forms > Connected tools - Allow access) from the Instagram app on your phone.
    • Ensure account Your Instagram is not set up as a account professional, it must be account business
    • Access Meta Business Suite, select account your, and access Users > Everyone (Users > People). In Account Instagram (Instagram account), click Manage (Manage) and make sure all permissions are enabled.
  • If you're not receiving Facebook Messenger messages, make sure your Facebook page isn't sending automated replies, such as welcome messages.
  • In case you experience duplicate messages or constant chat loop between chatbot and Instagram messages, you are having problems due to the presence of two TNTT settings AI Chatbot or account TNNT AI Chatbot Cloud sync with the same account Instagram. To fix, visit the TNTT admin area AI Chatbot Second, navigate to Settings > Messenger > Facebook Page (Settings > Messenger > Facebook pages), clear value Instagram ID and save the changes. Try clicking the button Unsubscribe (Unsubscribe).
  • Button Unsubscribe (Unsubscribe) Remove webhook subscriptions from all your Facebook pages, useful if you want to stop receiving messages from a Facebook page.
  • Each TNTT user AI Chatbot There is only 1 Facebook chat and 1 Instagram chat.
  • The Rich Messages of TNTT AI Chatbot automatically converted to Facebook Rich Messages when possible, some parts of Rich Messages may be removed or changed. Buttons, chips, and selections support up to three selections and are only supported in the Instagram mobile app.
  • Only private Facebook messages will be sent to your group inbox. If someone posts a Facebook message on your wall, it won't appear in your group inbox.
  • When someone sends a message to your company Facebook page or account your Instagram, they will be designated as leads in TNTT AI Chatbot. You can only see the user's Facebook or Instagram name and profile picture.
  • Messenger chats and messages are compatible with Queuing and Routing.
  • Chatbots supported. Features Human Takeover also supported.
  • The feature Supported AI includes language detection (language detection), correct spelling (spelling correction), Multilingual through translation (multilingual via translation), Google search (Google search).
  • If chatbot is enabled, it is necessary to turn off any automatic replies on Facebook Messenger, such as welcome messages.
  • Follow up message supported, but the message is always sent, even if an agent answers.
  • Offline Messages supported, but schedule is not sent.
  • Only 1 account Facebook can be synchronized, to link pages from multiple account Facebook, accounts are synchronized in TNTT AI Chatbot must be an administrator of all Facebook pages of the account Facebook is different.
  • Using Instagram and Facebook Messenger integration does not incur additional costs.
  • If the message exceeds 1000 characters, only the first 1000 characters will be transmitted due to character limit.
  • Only new messages, sent after sync, will be synced, old messages will not be imported.
  • Request to delete user data (User Data Deletion Request) ( cloud version only): To delete all your data from TNTT AI Chatbot, click Settings > Messenger > Unsubscribe (Settings > Messenger > Unsubscribe) then delete account your from This.
TWITTER

Twitter

The settings below are related to the Twitter application.

Setting

  • Register at https://developer.twitter.com. Make sure to verify your phone number at https://twitter.com/settings/phone otherwise the registration process will fail.
  • Create your first app by entering an app name and clicking Get the key (Get keys), copy API Key (User Key) (API Key (Consumer key)) and API Key Secret (User Secret) (API Key Secret (Consumer secret)) and paste them in TNTT AI Chatbot > Settings > Twitter (TNNT AI Chatbot > Settings > Twitter).
  • Request access Advanced (Elevated) from https://developer.twitter.com/en/portal/products/elevated. Click Register for Advanced Rights (Apply for Elevated) and complete the form as follows: In the first area In your words (In your words) and in Does your app use Tweet, Retweet, Like, Follow, or Direct Message functionality? (Will your app use Tweet, Retweet, Like, Follow, or Direct Message functionality?) enter I need access to the Activity API Account to start receiving Twitter Direct Messages into my chat software (TNNT AI Chatbot) and answer them directly from TNTT AI Chatbot, details at https://chatbot.tnnt.vn/twitter.. Disable all other fields by clicking No: Do you plan to analyze Twitter data?, Do you plan to display Tweets or aggregated data about Twitter content outside of Twitter?, Does your product, service, or analysis provide Twitter content or inferred information to a government entity?
  • Wait a few days for Twitter to review and approve Advanced access, you will receive an email from Twitter.
  • Once you have Advanced access, go to the developer console (https://developer.twitter.com/en/portal/dashboard) and from the left menu click Products > Premium > Development Environment (Products > Premium > Dev environments) and in API Operations Account / Sandbox (Account Activity API / Sandbox) click Setting up the development environment (Set up dev environment), in Development environment label (Dev environment label) enter sb or the same value as entered in Settings > Twitter > Sync > Development Environment Labels (Settings > Twitter > Synchronization > Dev environment label).
  • Access the area Setting (Settings) of the application from Left menu > Projects & Apps > Your Projects > Your Apps (Left menu > Projects & Apps > Your project > Your app) and in User authentication settings (User authentication settings) click Establish (Set up) and activate OAuth 1.0a. In Application Permissions (App permissions) select Read and Write and Direct Messages (Read and write and Direct messages), in Callback URI / Redirect URL (Callback URI / Redirect URL) enter the URL you got from TNTT AI Chatbot > Settings > Twitter > Get Callback URL (TNNT AI Chatbot > Settings > Twitter > Get callback URL), in Website URL (Website URL) Enter your website URL.
  • Access the area Lock and code (Keys and tokens) of the application from Left menu > Projects & Apps > Your Project > Your Apps > Keys and Tokens (Left menu > Projects & Apps > Your project > Your app > Keys and tokens) and in Verification code (Authentication Tokens) create Access Code and Secret (Access Token and Secret), copy and paste them into TNTT AI Chatbot > Settings > Twitter (TNNT AI Chatbot > Settings > Twitter).
  • Enter your Twitter username TNTT AI Chatbot > Settings > Twitter > Your Username (TNNT AI Chatbot > Settings > Twitter > Your username). Take it from your Twitter profile page, copy the name that starts with @ or the part of the URL that contains your username. For example: https://twitter.com/tnnt1.
  • Save TNTT settings AI Chatbot and click the button TNTT AI Chatbot > Settings > Twitter > Sign Up (TNNT AI Chatbot > Settings > Twitter > Subscribe) and you're done. All messages are sent to account Your Twitter will be TNTT AI Chatbot receive.

More information

  • If you receive duplicate messages, account The Twitter you are using for testing may be similar to account You are already in sync. Try sending a message from a account Other Twitter.
  • Use a direct domain name, localhost is not supported.
  • When you receive a message from a Twitter user, you can send up to 5 replies within 24 hours. You cannot send messages after 24 hours of receiving the Twitter message.
  • You can send up to 3 or 4 attachments depending on the media type.
  • The Rich Messages of TNTT AI Chatbot The following are not supported: image slider, slider, card.
  • Chatbots supported. Features Human Takeover also supported.
  • The feature Supported AI includes language detection (language detection), correct spelling (spelling correction), Multilingual through translation (multilingual via translation), Google search (Google search).
TELEGRAM

Telegram

The settings below are related to the Telegram app.

Setting

  • From Settings > Apps (Settings > Apps), click Telegram and enter your license key to install and activate the application. More details here. If you have cloud version, click Activate (Active).
  • Once the app is installed, access https://t.me/botfather.
  • If you have created a Telegram bot before, enter the command /mybots and open your bot, then click API Code (API token).
  • If you have never created a Telegram bot before, enter the command /newbot to create a new bot. BotFather will ask you for a name and username, enter them and generate a verification code. More details at https://core.telegram.org/bots.
  • Copy the code and paste it in TNNT AI Chatbot > Telegram > Code (TNNT AI Chatbot > Telegram > Token), then click Sync now (Synchronize now). Your website must use HTTPS (SSL certificate), HTTP is not supported.
  • Done! All messages sent to your Telegram bot will appear in the TNTT chat admin area AI Chatbot.

More information

  • The Rich Messages of TNTT AI Chatbot are automatically converted to Telegram Rich Messages when possible, otherwise they are removed from the message.
  • Telegram chats and messages are compatible with Queuing and Routing.
  • Chatbots supported. Features Human Takeover also supported.
  • The feature Supported AI includes language detection (language detection), correct spelling (spelling correction), Multilingual through translation (multilingual via translation), Google search (Google search).
  • Features Settings > OpenAI > Speech Recognition (Settings > OpenAI > Speech recognition) not supported for Telegram audio messages.
  • Follow up message supported, but the message is always sent, even if an agent answers.
  • Offline Messages supported, but schedule is not sent.
  • You can verify the webhook status from https://api.telegram.org/bot>(your_bot_token)/getWebhookInfo. Replace (your_bot_token) with your code.
VIBER

Viber

The settings below are related to the Viber application.

Setting

  • From Settings > Apps (Settings > Apps), click Viber and enter your license key to install and activate the application. More details here. If you have cloud version, click Activate (Active).
  • Create bot at https://partners.viber.com/account/create-bot-account.
  • Copy the code and paste it in TNTT AI Chatbot > Viber > Code (TNNT AI Chatbot > Viber > Token), then click Sync now (Synchronize now). Your website must use HTTPS (SSL certificate), HTTP is not supported.
  • Done! All messages sent to your Viber bot will appear in TNTT's chat admin area AI Chatbot.

More information

  • The Rich Messages of TNTT AI Chatbot are automatically converted to Viber Rich Messages when possible, otherwise they are removed from the message.
  • Viber chats and messages are compatible with Queuing and Routing.
  • Chatbots supported. Features Human Takeover also supported.
  • The feature Supported AI includes language detection (language detection), correct spelling (spelling correction), Multilingual through translation (multilingual via translation), Google search (Google search).
  • Follow up message supported, but the message is always sent, even if an agent answers.
  • Offline Messages supported, but schedule is not sent.
SLACK

Slack

The settings below are related to the Slack app.

Setting

  • From Settings > Apps (Settings > Apps), click Slack and enter your license key to install and activate the application. More details here. If you have cloud version, click Activate (Active).
  • Once the app is installed, access Settings > Slack (Settings > Slack), click the button Sync now (Synchronize now) and follow the instructions.

Having trouble?

Slack syncing can fail for a number of reasons; here are the most common:

Problem description Solution
You can receive messages on Slack, but you can't send messages from Slack to TNTT AI Chatbot Access /apps/slack/post.php from your browser. Additionally, in Workspace Settings > Permissions (Workspace Settings > Permissions), you must allow people to create public channels. If you have further problems, please contact with the Slack support team at https://api.slack.com/support.
Slack sync not working Double check that you selected a public Slack channel when you tried to sync Slack. If not, try syncing Slack again, this time selecting a public channel. The public channel is a good choice.

Manual channel storage

To archive a channel in Slack, follow these steps:

  • Open the Slack channel you want to archive.
  • In the upper right corner, click the gear icon and select Additional options (Additional options).
  • Click the information icon in the upper right corner of the screen, then click Other icons (More icons), and then click Additional options... (Additional options...). Click Archive this channel (Archive this channel).

Department Links

If optional Settings > Slack > Links Department (Settngs > Slack > Department linking) is triggered, when a conversation in TNTT AI Chatbot assigned to one Department, a new message will be sent to the associated Slack channel, notifying the Slack user that a new conversation has started and inviting them to join the user's dedicated Slack channel. However, the entire conversation can only be accessed on the specific user's dedicated Slack channel.

  • Get ID Department from Settings > Magazine > Department (Settings > Miscellaneous > departments).
  • Get channel ID by clicking the button Get Channel ID (Get channel IDs).

User fields

Options Settings > Slack > User Fields (Settings > Slack > User fields) allows you to choose which user details to include in the message sent to the main channel when a new user sends their first message. You can include the custom user details slug or the following slugs: browser, browser_language, location, e-mail, user_type, token, creation_time, country_code, current_url, OS, city, address, postal_code, phone, birthdate, company, Timezone, website. Default: email, browser, browser_language, location.

Information

  • When a new user sends their first message, a Slack message with the user details and a button to join the user's channel will be sent to the primary channel selected during sync, or to the channel associated with the user. Department of the conversation. Only account Slack used during sync will automatically join the user's channel, other Slack members will have to manually join via the button.
  • When Settings > Slack > Employee Links (Settings > Slack > Agent linking) is set, if the conversation is assigned to a Department, only employees assigned to Department that will receive the message, if the conversation is assigned to a single employee then only that employee will receive the message.
  • Slack is free to use. Only large companies may need a paid subscription, more details here.
  • Push notifications are compatible with Slack, when employees send messages via Slack, push notifications are sent to users.
  • If you are using Dialogflow, no messages will be received in Slack if chatbot know the answer. When Human Takeover enabled, all messages from the chat will be sent to Slack.
  • Slack app compatible with email forwarding and messaging apps.
  • Delete or leave an unsupported channel, only archive supported channels.
  • When a conversation is stored in TNTT AI Chatbot, the associated Slack channel is also archived.
  • When replying via Slack to a user, if the user is notified via email or text message, a Slack message will be sent to notify you.
  • Using Slack Commands /archive to archive a conversation from Slack.
LINE

LINE

The settings below are related to the LINE app.

Setting

  • From Settings > Apps (Settings > Apps), click LINE and enter your license key to install and activate the application. More details here. If you have cloud version, click Activate (Active).
  • Log in at https://developers.line.biz/console/ or create one account new.
  • Create one Supplier (Provider) new and then create a Messaging API Channel (Messaging API channel), select Messaging API (Messaging API) make channel
  • From the area Basic Settings (Basic settings) of channel, copy Channel Secret (Channel secret) and paste it in TNTT AI Chatbot > Settings > Line > Sync > Channel Secret (TNNT AI Chatbot > Settings > Line > Synchronization > Channel secret).
  • From the area Messaging API (Messaging API) of the channel, create a Channel access code (long term) (Channel access token (long-lived)), copy and paste it into TNTT AI Chatbot > Settings > Line > Sync > Access Code (TNNT AI Chatbot > Settings > Line > Synchronization > Access token).
  • Enter your Webhook URL Webhook URL (Webhook URL) and click Verify (Verify). Get Webhook URL from TNTT AI Chatbot > Settings > Line > Sync > Webhook URL (TNNT AI Chatbot > Settings > Line > Synchronization > Webhook URL).
  • Activate Using webhooks (Use webhook).
  • Sweep QR Code (QR code) using the LINE app on your phone to start messaging your channel.
  • Turn off settings Auto reply message (Auto-reply messages).
  • Done! All messages sent to account Your LINE bot will appear in the TNTT chat admin area AI Chatbot.

More information

  • You have 7 days from when the end user message is sent from WhatsApp to reply to the message.
  • Stickers are not supported.
  • The Rich Messages of TNTT AI Chatbot are automatically converted to LINE Rich Messages when possible, otherwise they will be removed from the message.
  • LINE chats and messages are compatible with Queuing and Routing.
  • Chatbots supported. Features Human Takeover also supported.
  • The feature Supported AI includes language detection (language detection), correct spelling (spelling correction), Multilingual through translation (multilingual via translation), Google search (Google search).
  • Follow up message supported, but the message is always sent, even if an agent answers.
  • Offline Messages supported, but schedule is not sent.
WECHAT

WeChat

The settings below are related to the WeChat application.

Setting

  • From Settings > Apps (Settings > Apps), click WeChat and enter your license key to install and activate the application. More details here. If you have cloud version, click Activate (Active).
  • Access https://mp.weixin.qq.com/cgi-bin/readtemplate?t=register/step1_tmpl&lang=en_US and register one Account Service (Service account).
  • After registration, access the area Account official (Official accounts) and from the left menu click Settings and Development > WeChat Verification (Settings and development > WeChat verification). You must complete verification, which takes several weeks and costs USD 99, or CNY 300 for Chinese entities.
  • From the left menu click Installation and Development > Basic Configuration (Settings and development > Basic configuration) and copy Developer ID (App ID) (Developer ID(App ID)), Developer Password (App Secret) (Developer Password(App Secret)). Paste the information in TNTT AI Chatbot > Settings > WeChat (TNNT AI Chatbot > Settings > WeChat).
  • From the left menu click Installation and Development > Basic Configuration (Settings and development > Basic configuration) and complete the server configuration (服务器配置(已启用)). In Server Address (URL) (Server Address(URL)) enter the URL you got from TNTT AI Chatbot > Settings > WeChat > Sync > Get Configuration URL (TNNT AI Chatbot > Settings > WeChat > Synchronization > Get configuration URL). In Code (Token) Enter any value you want, this value must be entered the same in TNTT AI Chatbot > Settings > WeChat > Code (TNNT AI Chatbot > Settings > WeChat > Token).
  • Done! All messages sent to account Your WeChat will appear in TNTT's chat admin area. AI Chatbot.

More information

  • If you get an error like
    {"error code":41001,"errmsg":"access_token missing rid: 631111-470b3b22-48553870"}
    , you need to whitelist your server IP address from Official Account > Settings and Development > Basic Configuration > IP Whitelist (Official Account > Settings and Development > Basic Configuration > IP whitelist).
  • WeChat files and location attachments are not supported and are not TNTT AI Chatbot receive.
  • Links are not supported in WeChat, they are converted to text.
  • The Rich Messages of TNTT AI Chatbot are automatically converted to WeChat Rich Messages when possible, otherwise they are removed from the message.
  • WeChat chats and messages are compatible with Queuing and Routing.
  • Chatbots supported. Features Human Takeover also supported.
  • The feature Supported AI includes language detection (language detection), correct spelling (spelling correction), Multilingual through translation (multilingual via translation), Google search (Google search).
  • Follow up message supported, but the message is always sent, even if an agent answers.
  • Offline Messages supported, but schedule is not sent.
ZALO

Zalo

The settings below are related to the Zalo application.

Setting

  • From Settings > Apps (Settings > Apps), click Zalo and enter your license key to install and activate the application. More details here. If you have cloud version, click Activate (Active).
  • Register at https://developers.zalo.me/ and create one Application (App) new. Enter the required information and save.
  • Copy Application ID (Application ID) and Application Secret Key (Application secret key) from the app you just created and paste them in TNTT AI Chatbot > Settings > Sync > Zalo (TNNT AI Chatbot > Settings > Synchronization > Zalo).
  • From the left menu click Webhook (Webhooks) and set URL, get URL from TNTT AI Chatbot > Settings > Zalo > Sync > Webhook URL (TNNT AI Chatbot > Settings > Zalo > Synchronization > Webhook URL).
  • From the left menu click Webhook (Webhooks), copy OA Secret Key (OA Secret Key) and paste it in TNNT AI Chatbot > Settings > Zalo > Sync > OA Secret Key (TNNT AI Chatbot > Settings > Zalo > Synchronization > OA secret key).
  • From the left menu click Webhook (Webhooks) and activate the webhook event (webhook events) after: user_send_location, user_send_image, user_send_link, user_send_text, user_send_sticker, user_send_gif, user_received_message, user_seen_message, oa_send_text, oa_send_image, oa_send_list, oa_send_gif, user_send_audio, user_send_video, user_send_file, user_reacted_message, user_received_message.
  • From the left menu click Official Account > OA Management (Official Account > OA Management) and link Account Yours officially.
  • From the top menu click Tools > API Explorer (Tools > API Explorer) or access https://developers.zalo.me/tools/explorer/. With Access Code Type (Access token type), select OA Access Code (OA Access Token), click Get Access Code (Get Access Token) and select Account Yours officially. Copy Refresh Code (Refresh token) and paste it in TNTT AI Chatbot > Settings > Zalo > Sync > Refresh code (TNNT AI Chatbot > Settings > Zalo > Synchronization > Refresh token). More details here.
  • From the left menu click Role (Role) and add a test user as an administrator. You will use this user to send messages to Account Official your Zalo and test the integration.
  • From the left menu click Sign up to use API > API Account Official (Sign up to use API > Official AccountAPI), activate User Management (User Management) and click Submit for review (Submit for review).
  • Done! All messages sent to Account Your official Zalo will appear in TNTT's chat management area. AI Chatbot.

More information

  • You need one Account Official Zalo to use this integration. TNTT AI Chatbot will receive messages sent to Account Your official Zalo.
  • Rich Messages slider send only the first element to Zalo.
  • The Rich Messages of TNTT AI Chatbot automatically converted to Zalo Rich Messages when possible.
  • Zalo chats and messages are compatible with Queuing and Routing.
  • Chatbots supported. Features Human Takeover also supported.
  • The feature Supported AI includes language detection (language detection), correct spelling (spelling correction), Multilingual through translation (multilingual via translation), Google search (Google search).
  • Follow up message supported, but the message is always sent, even if an agent answers.
  • Offline Messages supported, but schedule is not sent.
Zendesk

Zendesk

The settings below are related to the Zendesk app.

Setting

  • From Settings > Apps (Settings > Apps), click Zendesk and enter your license key to install and activate the application. More details here. If you have cloud version, click Activate (Active).
  • Take Domain Name (domain) From the URL of your Zendesk admin area, copy the first part of the URL: https://Domain Name.zendesk.com/. For example, the domain name of https://tnnt.zendesk.com/agent/get-started/ticketing-system/ticketing-intro To be tnnt.
  • Take API Key (API key) from Left menu > Admin > Channel > API > Settings (Left menu > Admin > Channels > API > Settings). Click Add API code (Add API token).
  • Email (e-mail) is email account Your Zendesk.

More information

  • Tickets converted by TNTT AI Chatbot automatically synchronized when new messages are sent and received in TNTT AI Chatbot, and they are associated with an existing Zendesk user if available, otherwise a new Zendesk user is created.
  • TNNT AI Chatbot Link Zendesk users to TNTT users AI Chatbot via email or phone number.
OpenCart

OpenCart

The settings below are related to OpenCart application.

Setting

  • From Settings > Apps (Settings > Apps), click Martfury and enter your license key to install and activate the application. More details here. If you have cloud version, click Activate (Active).
  • Once the app is installed, access Settings > OpenCart (Settings > OpenCart) and enter OpenCart information. To get User name (Username) and API Key (API key), go to OpenCart admin area and access System > Users > API (System > Users > API). You will see a predefined user named Default (Default). Edit it to create an API key, then set Status (Status) wall activate (enable)Next, add your IP to the API access whitelist.
  • With a file manager or FTP, edit the file catalog/controller/common/header.php in the OpenCart installation directory and add the following key-value pair to the variable $data:
    $data['tnnt'] = $this->customer->getFirstName() ? 'var SB_DEFAULT_USER = { first_name: "' . $this->customer->getFirstName() . '", last_name: "' . $this->customer->getLastName() . '", email: "' . $this->customer->getEmail() . '", extra: { opencart_id: ["' . $this->customer->getId() . '|' . (set($_COOKIE['OCSESSID']) ? $_COOKIE['OCSESSID'] : '') . '", "Open Cart ID"], phone: ["' . $this->customer->getTelephone() . '", "Phone"], opencart_store: ["' . $this->config->get('config_name') . '", "OpenCart Store"], opencart_store_url: ["' . $_SERVER['HTTP_HOST'] . '", "OpenCart Store URL"] } };' : '';
  • Edit file /catalog/view/theme/default/template/common/header.twig and more into a position on the card . Note that if you are not using the default interface, the path will be different.
  • Visit the page Extensions (Extensions) of OpenCart and click the button in the upper right corner Update (Update).
  • Download file sb.php and upload it catalog/controller/api.

More information

  • This application supports OpenCart Multistore.
  • When updating OpenCart, you have to reapply the above code.
  • Currently only OpenCart 3 is supported.
CLOUD VERSION

Cloud version

The information in this section pertains only to the cloud version of TNTT. AI Chatbot, accessible at https://chatbot.tnnt.vn.

Credit

Credit can only be used within cloud version of TNTT AI Chatbot. Credits are used by the following functions, in synchronous mode only Automatic (Automatic).Synchronization mode Handmade (Manual) no credit used. If you don't want to use credit, you can use sync mode Handmade (Manual) and your API keys.

  • Artificial Intelligence > Google > Chatbot Dialogflow (Artificial Intelligence > Google > Dialogflow chatbot) and Automatic translation (Automatic Translations), Language detection (Language detection), Multilingual through translation (Multilingual via translation).
  • Artificial Intelligence > OpenAI > Chatbots (Artificial Intelligence > OpenAI > Chatbot) and Correct Spelling Errors (Spelling correction), Rewrite message button (Message rewrite button), Voice recognition (Speech recognition).

You can change the sync mode at any time from Settings > Artificial Intelligence > OpenAI > Sync Mode (Settings > Artificial Intelligence > OpenAI > Sync mode) or Settings > Artificial Intelligence > Google > Sync Mode (Settings > Artificial Intelligence > Google > Sync mode).

Price

Credit must be purchased from https://chatbot.tnnt.vn/account?tab=membership. Below are the costs of credit usage functions.

  • Dialogflow ES $0.004 per request.
  • Dialogflow CX $0.014 per request.
  • Dialogflow ES Audio Messages $0.000866 per second of audio.
  • Dialogflow CX Audio Messages $0.002 per second of audio.
  • Google Translate $0.00004 per character.
  • OpenAI gpt-3.5-turbo-instruct 0.000004 USD per token.
  • OpenAI gpt-3.5-turbo 0.000004 USD per token.
  • OpenAI gpt-4 0.00012 USD per token.
  • OpenAI gpt-4-32k $0.00024 per token.
  • OpenAI text-embedding-3-small 0.00000004 USD per token.
  • OpenAI audio-to-text whisper $0.0002 per second of audio.

Information

  • When your credit runs out, if feature If auto reload is not enabled, you will be notified by email. You will receive a maximum of two notification emails. Enable auto reload to avoid running out of credits.
  • When auto reload is enabled, credits will be reloaded when it falls below 1.

Information

  • You can find API Code (API token) in https://chatbot.tnnt.vn/account/?tab=installation.
  • You can switch between the account without logging out and logging back in by adding the account enter Settings > Administration > Conversions account (Settings > Admin > Switch accounts).
  • The cloud version is hosted on our Amazon AWS servers.
  • If you encounter a white screen when accessing the cloud version, add the URL property reset-login enter the URL and reopen it. For example: https://chatbot.tnnt.vn/?reset-login.
MISCELLANEOUS

Other Features/Miscellaneous

This section contains instructions for the feature other than those listed above.

Progressive Web Apps

TNTT Administration Area AI Chatbot is a PWA, which means you can install it on your desktop, Mac, iPhone, or mobile device and use it as a fully functional app. Note: This feature is optimized for Google Chrome and Safari. PWAs are supported on all versions of TNTT AI Chatbot.

Install on desktop

Go to your admin area (https://chatbot.tnnt.vn), and click on the icon + in the upper right corner of the URL bar on the Chrome browser.

Install on Mobile - Android and Windows - All Versions

  • Access your admin area using Google Chrome (https://chatbot.tnnt.vn/)
  • Open your browser settings.
  • Scroll down and tap Add to home screen (Add to Home screen).
  • Confirm by tapping Add.

Install on mobile - iPhone or Mac - All versions

  • Access your admin area using Safari (https://chatbot.tnnt.vn/)
  • Press the button Share (Share) and select Add to Home Screen (Add to Home Screen) from the pop-up window.
  • Touch More (Add) in the upper right corner to complete the PWA installation.

Keyboard Shortcuts

The shortcuts in the admin area are enabled on both PC and Mac and work as follows:

Keyboard Shortcuts Describe
ENTER
or
SPACE
Confirm or close a dialog warning; similar to clicking OK.
ESC
or
CANCEL
Dismiss a dialog warning and close it.
SHIFT + ENTER or
CTRL + ENTER
Add a new line to the message. Only works in the admin editor.
ESC
Close a lightbox.
CANCEL
In the admin chat area, archive a chat or delete it.
CTRL + UP/DOWN ARROW
In the admin chat area, move between chats in the list.
CTRL + RIGHT/LEFT ARROW
In the admin user area, move between users.
CTRL + V
Paste an image from the clipboard and send it as a message.
CTRL + Left Click
To perform actions like archive, delete, mark as read or unread on chats in the admin area, press and hold the CTRL button while selecting them from the list on the left.

URL parameters

User Interface Chat

URL parameters allow chat to perform specific actions when the page loads. To use, add the following URL parameters to any URL on your site that displays chat. For example: https://example.com/?conversation=1234

URL parameters Describe
?token=TOKEN
Log in an existing user. Replace TOKEN with the user's code. Get the code from the user profile box in the admin area.
?conversation=ID
Open a chat. Replace ID with the chat ID. Properties token is required for users who are not logged in.
?chat=open
Open chat.

Admin Area

URL parameters allow the admin area to perform specific actions when a page loads. To use, add the following URL parameters to your admin URL. For example: https://chatbot.tnnt.vn/?conversation=1234.

URL parameters Describe
?conversation=ID
Open a chat in the chat area. Instead ID by chat ID.
?user=ID
Opens a user's profile box. Replace ID by user ID.
?setting=ID
Open a setting in the settings area. Replace ID by installation ID.
?report=ID
Open a report in the reports area. Instead ID by report ID.
?area=name
Open an area of administration. Replace name by: conversations, users, settings, reports.
?login_email=email&login_password=password
Automatically log in an existing employee or user. Instead e-mail by email account and password by password account.

Calendly

Follow the steps below to send a Calendly calendar invitation.

  • Create an event type from https://calendly.com/event_types/user/me.
  • Click share (share) and copy the URL.
  • To send a Calendly invitation, use Rich Messages type button (button). Make sure to enter the Calendly URL you copied in the previous step as the URL. Also, include the attribute success to customize the message that will be sent after a successful appointment. For example:
    [button link="https://calendly.com/event_types/user/me" name="Schedule a meeting" success="Thanks! Your meeting has been scheduled."]

Zapier

Zapier App - Cloud Version Only

  • Access https://developer.zapier.com/ and log in, or register for one. account new.
  • Create a new integration by clicking Start integrating Zapier (Start a Zapier Integration), or visit https://developer.zapier.com/app/new. Fill in all the required fields, like name and description, and click Create (Create), you can enter any text you want, but remember the app name because you will need it later.
  • From the left menu click Activator (Triggers) and then Add trigger (Add Trigger).
  • Fill in all the required fields, like key and description, and click Save and Continue (Save And Continue), you can enter any text you want.
  • At the top click API Configuration (API Configuration), select REST Hook do Activator Type (Trigger Type), and click Save (Save).
  • Back to area Setting (Settings) of the activator, or access https://zapier.com/app/zaps, and click Create a Zap (Create a Zap).
  • Search for your newly created app by entering the app name and clicking on it. In Trigger event (Trigger Event) Select your activator and click continue (continue).
  • Copy Webhook URL (Webhook URL), click Continue (Continue), then go to the TNTT admin area AI Chatbot and enter it in Settings > Other Features/Miscellaneous > Webhook > URL (Settings > Miscellaneous > Webhooks > URL), enable the webhooks, save the settings and reload TNTT AI Chatbot.
  • Perform an action to trigger the webhook like sending a message, or creating a new user, then go back to Zapier and click Check the activator (Test Trigger) and you will see TNTT webhook data AI Chatbot. Click Continue (Continue).
  • Click the right button Filter (Filters) and set a filter to only trigger integration if a variable exists. You need the filter because TNTT AI Chatbot will send all webhooks to all zaps. For example, if your zap wants to integrate TNTT messages AI Chatbot, you will need to set the filter to continue only if the variable message exist.
  • Click Continue (Continue), or + and add your integrations.
  • To use multiple zap and webhooks, you will need to update Settings > Other Features/Miscellaneous > Webhook > URL (Settings > Miscellaneous > Webhooks > URL) and add new zap IDs, separated by commas. For example, if you have two zaps with URLs https://hooks.zapier.com/hooks/catch/10352851/bbad21f/ and https://hooks.zapier.com/hooks/catch/10352851/aaaa66t/, URL must be https://hooks.zapier.com/hooks/catch/10352851/bbad21f,aaaa66t/.

Security

Security is important at TNTT AI Chatbot. We work with security experts who conduct regular security audits. We continuously implement the latest security technologies and stay updated with the latest security threats. Here are some of the security measures that have been implemented in TNTT AI Chatbot.

IP Ban

TNNT AI Chatbot allows up to 10 unsuccessful login attempts within an hour. In case the limit is exceeded by a user, administrator or staff, they will not be able to access the account or administrative area for 1 hour. This blocking mechanism is based on the user's IP address and is intended to prevent brute force attacks to discover login information. If you get the error "Too many login attempts. Please try again in a few hours."

Protection against XSS code injection

To prevent XSS code injection attacks, all sensitive user input is sanitized.

Protection against cross-site request forgery (CSRF) attacks

To prevent CSRF attacks, all requests are authenticated by checking the login cookie and login string on the client side.

Terminate session when updating user

Whenever the administrator or staff password or details are changed, all active sessions are automatically logged out when sensitive operations are performed or after 1 hour.

AES-256-bit encryption

We use 256-bit AES encryption to encrypt sensitive data such as session login data.

Password protect with file name

TNNT AI Chatbot Ensure that all uploaded files are renamed with a random string of digits prepended to the original file name to prevent URL detection and unauthorized downloading of uploaded files. Please note that, to feature This works correctly, your server must prohibit directory listing.

en_USEnglish