Skip to main content

Integrating any AI without coding


In this tutorial I'll give and explain how to integrate any AI without coding into Live Helper Chat

How it works?

Workflow is as simple as

  • We define AI Rest API calls.
  • We define bot which uses them.
  • Upon conversation start it set's uuid and it act's as present conversation handler for third party AI.

Rest API has only one request defined.

In user param we define additional argument task_key which is set directly in the bot and request body.

In output parsing we have defined 3 possible combinations

  • Standard message
  • Indication that chat should be transferred to an operator
  • Indication to end a conversation

Bot itself needs only 4 triggers

Chat started

This trigger is always executed if visitor sends a message or clicks a button replied by bot meta_msg msg field.

Trigger structure. It defines what method we should execute if visitor sends a message and what trigger to execute based on bot response. Response types we have defined in Rest API itself.

Bot message send

It's a standard message we received from bot. Additionally we set additional chat variable based on response. Which we later reuse in Rest API call itself. It's required for AI to know about what present conversation is going on.

Transfer to Operator

Just transfers chat to an operator.

Default response

Default response in this case act's just as conversation ending trigger and shows bot message.