=== ChatBot for WordPress WPBot ===
Contributors: quantumcloud
Donate link: https://www.quantumcloud.com/products/
Tags: bot, chatbot, chat bot, live chat, live support, contact bot, HelpDesk, FAQ bot, Support bot, live chat
Requires at least: 4.6
Tested up to: 5.3
Stable tag: 3.2.8
Requires PHP: 5.6.0
License: GPLv2 or later
License URI: https://www.quantumcloud.com/products/

WPBot is a Native WordPress ChatBot plugin that can be integrated with DialogFlow. Easy to use as HelpDesk or Live Chat Contact Bot to increase conversions! 

== Description ==
= What is ChatBot for WordPress - WPBot? =
WPBot is an easy to use, native WordPress ChatBot plugin.

You can use WPBot as as a <strong>plug n' play</strong> ChatBot without any technical knowledge at all. Just install it and the ChatBot can chat with the website users, show them a small set of FAQs, let them email you for support or leave their phone numbers like a floating HelpDesk or a Conversational Floating Contact bot. The ChatBot can work in <strong>Natural Language Processing Mode</strong> or <strong>Menu Driven</strong> Mode or a <strong>Combination of both</strong>.

[Support, Bug Report, Feature Requests](https://www.quantumcloud.com/resources/free-support/) | [Live ChatBot Free Version Demo](https://dev.quantumcloud.com/chatbot-for-wordpress/) | [View Demo of the WPBOT Pro Version](https://dev.quantumcloud.com/wpbot-pro/) | <strong> Upgrade to [WPBOT Pro Now!](https://www.quantumcloud.com/products/chatbot-for-wordpress/)</strong> 

> Use the Free <strong>[Conversational Form Builder](https://wordpress.org/plugins/conversational-forms/)</strong> AddOn to create conversations and forms to <strong>build a completely native, menu driven </strong>WordPress ChatBot experience without any DialogFlow and 3rd party integrations. 

You can also integrate this ChatBot for WordPress with the <strong>Google's Dialogflow </strong>and give it AI and natural language processing powers and disable the built-in features. WPBot supports Dialogflow intents and text responses automatically once you add the Agent API key.

> ChatBot for WordPress WPBot is fully compatible with DialogFlow V2. V1 support will stop on Oct 23rd.

[youtube https://youtu.be/qY-EHFY2wH8]

Change all the WPBOT live chat bot responses and make this ChatBot to work in any language with very little effort. RTL is supported.  Use this handy tool as a practical means for your website users to save time, improve engagement, generate leads, handle FAQs, showcase your stuff - everything with a single chatbot plugin! It is great as a HelpDesk, Contact Bot or feedback bot to increase user conversions and customer leads.

> Free Conversational Forms AddOn is now available for WPBot Lite! Download [Conversational Forms AddOn](https://wordpress.org/plugins/conversational-forms/). Create Conversational forms natively from the WordPress backend without Dialogflow using a drag and drop form builder.

> Free FaceBook messenger AddOn is available for WPBot Lite! Download [ChatBot for Messenger](https://wordpress.org/plugins/chatbot-for-messenger/)

A professional version is available with more advanced features like <strong>Onsite Retargeting</strong> by showing special offers and coupons on Exit Intent, time interval or page scroll-down. Embed the ChatBot on any website, schedule it or integrate with 3rd party Live chat system like tawk.to or FaceBook messenger! Integrated <strong>Live Chat </strong>Support, FaceBook Messenger, White label, ChatBot session logs, Extended search, MailChimp Integration addons are also available.

> [View Demo of the WPBOT WordPress ChatBot Pro Version](https://dev.quantumcloud.com/wpbot-pro/)
> [Upgrade to WPBOT WordPress ChatBot Pro Now!](https://www.quantumcloud.com/products/chatbot-for-wordpress/)

This chatbot is very simple to use but provides useful built-in features suitable for small to large scale websites. When you integrate this ChatBot with DialogFlow it gets the benefits of AI, NLP, Entity, intent creation etc. from Google's Machine Learning system.

= How does the ChatBot work? =

The ChatBot will initiate the conversation with a greeting and then try to match the user inputs with system command or any intent you created in Dialogflow and If no result is found it will show a Start Menu with FAQ option or allow users to send a email or leave their phone number. You can <strong>disable</strong> the built-in features or <strong>modify</strong> the in-built chatbot responses from the backend and set up a few Frequently Asked Questions or FAQ. If the bot does not understand something a few times, it will display the Start Menu options to prevent user frustrations. You can also use this ChatBot as a contact bot, FAQ bot or HelpDesk Support bot.


= What Can this WordPress ChatBot Plugin do? =

This WordPress ChatBot plugin provides the following features:

* Add your own floating chatbot just by installing and activating the plugin
* Built-in, plugin n play features
* Supports any languages including RTL
* Add hyperlinks in response message content using HTML markup.
* Change all the bot responses from language settings
* Set on which pages the chat bot will display
* Fine tune the floating icon position
* Upload Custom Icon
* Built in Intent to Show a List of FAQ or Frequently Asked Questions defined by you
* Built in Intent to Let users email you any question or feedback they may have
* Built in Intent to Let users leave their phone number so you can call them back
* Rearrange the Start Menu
* Option to display Start Menu After Greetings
* Option to open the ChatBot Full Screen in Mobile 
* Create Conversational drag and drop forms with a free AddOn
* Integrate with FaceBook messenger with a Free addon
* Integrate with Google's Dialogflow Agent API to process natural language queries.
* Display text Responses for Intents you created in DialogFlow and machine learning

= How Can this ChatBot Help You? =

⭐ Lower webpage bounce rate
⭐ Get More page views
⭐ Longer user time on site

Take the advantage of Google's AI and Natural Language Processing with this Chat Bot
🚀 Outstanding conversational experience
🚀 Fully automated. Extremely simple to use Plug n' play ChatBot. You can use this ChatBot without any programming knowledge and without the DialogFlow Integration for simpler HelpDesk like features or 

If you are interested in the progress and development of this WordPress ChatBot plugin and have any feedback to make it better, please leave a comment in the support forum.

<strong>More ChatBot features are coming soon! Please leave the plugin a good review with your suggestions to encourage us. Your inspiring words and feedback mean the world to us!</strong>

= WPBOT Pro Version =

With the pro version of this ChatBot you can create Custom Intents and Rich Responses from DialogFlow: create a Survey/Poll, appointment, service requests etc. and have answers emailed to you!

The <strong>Onsite Retargeting</strong> helps your Conversion rate optimization by showing special offers and coupons on Exit Intent, time interval or page scroll-down. Embed the Bot on any website, schedule it or integrate with 3rd party Live chat system like tawk.to or FaceBook messenger!

<strong>Collect eMail Addresses</strong> from your website users. Let people share their eMail address conversing with the ChatBot! Use the retargeting feature to prompt users with an enticing offer. eMail addresses are saved in the database that can be exported as CSV file.


= WPBot Pro version features =

⭐ Advanced, fast <strong>Site search of your</strong> pages and posts to answer user questions
⭐ Google Artificial Intelligence, Machine Learning or <strong>AI Engine with DialogFlow</strong>
⭐ <strong>Natural Language Processing</strong> through Google's Dialog Flow
⭐ <strong>Automatically </strong>supports <strong>Custom Intents and Responses</strong> You Create in Dialog Flow
⭐ Automatically supports <strong>Follow Up Intents</strong> and step by step Question Answers through Dialogflow custom Intents
⭐ Automatically supports <strong>Rich Message Response &amp; Card Responses</strong> from Dialogflow as FaceBook messenger app
⭐ <strong>Automatically</strong> supports images (jpgs, <strong>animated gifs</strong>) and Youtube Videos from DialogFlow Intent Responses
⭐ Automatically supports images (jpgs, animated gifs) and <strong>Youtube Videos</strong> from ChatBot Language Settings Responses
⭐ Simply <strong>paste</strong> any image (jpg or gif) or youtube video’s full link
⭐ Add images from your WordPress media library or Giphy animated gif images easily and quickly from the ChatBot language center with the <strong>floating image options</strong>
⭐ Fine tune WPBot icon position by <strong>pixels</strong> or <strong>percentages</strong>
⭐ Option to<strong> choose on which pages WPBot should load</strong>
⭐ Option to <strong>Auto Open Chatbot Window For First Time</strong> Page Load
⭐ Upload<strong> custom ChatBot</strong> icon
⭐ Upload custom <strong>Agent icon</strong>
⭐ Choose from<strong> 5 design templates</strong> for ChatBot interface
⭐ Option to <strong>disable WPBot on Mobile Devices</strong>
⭐ Option to <strong>Disable Persistent</strong> Chat History across pages
⭐ Option to <strong>Enable/Disable</strong> Site Search, Call Me, eMail, FAQ, newsletter subscription etc. ready intents
⭐ <strong>Show or Hide</strong> Opening Notifications
⭐ Option to <strong>Skip Greeting</strong> and Asking Name and eMail
⭐ Option to Skip Greeting for <strong>logged in users only</strong>.
⭐ <strong>Skip</strong> Greetings and <strong>Trigger an Intent</strong> (like a Custom Form)
⭐ Skip Greetings and <strong>Show Start Menu</strong>
⭐ Show <strong>Start Menu After Greetings</strong>
⭐ Enable <strong>Reset &amp; Close</strong> Button at Top
⭐ Option to enable/disable<strong> asking for eMail</strong> address after asking name
⭐ Enable <strong>Asking for Phone Number</strong>
⭐ Upload your own <strong>background image</strong> for chatbot
⭐ Create <strong>FAQ area</strong> with multiple questions and answers (supports html)
⭐ Add <strong>video in Support area</strong> just by pasting Youtube link
⭐ Add<strong> multiple site notifications</strong> to show above the ChatBot icon
⭐ <strong>Quick access</strong> to Support ares of the ChatBot
⭐ <strong>Quick Help for commands</strong> that can be used in-chat
⭐ <strong>Admin customizable</strong> chat commands
⭐ <strong>Stop Words</strong> dictionary included and editable by admin. Bot will automatically exclude stop words from search criteria and chat commands
⭐ <strong>Advanced Language Center t</strong>o edit and change every WPBot responses, System languages, stop words and info messages!
⭐ Add <strong>multiple variations</strong> of <strong>ChatBot responses</strong> for each node. They will be used randomly and give an appearance of more human like responses.
⭐ <strong>Persistent chat history</strong> over shopper session on website
⭐ Option to <strong>Disable persistent chat history</strong> (Chat history is reset in every page)
⭐ Remember chat history in browser local storage and <strong>greet returning users</strong>
⭐ Option to Open pages in new or same window from search results
⭐ <strong>Any Language</strong> support. mo/pot file included so you can translate to any language
⭐ <strong>RTL support</strong>
⭐ Light Integration with<strong> FaceBook Messenger for Live Chat</strong>
⭐ Light Integration with <strong>Skype, WhatsApp, Viber, Web Link &amp; Phone Call</strong>
⭐ <strong>Call me back</strong> – customer leaves phone number.
⭐ Collect <strong>Customer Feedback</strong> by email option.
⭐ Collect <strong>User eMail </strong>for <strong>newsletter Subscription
</strong>
⭐ <strong>GDPR</strong> compliance (message with link to Privacy page)
⭐ <strong>Unsubscibe</strong> Command
⭐ Advanced <strong>Name Recognition</strong>
⭐ <strong>Sample DialogFlow Agent </strong>for <strong>quick import</strong>
⭐ <strong>Prompt User </strong>for <strong>eMail subscription </strong>with <strong>Retargeting Message</strong>
⭐ Export <strong>eMail Addresses as CSV</strong>
⭐ Onsite<strong> retargeting and remarketing</strong> to increase customer conversion rate.
⭐ Enable/Disable <strong>retargeting message sound</strong>
⭐ Out of focus <strong>Browser tab flashing</strong> with custom message for retargeting messages
⭐ Show <strong>retargeting</strong> messages for customer on <strong>Exit Intent, After Scrolling Down “X” Percent, Or after “X” seconds.</strong>
⭐ <strong>Custom Background color</strong> for retargeting messages.
⭐ Connect<strong> retargeting messages with any custom intent</strong> created in DialogFlow
⭐ <strong>Schedule day and time when WPBot will run</strong>. Make WPBot work with other Live chat software.
⭐ <strong>Embed code to use the ChatBot</strong>  on any other website including static HTML website
⭐ <strong>Widget Shortcode</strong> with the possibility to <strong>Load specific Intent</strong> (<strong>forms</strong> etc.) on a page or post.
⭐ Shortcode for <strong>Click to Chat</strong> Button with the possibility to <strong>Load specific Intent</strong> (<strong>forms</strong> etc.) on a page or post
⭐ <strong>Shortcode for WPBot on a Page or post</strong> (without floating icon)
⭐ <strong>Integrate with 3rd party Live Chat services</strong> that provides a stand alone chat page link like Tawk.to
⭐ Option to hide the support and other icons from the ChatBot footer
⭐ Plugin <strong>Auto Upgrades from WordPress backend</strong>

> [View Demo of the WPBOT WordPress ChatBot Pro Version](https://dev.quantumcloud.com/wpbot-pro/)
> [Upgrade to WPBOT WordPress ChatBot Pro Now!](https://www.quantumcloud.com/products/chatbot-for-wordpress/)

Following [ChatBot AddOns](https://www.quantumcloud.com/products/chatbot-addons/) are available with the pro versions:

<strong>Integrated Live Chat AddOn:</strong>
Provide Live Human Chat support along with the ChatBot! Users can request Live Chat support by clicking a button or a command inside the ChatBot. Features include: Create Operators, Chat history, Disable Live chat if Operator is Offline, Language Translation and more! Perfect for small businesses to provide an integrated automated & human support.


<strong>Chat Sessions AddOn:</strong>
This AddOn saves the user chat sessions with the bot. This allows you to check the step by step user interactions and helps you fine tune the bot for better support and performance. Once installed, you will get a new menu item – ChatBot sessions. Each chat sessions are listed according to date. The chat details are displayed exactly how the chat interactions took place.

<strong>FacebBook Messenger Addon

Extend the WPBot’s functionality to add the ability for WPBot to chat with the users on a Facebook page & messenger. Utilize the WPBot on your website as a hub to respond to customer questions automatically powered by DialogFlow’s machine learining and AI. It supports user interactions  as the ChatBot will normally do on your website but also on your FaceBook page!

<strong>Extended Search</strong>

Extended Search AddOn extends WPBot’s search power to include almost any Custom Post Type beyond just Pages and Posts! Results are displayed by blocks for different post types. Supports WooCommerce and displays product prices along with product titles and features images.

<strong>White Label WPBot</strong>

The WhiteLabel AddOn allows you to replace the QuantumCloud Logo and QuantumCloud branding with yours. Suitable for developers and agencies interested in providing ChatBot services for their clients. This AddOn license Does Not give any right to Resell the product as your own.


= ChatBot Support, Bug Fix, Feature Request =

* We welcome your feedback and new feature requests for this chat bot! W want to improve this chatbot's features based on your feedback and suggestions. Let us know if you face any problem or need help with this chatbot from the comments section.


== Installation ==

1. Download the plugin zip file. Extract and upload in your wp-content/plugins folder.
2. From the wp-admin panel go to plugins and activate "Chatbot"
4. You are done.


== Use ==

1. Simply Activating the Plugin will start showing the ChatBot in the front end
2. Go to WPBot menu to adjust settings
3. Change All languages from the Language center area

== Frequently Asked Questions ==

= How do I add new conversations to the ChatBot? =
Without DialogFlow: You can create simple text conversations with the <strong>[Conversational Form Builder](https://wordpress.org/plugins/conversational-forms/)</strong> addon by using the HTML elements to dislay your responses. The adoon does not yet support Conditional responses. We plan to add that feature soon. But for now, you can create linear conversations and display them from the Start menu. Once you have created a form using the Conversational form builder addon you can add it to the ChatBot start menu from the WPBot Settings->Start Menu. Make sure to always Save the ChatBot Start menu settings after rearranging the columns.

With DialogFlow: You can create new Intents and Text responses inside DialogFlow. For each user input, WPBot will automatically connect to DialogFlow and try to match with the Itents and training Data you added. When an Intent is matched, its response will be returned to the user.

= Does the ChatBot work with Google's DialogFlow V2 =
Yes, currently the ChatBot works both with Dialogflow version 1 and 2. V2 support will stop on Oct 23rd, 2019.

= I have made changes to the settings or languages but do not see them in the ChatBot =
The ChatBot saves conversations and settings in the browser cookies. After making changes in the language center or settings, please type reset and hit enter in the ChatBot to start testing from the beginning or open a new Incognito window (Ctrl+Shit+N in chrome).

= How do I add Line Breaks? =
Please use the <br> tag for line breaks.

= Are HTML tags supported? =
Yes, common HTML tags link link href, strong, br etc. are supported.

= Does the ChatBot support images, GIFs, Videos =
Images, GIFs and Youtube Videos are supprted in the pro version. Pro version also includes a handy giphy floating search for easy embed in the language center.


== Screenshots ==
1. WordPress Chatbot hard at work
2. ChatBot for WordPress Back end

== Changelog ==

= 3.2.8 =
# Admin area language changed - System Keyword->Chatbot Keyword.
# New template added
# Disable WPbot on Mobile Device option added in general settings.

= 3.2.7 =
# Fixed timezone issue

= 3.2.6 =
# Dialogflow Connection test button added
# Form Builder first response html - issue fixed.

= 3.2.5 =
# Improved Start Menu Options

= 3.2.3 =
# Improved deactivation module

= 3.2.2 =
# Compatible with Messenger chatbot addon free.
# Custom rest api endpoind created for Dialogflow api

= 3.2.1 =
# DF v2 client download script updated.
# WPBot panel updated.
# Addon page updated.

= 3.2.0 =
# Improved Admin UI
# Added option Show Start Menu after Greetings
# Mobile fullscreen mode close icon issue fixed.
# Call to undefined function wc_get_product() - issue fixed.

= 3.1.0 =
# DialogFlow V2 compatibility added

= 3.0.1 =
# Improved some CSS and button styles

= 3.0.0 =
# Added support for conversational forms chatbot addon

= 2.9.6 =
# Added support for multiple responses from dialogflow

= 2.9.5 =
# Fixed some conflict with a custom theme

= 2.9.4 =
# Fixed the support icon in the front end ChatBot

= 2.9.3 =
# Improved Support area.

= 2.9.2 =
# Improved Help area.

= 2.9.1 =
# Custom Agent image upload option added.

= 2.9.0 =
# Added custom admin email option

= 2.8.0 =
# Notice: Undefined index issue fixed.

= 2.6.0 =
# More Notice: Undefined index issue fixed.

= 2.5.0 =
# Notice: Undefined index issue fixed.

= 2.4.0 =
# Notice: Undefined index issue fixed.
# Free support link added.

= 2.3.0 =
# WPBot open full screen in mobile option added.

= 2.2.0 =
# Added addon section

= 2.1.0 =
# Added a banner

= 2.0.0 =
# Fixed a PHP warning

= 1.9.0 =
# Improved deactivation survey

= 1.8.0 =
# Conflict with woowbot fixed.
# Agent download issue fixed.
# Deactivate feedback updated.

= 1.7.0 =
# Introducing the pro version

= 1.6.0 =
# Removed site search feature
# Added DialogFlow Integration

= 1.5.0 =
# Added site search feature

= 1.3.0 =
# Added call me back feature
# Upload custom bot icon

= 1.2.0 =
# Improved User input text sanitization added.

= 1.0.0 =
# Default message updated.
# New icon added as agent & chatbot icon.
# Support changed to FAQ

= 0.9.0 =
*Inception
