Kothok AI

Description

Kothok puts AI agents in a chat on your site. They answer your visitors from your own pages and, on a WooCommerce store, help shoppers find a product and order it.

Connect the site once. Then:

  • Answers: the agents answer from your pages, including your refund, shipping and privacy policies.
  • Product advice: with WooCommerce, the agents recommend products from your live catalogue, with real prices, sale prices and stock. A change in your admin reaches them in about a minute.
  • Order status: a shopper gives the order number and the billing email, and the agents tell them where the order is. Kothok switches this on for your store.
  • Orders in the chat: shoppers order in the chat and the order appears in WooCommerce, cash on delivery, at your prices. It is off until you switch it on in Settings.
  • One inbox: you read every chat in your Kothok dashboard and reply yourself when you want to.

The chat appears on your pages. There is no code to paste.

Syncing runs in the background and is built not to slow your site: a save or a checkout only notes what changed, one small job at a time does the rest, and the nightly sync sends only what changed.

External services

This plugin connects to the Kothok service, run by Kothok (https://kothok.ai), to work.

  • The chat widget: on each page of your site, visitors’ browsers load the widget script from static.kothok.ai and talk to backend.kothok.ai when they use the chat. The widget sends what a visitor types and the page address. It is loaded only when the chat is switched on.
  • Sync: once you connect, your server sends your WooCommerce product data (names, descriptions, prices, stock, images and links) and your published pages to backend.kothok.ai. It sends posts only if you switch that on. Syncing sends no order or customer data.
  • Order status (off until Kothok switches it on for your store): when a shopper in the chat gives an order number and the billing email, Kothok asks this site for that order. The site answers only if both match, and sends the order number, status, dates, item names and quantities, and the shipping carrier with a masked tracking number. It sends no address, phone number or payment details. If the shopper asks, this site emails the full tracking details to the order’s billing email. Each request is signed by Kothok and checked here.
  • Selling in chat (off until you switch it on in Settings): Kothok sends this site the orders shoppers place in the chat — name, phone, address, optional email and note, and the products — and this site creates them in WooCommerce, cash on delivery, at your own prices. Kothok can also cancel an unpaid order it created. Each request is signed by Kothok and checked here. Security plugins or firewalls that log request bodies may store that customer data in their logs.
  • Connecting: the Connect button opens kothok.ai, where you sign in and confirm. Kothok then reads one short code from this site’s REST API to confirm the site is yours. This site then sends backend.kothok.ai its site URL, the WordPress, WooCommerce and plugin versions, whether WooCommerce is active, and the site’s timezone.
  • Creating an account: if you create a Kothok account from the plugin’s admin page instead, this site sends backend.kothok.ai the name, email address, store name and country you enter in the form, with the same site details as Connecting. This happens only when you submit the form.
  • Status checks: while connected, this site asks backend.kothok.ai for the account’s status (plan, features switched on, sync state) when you open the plugin’s admin page and during background syncing. These requests send this site’s connection token and the plugin version.
  • Billing: the Billing and Overview tabs ask backend.kothok.ai for your plan and usage. When you choose a plan, this site sends the plan, billing cycle, currency and any discount code you entered. Kothok then sends you to the payment page of its payment provider, Polar or SSLCommerz, to pay or to manage payment and invoices. You enter your payment details on that provider’s page. They never pass through this site.

Kothok: Terms of service, Privacy policy
Polar: Terms of service, Privacy policy
SSLCommerz: Terms and conditions, Privacy policy

Screenshots

Installation

  1. Install and activate the plugin.
  2. Open Kothok in your WordPress admin and click Connect to Kothok.
  3. Sign in to Kothok, confirm, and you are back in WordPress, connected.

If your site has little traffic, set up a server cron for WordPress so background syncing runs promptly.

FAQ

Does it slow my site down?

No measurable slowdown is a release requirement. On the front end the plugin adds one deferred script tag and no database queries. Syncing runs in background jobs, one at a time, each limited to a few seconds.

Can I edit a product in Kothok?

Yes. An edit in Kothok changes what the assistant says, not your store. Kothok shows your store’s value beside each edit.

Who can open my Kothok dashboard from WordPress?

Any administrator of this WordPress site. The “Update knowledge base” and “Open Kothok” buttons sign in as your Kothok account, because the people who manage the site already manage what the assistant says. Give the administrator role only to people you trust with both.

What happens when I uninstall?

The plugin disconnects from Kothok and removes every setting it stored. Orders taken in the chat stay in WooCommerce: they are your orders.

On a multisite network, a site can activate the plugin only for itself. If you delete that site, its queue table stays. Uninstall removes it in most cases.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Kothok AI” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Kothok AI” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.2.3

  • The admin menu shows the Kothok logo.
  • The readme describes the Kothok AI agents and has a banner, an icon and screenshots.

1.2.2

  • Background jobs run on WP-Cron. The plugin no longer includes a copy of Action Scheduler.
  • After the update, each site moves the jobs that an earlier version left in Action Scheduler to WP-Cron one time. The jobs keep their time and data. This also works on a site without WooCommerce. Only one request does the move, and a request that stops before the end does not lose jobs. Ten minutes later, the plugin schedules again any moved job that another request removed from WP-Cron. On a paused site, the jobs wait until you resume.
  • If WP-Cron loses the nightly product sync, the next admin page or WP-Cron run schedules it again.
  • A network deactivation removes the jobs of each site in the network. A site that activated the plugin for itself keeps its jobs.
  • The nightly product sync does nothing while WooCommerce is not active, and continues when WooCommerce is active again.
  • The nightly product sync compares the price range of the sizes that are in stock, as Kothok keeps it. A product with a sold-out size at another price is no longer sent again every night.
  • The nightly product sync reads price and stock from the product data, not from WooCommerce’s lookup table, which can be old or have gaps. A product with an old lookup row, a size without a lookup row, or no size a shopper can see is no longer sent again every night.
  • The nightly product sync reads the sizes of variable product types from other plugins (such as variable subscriptions), uses the sale price that WooCommerce shows when a scheduled sale started or ended before WooCommerce’s sale job ran, and sends a product with no product type as a simple product. Such products are no longer sent again every night.
  • Uninstall also removes the Action Scheduler tables and options that the copy in earlier versions made, if no other plugin uses them.
  • The plugin header has no Plugin URI, because the plugin has no page of its own. The Author URI is https://kothok.ai.

1.2.1

  • The readme lists all data the plugin sends to Kothok, and links the terms and privacy policies of Kothok and its payment providers, Polar and SSLCommerz.
  • Links to Kothok and to the payment pages open only on known addresses. Any other link brings you back to the plugin page with an error.
  • Order numbers, tokens and delivery fee labels from Kothok are checked before the plugin uses them.
  • The admin menu title can be translated.

1.2.0

  • Each product or page change has its own row in the queue, so changes saved at the same moment are all synced. Before, two checkouts that ended together could delay one stock change until the nightly sync.
  • The limit on chat orders per minute is counted in one database step.
  • A signed order request that is sent again is refused, also when both copies arrive at the same moment.
  • The tracking email goes out once an hour for each order, also when two lookups arrive together.
  • The plugin is now called Kothok AI.

1.1.0

  • Selling in chat: shoppers order in the chat and the order appears in WooCommerce, cash on delivery, at your store’s prices. Off by default; switch it on in Settings when Kothok offers it.

1.0.0

  • First release.