Skip to main content
For most users, the Getting Started Overview is enough. This page is a deeper reference for how the platform’s data models connect.
botBrains organizes your AI operations around four models: Organization & Projects for structure, Users, Conversations & Messages for customer interactions, Channels, Aliases & Deployments for versioned releases, and guidances, actions & knowledge for AI behavior.

Model 1: Organization & Projects

The Organization & Projects model defines how your company structures AI agents and manages team access.

Organization

Your Organization is the top-level container representing your company’s botBrains account. Each account has exactly one organization.
ContainsDescription
ProjectsEvery AI agent you create
BillingSubscription plan, usage tracking, payment methods
Team MembersPeople with access to manage your botBrains account
SettingsDefault configurations and preferences
All projects roll up to organization-level billing. Team members can receive access to multiple projects, and admins can access all projects within the organization.
In the botBrains data model, “Organization” and “Account” are often used interchangeably.

Projects

Projects are where the real work happens. Each project is a completely independent AI agent with its own configuration, knowledge base, and deployments.
ContainsDescription
Knowledge SourcesData providers, snippets, and search tables
Behavior ConfigurationProfiles that control guidance, tools, and how the AI responds
DeploymentsVersioned releases of your AI configuration
User PoolsCollections of users who interact with this project
IntegrationsChannels like website widgets, Zendesk, Salesforce, Slack
AnalyticsMetrics, topics, and insights for this AI agent
Projects are fully isolated—they don’t share knowledge or configurations by default. Each has its own API keys, permissions, and analytics.

When to Create Multiple Projects

ReasonExample
Different products or brandsSeparate AI for each product line, each with its own knowledge base and voice
Different departmentsSales, support, and technical teams with different escalation workflows
Development stagesSeparate Dev, staging, and production environments
Languages or regionsRegion-specific deployments with localized knowledge
Customer segmentsEnterprise customers get a different AI experience than self-service users
While multiple projects can integrate with a single Zendesk or Salesforce Service Cloud instance, only one active integration from the third-party platform to botBrains exists at a time. You might need to consolidate multiple use cases into one project.

Model 2: Users, Conversations & Messages

This model captures who your customers are, what they ask about, and their complete interaction history.
Users own conversations. Each conversation belongs to exactly one user (1-to-many). This is not a group chat model—conversations are between one customer and your AI.

Users

Users represent the people who interact with your AI agent. Each user has a unique identity and maintains conversation history across all interactions.
PropertyDescription
ProfileName, email, phone number, identification
Custom AttributesYour own data fields for segmentation and personalization
PreferencesLanguage, timezone, and other settings
External IDsIdentifiers from your systems (CRM, support platform, database)
Conversation HistoryAll conversations this user has ever had
LabelsTags for organization and segmentation
You can identify users by email, phone number, or external ID. The platform tracks anonymous users by device/session until they identify themselves. Users belong to a User Pool scoped to your organization. You can share user pools across projects if needed.

Conversations

Conversations are individual interaction sessions between a user and your AI agent. Each conversation belongs to exactly one user and contains a sequence of messages. Conversations track status, ratings, timestamps, channel information, labels, and topic classification. They flow through these states:
StatusMeaning
ActiveOngoing conversation, user actively participates
ResolvedSuccessfully answered
EscalatedHanded off to human agent
AbandonedUser stopped responding

Messages

Messages are the individual exchanges within a conversation. Each message has a role (user, assistant, or operator), text content, optional attachments, and labels. Messages maintain chronological order and are immutable once created. Message types include standard messages, comments (internal notes from team members, not visible to the user), system-generated notes, and conversation summaries.

Model 3: Channels, Aliases & Deployments

This model defines how you deploy AI versions across platforms. It separates configuration development from production deployment, enabling safe updates and version control.

Channels

Channels are the platforms where users interact with your AI. You can have multiple channels of the same type (for example, multiple website widgets for different sites).
ChannelDescription
WebsiteChat widget embedded on your website. Three modes: launcher, inline, iframe.
ZendeskAutomates ticket responses, predicts fields, handles ticket workflows.
Salesforce Service CloudResponds to cases, populates fields, manages case workflows.
SlackDM the bot or mention it in channels.
WhatsAppMessaging platform integration (coming soon).
Channels connect to an alias, not directly to a version. This means you update once and all connected channels switch automatically.

Aliases

An alias is a named pointer to a specific deployment version. Think of it as a bookmark—channels connect to “Production,” and you control which version “Production” points to.
TypeDescription
MutableYou can update to point to different versions. Used for “Production,” “Staging,” etc.
ImmutableOnce set, always points to the same version. Used for rollback points.
When you update an alias, all connected channels switch immediately with no downtime.

Deployments (Versions)

Deployments are sequentially numbered, immutable snapshots of your AI’s complete configuration at a specific point in time. Each version contains the profile configuration (guidance, tools, LLM settings), a knowledge snapshot (all sources at build time), and metadata.
Knowledge is versioned. Changes to data providers don’t affect deployed channels until you build a new version. This keeps deployed behavior stable and rollback-safe.
Learn more in the Versioning Guide.

Model 4: Guidance, Actions & Knowledge

These three components live inside Profiles and together define how your AI behaves, what it can do, and what it knows.

Guidance Rules

Guidance rules control how your AI behaves. Each guidance contains natural language instructions, tool permissions (allowed_tools), audience rules for when it applies, and an active/draft state. Multiple guidances evaluate in priority order. When you reference tools in instructions using backticks (for example, `search_orders`), botBrains automatically detects them and manages the allowed_tools list.

Actions

Actions are tools and capabilities your AI can execute:
TypeDescription
Built-in ToolsWeb search, fetch web pages, offer handoff, escalate to human, search knowledge
Search TablesStructured data (CSV, JSON) queryable with filters and ranges
MCP ServersExternal integrations via Model Context Protocol (Salesforce, Stripe, Shopify, Zapier, or your own APIs)
TriggersAutomated rules that fire before the AI responds (block, assign/unassign label)
Tools configured in Actions become available for guidances to reference. For sensitive actions, you can require user approval before execution.

Knowledge

Knowledge is your AI’s information foundation—the sources it draws upon for accurate, grounded responses.
ComponentDescription
Data ProvidersSources of content: web crawler, Confluence, or manual (snippets)
SourcesIndividual documents/pages within providers
Chunks & EmbeddingsIndexed segments with vector representations for semantic search
Knowledge supports audience filtering per source—for example, enterprise-only documentation. Every AI response tracks which sources informed it, and users can view source attributions. When you build a deployment, the system captures all three components (guidances, actions, knowledge) into an immutable version. Changes to any of them require a new build and deploy.