Managing Multiple Bots
Managing Multiple Bots
The Supervised AI Bots plugin is designed to handle multiple chatbot instances across your WordPress site. This allows you to deploy different bots tailored for specific departments (e.g., Sales, Support, or Billing) on different pages.
Configuring Bot URLs
To manage your bot instances, navigate to the Supervised AI Bots settings page in your WordPress admin dashboard. You will find a configuration textarea where you can input your chatbot URLs.
- Line-Separated Format: Each chatbot URL must be placed on its own line.
- Order Matters: The plugin assigns an ID to each bot based on its line number (row). The first URL is ID
1, the second is ID2, and so on.
Example Configuration:
https://supervised.co/bot/sales-assistant
https://supervised.co/bot/technical-support
https://supervised.co/bot/feedback-survey
Deploying Specific Bots via Shortcode
Once you have saved your URLs, you can display a specific bot on any page or post using the [supervised_ai_bot] shortcode with the id attribute. The id corresponds directly to the row number in your settings list.
| Row/Line Number | Bot URL Example | Shortcode to Use |
| :--- | :--- | :--- |
| Line 1 | .../sales-assistant | [supervised_ai_bot id="1"] |
| Line 2 | .../technical-support | [supervised_ai_bot id="2"] |
| Line 3 | .../feedback-survey | [supervised_ai_bot id="3"] |
Usage Examples
Displaying a Sales Bot on a Landing Page
If your Sales Assistant is the first URL in your settings list:
[supervised_ai_bot id="1"]
Displaying a Support Bot on a Documentation Page
If your Technical Support bot is the second URL in your settings list:
[supervised_ai_bot id="2"]
Best Practices for Multiple Bots
- Keep a Reference: Maintain a record of which URL corresponds to which line number to ensure the correct bot is displayed on the intended page.
- Avoid Empty Lines: Do not leave empty lines between URLs in the settings textarea, as this may affect the ID indexing.
- Validation: Ensure every URL is a valid Supervised AI bot link to prevent the chatbot popup from loading a 404 error or a blank frame.