SalesGet Chatbot
A simple chatbot component to create conversation chats
Getting Start
npm install salesgetchatbot --save
Usage
This code was heavily based on Lucas Bassetti's front end code for a chatbot.
There are several examples on the website. Here is the first one to get you started:
import ChatBot from 'salesgetchatbot';
const steps = [
{
id: '0',
message: 'Welcome to salesget chatbot!',
trigger: '1',
},
{
id: '1',
message: 'Bye!',
end: true,
},
];
ReactDOM.render(
<div>
<ChatBot steps={steps} />
</div>,
document.getElementById('root')
);
React Simple Chatbot on midia
Authors
This front end chatbot code was heavily based on Lucas Basetti's UI for chatbots.
Lucas Bassetti |
See also the list of contributors who participated in this project.
License
MIT · Lucas Bassetti