Deploying Multiple Bots
Deploying Multiple Bots
The Supervised AI Bots plugin is designed to handle multiple distinct chatbot instances across a single WordPress website. This allows you to serve context-specific bots (e.g., a Sales bot on your landing page and a Support bot on your documentation pages) to improve user engagement.
Configuring Your Bot List
Before deploying bots to your pages, you must register their source URLs in the plugin settings.
- Navigate to the Supervised AI Bots settings page in your WordPress Admin dashboard.
- Locate the bot URL configuration textarea.
- Enter each Supervised AI chatbot URL on a new line.
- The first line corresponds to
id="1". - The second line corresponds to
id="2", and so on.
- The first line corresponds to
Example Configuration:
https://app.supervised.ai/bot/sales-assistant
https://app.supervised.ai/bot/technical-support
https://app.supervised.ai/bot/feedback-collector
Using Shortcodes for Page-Specific Deployment
To display a specific bot, use the [supervised_ai_bot] shortcode within the WordPress block editor (using a Shortcode block) or the classic editor. The id attribute is mandatory and identifies which URL from your settings list to load.
| Bot Purpose | Shortcode | Logic |
| :--- | :--- | :--- |
| Sales Assistant | [supervised_ai_bot id="1"] | Loads the URL on line 1 of your settings. |
| Technical Support | [supervised_ai_bot id="2"] | Loads the URL on line 2 of your settings. |
| Feedback Collector | [supervised_ai_bot id="3"] | Loads the URL on line 3 of your settings. |
Best Practices for Multiple Deployments
To ensure a seamless user experience when using multiple bots, consider the following strategies:
1. Contextual Relevance
Deploy bots that match the intent of the page content.
- Product Pages: Use a bot trained on product specs and pricing (
id="1"). - Help Center: Use a bot connected to your knowledge base (
id="2").
2. Avoid Bot Overlap
While the plugin allows you to place multiple shortcodes on a single page, it is recommended to use only one bot per page. Having multiple floating chat triggers can clutter the UI and confuse visitors.
3. Managing Bot IDs
If you remove a URL from the middle of your list in the settings page, remember that the IDs of the bots below it will shift.
- Example: If you delete the URL on line 2, the URL that was on line 3 now becomes
id="2". - Pro Tip: Always append new bots to the end of the list to avoid having to update shortcodes on existing pages.
4. Verification
After deploying a new bot via shortcode, visit the live page and click the chat trigger button to ensure the correct chatbot interface loads within the popup container.