Chatbot IO Widget

外掛說明

Chatbot IO Widget is the official WordPress client for the bestchatbot.io service. It adds an AI-powered chat widget to your WordPress site. The widget uses your knowledge base to answer visitor questions, and can execute real actions like scheduling appointments, creating support tickets, and looking up orders.

Features:
* AI chat widget powered by your knowledge base (RAG)
* Identity verification for logged-in users (JWT-based)
* WooCommerce integration: enriches identity with billing data and Stripe customer ID
* Cache-safe: works with WP Rocket, W3 Total Cache, Cloudflare, and all page caching plugins
* Zero friction for anonymous visitors (identity only required for protected actions)

How Identity Verification Works:
1. The widget loads normally on all pages (no token in HTML)
2. A background AJAX request checks if the visitor is logged in
3. If logged in, a signed JWT token is generated server-side and passed to the widget
4. The token enables protected actions (order lookup, subscription check, etc.)

This approach is cache-safe because the AJAX endpoint (admin-ajax.php) is never cached by WordPress caching plugins.

Third-Party Service:
This plugin requires a bestchatbot.io account to function (SaaS). The widget connects to the bestchatbot.io service at https://bestchatbot.io to process conversations, run the knowledge base (RAG) pipeline, and execute tool calls. By installing this plugin you agree to the bestchatbot.io Terms of Service and Privacy Policy: https://bestchatbot.io/terms

螢幕擷圖

安裝方式

  1. Upload the chatbot-io-widget folder to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Settings > Chatbot IO Widget
  4. Enter your API Key (from bestchatbot.io Dashboard > Widget > Installation)
  5. Enter your Signing Key (from bestchatbot.io Dashboard > Widget > Security)
  6. Save; the widget is now active on all public pages

常見問題集

Do I need WooCommerce?

No. The plugin works with any WordPress site. WooCommerce integration is automatic if WooCommerce is installed.

Is it compatible with caching plugins?

Yes. The identity token is obtained via AJAX (admin-ajax.php), which is never cached.

What data is included in the identity token?

Email, display name, and user ID. With WooCommerce: billing email, phone, and Stripe customer ID (if available).

使用者評論

2026 年 6 月 14 日
underrated features, & pretty straightforward & easy to use, ty for this dev team keep cookingpreliminary usage tho, i’ll see after a while if smtg can be improved but i’m sure you’ll deliver, so ty again 🙂
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Chatbot IO Widget〉的開發相關工作。

參與者

將〈Chatbot IO Widget〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • Initial release
  • Widget script enqueued via wp_enqueue_script + wp_add_inline_script (wp.org compliant)
  • Cache-safe identity verification via admin-ajax.php
  • WooCommerce billing data enrichment
  • Admin settings page with status panel