This function is only available in the Enterprise Solution.
The chatbot connector is connected to the Robot widget. With these two functions, user input can trigger a workflow in a chatbot. The output (for example, the user’s delivery status) can be directly played to the user. As such, it belongs to the passive connectors.
This is how you can set up a chatbot connector:
1️⃣ Create a new chatbot connector
Select the connector type when creating a connector. Afterwards, you have to define which parameters this workflow should receive from the chatbot:
2️⃣ Add incoming parameters
And in the story, these parameters are recorded as follows:
3️⃣ Add outgoing parameters
Now, we must define the data that will be shown to the user in the story through the connector settings under «Data sent to chatbot».
In the «Expected values», you can insert a maximum of five optional outputs, which have to be separated by commas:
If the workflow couldn't be executed successfully, another option will appear automatically inside the Robot widget.
4️⃣ Add the Robot widget to your story
The expected values will then stand for a «path». Depending on the output of the workflow, the conversation with the user can be created differently. This works exactly as it does in the decision widget.
To start the workflow in the chatbot, drag the -widget via drag & drop to the desired spot where the workflow should be executed, and then choose the correct workflow. Note that the parameters have to be recorded before the Robot widget:
Depending on what output will come back from the workflow, another message can be played for the user: