- Add email-read-pixel config parameter to enable/disable tracking
- Implement tracking pixel injection in HTML emails
- Add sent_email_tracking table with migration
- Create 4 new API endpoints:
- GET /api/email/tracking/pixel/{id} - serve pixel & record read
- GET /api/email/tracking/status/{id} - get email read status
- GET /api/email/tracking/list - list all tracked emails
- GET /api/email/tracking/stats - get aggregate statistics
- Store tracking data: read_at, read_count, IP, user_agent
- Integrate with send_email() to auto-inject pixel when enabled
|
||
|---|---|---|
| .. | ||
| api | ||
| guides | ||
| reference | ||
| README.md | ||
General Bots Documentation
Welcome to the General Bots documentation. This guide covers everything you need to build, deploy, and manage AI-powered bots.
Quick Navigation
| Section | Description |
|---|---|
| Getting Started | Installation and first bot |
| API Reference | REST endpoints and WebSocket |
| BASIC Language | Dialog scripting reference |
| Configuration | Environment and settings |
Documentation Structure
docs/
├── api/ # API documentation
│ ├── README.md # API overview
│ ├── rest-endpoints.md # HTTP endpoints
│ └── websocket.md # Real-time communication
├── guides/ # How-to guides
│ ├── getting-started.md # Quick start
│ ├── deployment.md # Production setup
│ └── templates.md # Using templates
└── reference/ # Technical reference
├── basic-language.md # BASIC keywords
├── configuration.md # Config options
└── architecture.md # System design
Core Concepts
Knowledge Bases (KB)
Store documents, FAQs, and data that the AI can search and reference:
USE KB "company-docs"
Tools
Functions the AI can call to perform actions:
USE TOOL "send-email"
USE TOOL "create-ticket"
Dialogs
BASIC scripts that define conversation flows and automation:
TALK "Hello! How can I help?"
answer = HEAR
Quick Links
Version
This documentation covers General Bots v6.x.