Title: LanceDesk AI Chatbot
Author: Lance Desk
Published: <strong>June 30, 2026</strong>
Last modified: June 30, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/lancedesk-ai-chatbot.svg)

# LanceDesk AI Chatbot

 By [Lance Desk](https://profiles.wordpress.org/lancedesk/)

[Download](https://downloads.wordpress.org/plugin/lancedesk-ai-chatbot.1.2.9.zip)

 * [Details](https://wordpress.org/plugins/lancedesk-ai-chatbot/#description)
 * [Reviews](https://wordpress.org/plugins/lancedesk-ai-chatbot/#reviews)
 *  [Installation](https://wordpress.org/plugins/lancedesk-ai-chatbot/#installation)
 * [Development](https://wordpress.org/plugins/lancedesk-ai-chatbot/#developers)

 [Support](https://wordpress.org/support/plugin/lancedesk-ai-chatbot/)

## Description

LanceDesk AI Chatbot provides a content-aware chat widget, admin rules and guardrails,
analytics, safeguarding alerts, and multi-provider AI (Groq, OpenAI, Claude) with
automatic fallback.

The chatbot answers from **your** WordPress content — not a generic knowledge base.
Under **Content Sources**, you choose which published content types to index (posts,
pages, WooCommerce products, custom post types, and more), plus optional external
URLs.

**Features:**

 * RAG-style answers from published **posts**, **pages**, and any enabled **custom
   post types** (including **WooCommerce products** when WooCommerce is active)
 * Automatic detection of FAQ-style post types for better Q&A matching
 * External knowledge URLs (for example registration or event pages) fetched into
   context
 * Rules engine for behavior, scope, knowledge, guardrails, and fallbacks with live
   prompt preview
 * Multilingual follow-ups with session conversation history
 * Multi-provider AI (Groq, OpenAI, Claude) with automatic fallback and encrypted
   API keys
 * Frontend widget with shadow DOM, custom avatar, live appearance preview, and 
   mobile layout
 * Page display rules, per-visitor rate limits, and optional session feedback on
   close
 * Analytics dashboard with KPIs, charts, top questions, provider usage, and country
   breakdown
 * Conversation logs with search, thread view, CSV export, and safeguarding flags
 * Session feedback admin, keyword safeguarding alerts, GDPR log retention, and 
   weekly usage digest email

### External services

This plugin connects to third-party services only when you configure them. You must
supply your own API keys for AI providers. No AI requests are sent until you add
keys and enable the chatbot.

#### Groq

Used for AI chat completions when Groq is configured in **AI Providers**.

**Data sent:** The visitor’s chat message, compiled system prompt, relevant site
content excerpts (RAG context), and recent session messages when needed for follow-
ups.

**When:** Each time a visitor sends a chat message and Groq is the active provider
in the fallback chain.

**Links:** [Terms of use](https://groq.com/terms-of-use), [Privacy policy](https://groq.com/privacy-policy)

#### OpenAI

Used for AI chat completions when OpenAI is configured in **AI Providers**.

**Data sent:** The visitor’s chat message, compiled system prompt, relevant site
content excerpts (RAG context), and recent session messages when needed for follow-
ups.

**When:** Each time a visitor sends a chat message and OpenAI is the active provider
in the fallback chain.

**Links:** [Terms of use](https://openai.com/policies/terms-of-use), [Privacy policy](https://openai.com/policies/privacy-policy)

#### Anthropic (Claude)

Used for AI chat completions when Claude is configured in **AI Providers**.

**Data sent:** The visitor’s chat message, compiled system prompt, relevant site
content excerpts (RAG context), and recent session messages when needed for follow-
ups.

**When:** Each time a visitor sends a chat message and Claude is the active provider
in the fallback chain.

**Links:** [Terms of use](https://www.anthropic.com/legal/consumer-terms), [Privacy policy](https://www.anthropic.com/legal/privacy)

#### External Knowledge URLs

Administrators may add public URLs under **Content Sources**. The plugin fetches
those pages server-side to extract text for chat context.

**Data sent:** HTTP requests from your WordPress server to the URLs you configure.
No visitor personal data is sent unless it appears in the fetched page content.

**When:** During content cache refresh and when building context for chat replies.

## Installation

 1. Upload the plugin folder to `/wp-content/plugins/` or install from the WordPress
    plugin directory.
 2. Activate the plugin through the **Plugins** menu.
 3. Open **AI Chatbot  AI Providers** and add at least one API key.
 4. Configure rules, content sources, and appearance under **AI Chatbot**.
 5. Enable the chatbot under **AI Chatbot  Settings**.

## FAQ

### Which AI providers are supported?

Groq, OpenAI, and Anthropic Claude. Configure priority order and fallback in **AI
Providers**.

### Does the chatbot use my site content?

Yes. Published content from post types you enable under **AI Chatbot  Content Sources**
is indexed and injected into prompts (RAG-style context).

### What site content can the chatbot use?

Enable any **public** post type under **Content Sources**. Common examples:

 * **Posts** and **Pages** (WordPress core)
 * **WooCommerce products** when WooCommerce is installed (`product` appears in 
   the list like other public types)
 * **Custom post types** your theme or plugins register as public (events, portfolio,
   documentation, CPTs, etc.)
 * **FAQ-style post types** when detected automatically (for example types with “
   faq” in the slug or label)
 * **External Knowledge URLs** you add manually (public pages on other domains, 
   such as registration or ticketing sites)

Only **published** content is indexed. You can exclude specific post IDs and refresh
the content cache after site changes.

### Does this plugin use the WordPress AI Client?

Not in the current release. This plugin connects to AI providers you configure directly(
Groq, OpenAI, Anthropic) so each site owner can supply API keys, choose provider
priority, and use automatic fallback. WordPress core AI Client support (WordPress
7.0+) may be added in a future version once it is available on this plugin’s minimum
WordPress version.

### What data does the plugin store locally?

The plugin stores conversation logs on your WordPress site, including visitor messages,
bot replies, page URL, a hashed IP address, optional country code (from server/CDN
headers), session IDs, and feedback ratings. Retention can be configured under General
Settings. API keys you enter are encrypted before storage.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

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

Contributors

 *   [ Lance Desk ](https://profiles.wordpress.org/lancedesk/)

[Translate “LanceDesk AI Chatbot” into your language.](https://translate.wordpress.org/projects/wp-plugins/lancedesk-ai-chatbot)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/lancedesk-ai-chatbot/),
check out the [SVN repository](https://plugins.svn.wordpress.org/lancedesk-ai-chatbot/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/lancedesk-ai-chatbot/)
by [RSS](https://plugins.trac.wordpress.org/log/lancedesk-ai-chatbot/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2.9

 * Fetch Groq, OpenAI, and Claude model lists dynamically from each provider API(
   cached 12 hours).
 * Add Refresh Models button on AI Providers; successful connection tests also refresh
   the list.
 * Mark deprecated Groq Llama 3.3 70B Versatile in the dropdown; change default 
   Groq model for new installs.

#### 1.2.8

 * Inline check_ajax_referer in each admin AJAX handler for Plugin Check compatibility.
 * Disable dashboard rating prompt permanently; remove unused admin CSS.

#### 1.2.7

 * WordPress.org review: verify REST nonce in permission_callback; remove file-level
   PHPCS nonce suppression from admin AJAX.
 * Remove admin Upgrade Pro link, dashboard plugin rating prompt, and admin footer
   branding (Guideline 11).

#### 1.2.6

 * Rewrite site overview prompt text in natural language so replies do not quote
   indexing or chat-context metadata.
 * Add default behavior rule for human-like tone; strengthen system prompt voice
   instructions.

#### 1.2.5

 * Improve WooCommerce product discovery: enrich product chunks with price, categories,
   and descriptions.
 * Add content inventory summary to AI prompts (published vs indexed counts per 
   content type).
 * Improve context ranking for catalog questions (products, shop, merchandise) with
   post-type boosting and diverse fallback.

#### 1.2.4

 * Expand readme with content-source examples (posts, pages, WooCommerce products,
   custom post types) and WordPress AI Client FAQ.
 * Document completed security nonce audit for admin AJAX and public REST endpoints.

#### 1.2.3

 * WordPress.org review fixes: powered-by opt-in default off, external services 
   readme, enqueued admin JS, Chart.js update, rate-limit IP hardening, provider
   legal links in admin.

#### 1.2.2

 * Wire weekly usage digest email to WordPress cron with 7-day KPIs, top questions,
   and safeguarding flags.
 * Update README feature list to reflect shipped functionality.

#### 1.2.1

 * Fix appearance live preview so custom bot avatars show immediately on load and
   when selected from the media library.

#### 1.2.0

 * Add External Knowledge URLs under Content Sources for public off-site pages such
   as registration or event platforms.
 * Seed knowledge rule for registration, fees, and event date questions using external
   context.

#### 1.1.5

 * Add appearance controls for header avatar circle background color and opacity.

#### 1.1.4

 * Split appearance colors for open panel and minimized launcher button.
 * Center default avatar icon in appearance settings preview.

#### 1.1.3

 * Fix fatal error on frontend pages caused by undefined LD_ACFW_PLUGIN_DIR constant.

#### 1.1.2

 * Fix mobile chat widget to use full viewport height with input pinned to the bottom.

#### 1.0.0

 * Production release: encrypted API keys, CI (PHPCS + PHPUnit), log pagination,
   and release ZIP build script.

#### 0.9.0

 * Add appearance editor with live preview, page display rules, safeguarding workflow,
   and maintenance tools.

#### 0.8.0

 * Add session feedback admin UI, plugin rating prompt, and feedback-on-close widget
   option.

#### 0.7.0

 * Add analytics dashboard with Chart.js, searchable logs table, thread drawer, 
   and CSV export.

#### 0.6.0

 * Add frontend chat widget with shadow DOM, REST message/feedback endpoints, logging,
   and rate limits.

#### 0.5.0

 * Add rules engine with CRUD, bulk actions, system prompt compiler, and preview
   modal.

#### 0.4.0

 * Add RAG context builder with dynamic post-type indexing, keyword relevance, and
   cache refresh.

#### 0.3.0

 * Add multi-provider AI router (Groq, OpenAI, Claude) with fallback chain and test
   connection AJAX.

#### 0.2.0

 * Phase 1 scaffolding: database tables, admin shell, settings, dynamic content 
   sources list.

#### 0.1.0

 * Initial repository scaffolding and build plan.

## Meta

 *  Version **1.2.9**
 *  Last updated **11 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.4 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [AI](https://wordpress.org/plugins/tags/ai/)[assistant](https://wordpress.org/plugins/tags/assistant/)
   [chatbot](https://wordpress.org/plugins/tags/chatbot/)[faq](https://wordpress.org/plugins/tags/faq/)
   [support](https://wordpress.org/plugins/tags/support/)
 *  [Advanced View](https://wordpress.org/plugins/lancedesk-ai-chatbot/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/lancedesk-ai-chatbot/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/lancedesk-ai-chatbot/reviews/)

## Contributors

 *   [ Lance Desk ](https://profiles.wordpress.org/lancedesk/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/lancedesk-ai-chatbot/)