Chat bots using Kommunicate

So in this post, I'm gonna tell you how you can build custom Chat Bots(a script that will reply whenever you try talking with it).

First of all, we are going to make a chat bot with DialogFlow. It is Google's service to let developers make Google Assistant like projects for their websites and apps! So without wasting any time, let's start building our chat bot.




First go to DialogFlow and sign-up with your Google account. Then build a new Chat bot.
One the left sidebar, head over to Small Talks and fill in the answers that the bot will give when asked about simple details. After doing this, go to Intents tab and add the user expressions for different texts that the user enter. Save everything!

Now, head over to Kommunicate.io. It is a very cool service to integrate DialogFlow bots(or custom Webhooks for other service providers) into your website. Also you can integrate those bots into your Android/IOS/Wix/Wordpress/etc/etc apps and websites. Just sign-up there and add your first bot there, I will publish a new post for understanding how to use the DialogFlow console:


  1. Go to Dashboard.
  2. Click the bot icon on left sidebar.
  3. Click Dialogflow integration.
  4. Copy the Developer Token and Client Token and paste on the fields.
  5. Save it!
Now you've added a bot in the kommunicate account, now its time to publish it to the site. Follow me for this

  1. Log in to your Kommunicate.io account.
  2. Click the cog(settings) icon on the bottom left of the sidebar.
  3. Head over to the Install section.
  4. Click the Copy code button, now the code is copied
  5. Login to the cpanel/plesk account linked to your site.
  6. Edit the index.htm file and paste the code into the <head> tag of the file.
  7. Save your changes



Now you are good to go. You have installed a custom DialogFlow bot into your website with a very beautiful design.

Now, I would like to tell you why I've used Kommunicate for our project, though we may have used RocketBots or even just copy the <iframe> code given by DialogFlow into out site. Here's why:
  • The DialogFlow <iframe> would look clumsy and it has the Ad- Powered by DialogFlow.
  • To make it look beautiful, we would have to implement much more HTML and JavaScript.
  • Now for RocketBots, I personally don't like their service(I am not having any jealousy against them. It's my own view). The dashboard UI is not good enough.
  • Also, it is difficult to add a DialogFlow bot to their console. I couldn't do it even after 2 days struggle and contacting them.
  • And for the price, we have to pay to use a bot but Kommunicate has much less price than Rocketbots, check price: Kommunicate / RocketBots
  • So this is why I prefer Kommunicate over RocketBots. Let me know what you think about them and this post by taking some time and writing about it in the comments section below!


Comments

Popular Posts