# Customer Service
AIHelp has completely improved the service process of intelligent customer support.
Now, you can utilize the robotic process automation, also known as RPA, to provide better service for the end users.
# API
# show
You can set up a customer service entrance in AIHelp dashboard, and use the provided entrance ID to access AIHelp' customer service module:
AIHelpSupport.show("THIS IS YOUR ENTRANCE ID");
Or, make use of the ApiConfig
to configure a custom welcome message:
let apiConfig = {
entranceId: "THIS IS YOUR ENTRANCE ID",
welcomeMessage: "THIS IS YOUR WELCOME MESSAGE"
}
AIHelpSupport.show(apiConfig);
# URL
Or, you could implement the same function by the URL scheme:
<script>
let domain = "THIS IS YOUR APP DOMAIN";
let appId = "THIS IS YOUR APP ID";
let entranceId = "THIS IS YOUR ENTRANCE ID";
let welcomeMessage = "THIS IS YOUR SPECIAL WELCOME MESSAGE";
(function () {
let baseUrl = `https://${domain}/webchatv5/#/${appId}`;
let params = `entranceId=${entranceId}&welcomeMessage=${welcomeMessage}`;
let url = `${baseUrl}?${params}`;
window.open(url);
})();
</script>
# Definition
# apiConfig
- Type:
object
- Default: Required. The configuration for customer service, which is the encapsulation of entrance id and welcome message.
# entranceId
- Type:
string
- Detail: Optional. Entrance ID configured in AIHelp dashboard.
# welcomeMessage
- Type:
string
- Default:
''
- Detail: Optional. Custom welcome message for customer service
# Page example
Page examples based on the above scenario are as follows:
← Events Help Center →