botserver/templates
Rodrigo Rodriguez (Pragmatismo) f7ccc95e60 Fix config.csv loading on startup
- Disable TLS on Vault for local development (HTTP instead of HTTPS)
- Fix bot_configuration id column type mismatch (TEXT -> UUID)
- Add migration 6.1.1 to convert config table id columns to UUID
- Fix sync_config_csv_to_db to use UUID binding for id column
- Make start_all async with proper Vault startup sequence
- Sync default.gbai config.csv to existing 'Default Bot' from migrations
- Add diagnostic logging for config loading
- Change default LLM/embedding URLs from https to http for local dev
2025-12-08 00:19:29 -03:00
..
ai-search.gbai ``` Add KB Statistics keywords and infrastructure documentation 2025-11-30 16:25:51 -03:00
analytics-dashboard.gbai - New templates. 2025-12-03 07:15:54 -03:00
announcements.gbai feat(email): implement email read tracking with pixel support 2025-12-04 18:15:09 -03:00
auth feat(auth): Add OAuth login for Google, Discord, Reddit, Twitter, Microsoft, Facebook 2025-12-04 22:53:40 -03:00
backup.gbai - New templates. 2025-12-03 07:15:54 -03:00
bank.gbai - New templates. 2025-12-03 07:15:54 -03:00
bi.gbai Add comprehensive documentation for GB templates and configuration 2025-12-03 16:05:50 -03:00
bling.gbai - New templates. 2025-12-03 07:15:54 -03:00
broadcast.gbai - New templates. 2025-12-03 07:15:54 -03:00
compliance ``` Add KB Statistics keywords and infrastructure documentation 2025-11-30 16:25:51 -03:00
crawler.gbai Add comprehensive documentation for GB templates and configuration 2025-12-03 16:05:50 -03:00
crm feat(email): implement email read tracking with pixel support 2025-12-04 18:15:09 -03:00
default.gbai Fix config.csv loading on startup 2025-12-08 00:19:29 -03:00
edu.gbai - New templates. 2025-12-03 07:15:54 -03:00
erp.gbai - New templates. 2025-12-03 07:15:54 -03:00
hr/employees.gbai feat(email): implement email read tracking with pixel support 2025-12-04 18:15:09 -03:00
integration Update: General project updates 2025-12-06 11:09:12 -03:00
it/helpdesk.gbai feat(email): implement email read tracking with pixel support 2025-12-04 18:15:09 -03:00
law.gbai Add comprehensive documentation for GB templates and configuration 2025-12-03 16:05:50 -03:00
llm-server.gbai Update: General project updates 2025-12-06 11:09:12 -03:00
llm-tools.gbai Update: General project updates 2025-12-06 11:09:12 -03:00
partials HTMX enters. 2025-11-29 16:29:28 -03:00
platform/analytics.gbai Add comprehensive documentation for GB templates and configuration 2025-12-03 16:05:50 -03:00
productivity Add comprehensive documentation for GB templates and configuration 2025-12-03 16:05:50 -03:00
sales feat(attendance): Multi-channel attendant config (email, phone, teams, google) 2025-12-05 14:54:55 -03:00
static/js/vendor Remove obsolete CAPS.md documentation files 2025-12-04 12:28:05 -03:00
store.gbai ``` Add KB Statistics keywords and infrastructure documentation 2025-11-30 16:25:51 -03:00
talk-to-data.gbai ``` Add KB Statistics keywords and infrastructure documentation 2025-11-30 16:25:51 -03:00
template.gbai Add comprehensive documentation for GB templates and configuration 2025-12-03 16:05:50 -03:00
vectordb-statistics.gbdialog ``` Add KB Statistics keywords and infrastructure documentation 2025-11-30 16:25:51 -03:00
whatsapp.gbai ``` Add KB Statistics keywords and infrastructure documentation 2025-11-30 16:25:51 -03:00
drive.html Remove obsolete CAPS.md documentation files 2025-12-04 12:28:05 -03:00
README.md , dt.month, dt.hour, dt.is_weekend, etc.) 2025-11-30 15:07:29 -03:00

General Bots Templates

Pre-built bot packages for common business use cases. Templates are organized by category for easy discovery.

Categories

/compliance

Privacy and regulatory compliance templates.

Template Description Regulations
privacy.gbai Data subject rights portal LGPD, GDPR, CCPA
hipaa-medical.gbai Healthcare privacy management HIPAA, HITECH

/sales

Customer relationship and marketing templates.

Template Description Features
crm.gbai Full CRM system Leads, Contacts, Accounts, Opportunities, Activities
marketing.gbai Marketing automation Campaigns, Lead capture, Email sequences

/productivity

Office and personal productivity templates.

Template Description Features
office.gbai Office automation Document management, Scheduling
reminder.gbai Reminder and notification system Scheduled alerts, Follow-ups

/platform

Platform administration and analytics templates.

Template Description Features
analytics.gbai Platform analytics bot Metrics, Reports, AI insights

/integration

External API and service integrations.

Template Description APIs
api-client.gbai REST API client examples Various
public-apis.gbai Public API integrations Weather, News, etc.

/hr

Human resources templates.

Template Description Features
employee-mgmt.gbai Employee management Directory, Onboarding

/it

IT service management templates.

Template Description Features
helpdesk.gbai IT helpdesk ticketing Tickets, Knowledge base

/healthcare

Healthcare-specific templates.

Template Description Features
patient-comm.gbai Patient communication Appointments, Reminders

/finance

Financial services templates.

Template Description Features
bank.gbai Banking services Account management
finance.gbai Financial operations Invoicing, Payments

/nonprofit

Nonprofit organization templates.

Template Description Features
donor-mgmt.gbai Donor management Donations, Communications

Root Level

Core and utility templates.

Template Description
default.gbai Starter template
ai-search.gbai AI-powered document search
announcements.gbai Company announcements
backup.gbai Backup automation
broadcast.gbai Message broadcasting
crawler.gbai Web crawling
edu.gbai Education/training
erp.gbai ERP integration
law.gbai Legal document processing
llm-server.gbai LLM server management
llm-tools.gbai LLM tool definitions
store.gbai E-commerce
talk-to-data.gbai Natural language data queries
template.gbai Template for creating templates
whatsapp.gbai WhatsApp-specific features

Template Structure

Each .gbai template follows this structure:

template-name.gbai/
├── README.md                 # Template documentation
├── template-name.gbdialog/   # BASIC dialog scripts
│   ├── start.bas            # Entry point
│   └── *.bas                # Additional dialogs
├── template-name.gbot/       # Bot configuration
│   └── config.csv           # Settings
├── template-name.gbkb/       # Knowledge base (optional)
│   └── docs/                # Documents for RAG
├── template-name.gbdrive/    # File storage (optional)
└── template-name.gbui/       # Custom UI (optional)
    └── index.html

Installation

From Console

botserver --install-template crm

From BASIC

INSTALL TEMPLATE "crm"

Manual

Copy the template folder to your bot's packages directory:

cp -r templates/sales/crm.gbai /path/to/your/bot/packages/

Creating Custom Templates

  1. Copy template.gbai as a starting point
  2. Rename the folder to your-template.gbai
  3. Update internal folder names to match
  4. Edit config.csv with your bot settings
  5. Create dialog scripts in the .gbdialog folder
  6. Add documentation in README.md

Template Best Practices

  • Use HEAR AS for typed input validation
  • Use spaces in keywords (e.g., SET BOT MEMORY, not SET_BOT_MEMORY)
  • Log activities for audit trails
  • Include error handling
  • Document all configuration options
  • Provide example conversations

Contributing Templates

  1. Create your template following the structure above
  2. Test thoroughly with different inputs
  3. Document all features and configuration
  4. Submit a pull request with:
    • Template files
    • Updated category README
    • Entry in this document

License

All templates are licensed under AGPL-3.0 as part of General Bots.


Pragmatismo - General Bots Open Source Platform