...
Info |
---|
The package in which you create a business process must depend on the Beesender BeesenderBotMaster package |
Table of Contents |
---|
What elements make up a chatbot?
...
Beesender: Send image – use this element to send an image
Beesender: FileSend file – use this element to send a file
...
End event – use this element as the ending of your process
Create a chatbot process
...
Go to the section Process Library and click New Process
Fill in a name of your process and a code
Go to the Parameters tab and create 3 required parameters:
Title | Code | Data type |
---|---|---|
ChatId | ChatId | Unique identifier |
ClientId | ClientId | Unique identifier |
OperatorId | OperatorId | Unique identifier |
Let’s try to create the first chatbot message!
...
Select the element
...
Select Beesender: Text message from the
...
User action panel
...
Fill in the fields:
Filed | Value |
---|
ChatId
Set parameter ChatId
ClientId
Set parameter ClientId
Set parameter OperatorId
Text | Set your message, for example Hello |
...
Now go back to your Creatio system and set your process to your chatbot. Don’t forget to add the channel on the Channels detail.
...
As you already know, the Beesender: Text message has the following mandatory parameters:
Filed | Value |
---|
ClientId
[#ClientId#]
OperatorId
[#OperatorId#]
[#ChatId#]
Text | The message you want to send |
In the Text field, you can not only write text but also enter the parameters read from the object. It can be like the name of the contact, today's date, and so on.
...
The Beesender: Ask question has the following mandatory parameters:
Filed | Value |
---|
ChatId
[#ChatId#]
ClientId
[#ClientId#]
OperatorId
Message | The message you want to send |
Button 1 - Button 9 | The text displayed on the button for selecting the client's response to the chatbot. During the dialogue with the chatbot, only those buttons that are filled in are displayed |
Answer | Leave this field blank |
For example, let’s try to create the next case:
...