Skip to content

AI ​

oneCRM can use AI to draft replies, summarize conversations, score leads, and classify inbound mail. You connect your own AI provider and choose which capabilities are on.

Open Settings → Integrations → AI (/admin/settings/ai). Only super admins can change these settings.

Get started ​

  1. On Providers, add an API key for each capability you want:

    CapabilityKey needed
    Drafts, summaries, triage and other writingA text provider, such as OpenAI, Anthropic or Gemini
    Knowledge base article and saved reply suggestionsA reranking or embeddings provider, depending on the storage driver
    Ticket and lead classificationTypeSafe
  2. On General, turn on Enable AI, choose the Provider and Model, and save.

  3. On Features, turn the capabilities you want on or off.

Providers ​

API keys are stored encrypted. A saved key shows as dots: leave it to keep the key, type over it to replace it, or click Clear to remove it.

OpenAI, Anthropic, Gemini, Ollama and Azure also accept a custom API URL.

General ​

SettingWhat it does
Enable AIMaster switch for all AI features
ProviderThe AI service that writes text
ModelDefault (recommended), Cheapest (lower cost), or Custom (enter a model name yourself)
Storage driverHow matching knowledge base articles and saved replies are found

Storage driver ​

The storage driver finds matching knowledge base articles and saved replies for drafted replies. Every other feature needs just the text provider.

DriverKey neededNotes
Rerank (reranking API)Reranking: Cohere, Jina, Voyage AI, OpenRouter or BedrockThe default and the simplest setup
Database JSON embeddingsEmbeddings: OpenAI, Gemini, Cohere, Mistral, Jina, Voyage AI and othersWorks on any database
PostgreSQL pgvectorSame embeddings keyFaster on large knowledge bases. Needs PostgreSQL with the pgvector extension as the application database

OpenAI has no reranking and Anthropic has no embeddings, so those setups need a second key. A missing key shows a warning that links to the Providers tab.

To get article suggestions, also enable Knowledge base → Semantic article search and Tickets → Suggest replies from knowledge base on Features.

Features ​

Only the features of enabled modules are listed.

FeatureCapabilities
AutomationsGenerate an automation from a plain-language description
BillingDraft billing item descriptions
CommentsSummarize comment threads
DealsSummarize a deal, estimate its win probability, and suggest the next action
Editor transformsRewrite text in rich text editors (improve, shorten, change tone), and draft and improve mail templates
ExpensesFill in a new expense from a receipt upload
InboxDraft replies, summarize threads, and use matching saved replies in drafts
Knowledge baseSemantic article search, and drafting articles from recurring ticket topics
LeadsSummarize leads, suggest a status, score leads, suggest the next action, and classify leads
RolesGenerate a staff role and its permissions from a short description
TasksGenerate checklists and subtasks
TicketsSummarize threads, suggest replies from the knowledge base, suggest triage, and classify tickets

Staff also need the feature's AI permission on their role, for example Use editor AI transforms.

Classification ​

Classification sorts incoming tickets and leads, so your team spends its time on real customer messages. It uses the TypeSafe key, not your text provider.

Four switches on the Features tab control it. All are on by default.

SwitchWhat it does
Tickets → Classify inbound ticketsChecks new tickets from email, the customer portal and web forms
Tickets → Classify tickets in automationsLets the Classify with AI automation action run on tickets
Leads → Classify inbound leadsChecks new leads from web forms
Leads → Classify leads in automationsLets the Classify with AI automation action run on leads

Without a TypeSafe key, the settings page shows Classification provider required and nothing is classified.

Results ​

RecordWhat is stored
TicketSpam, automatic reply, or bounce (email only), plus Sentiment and Urgency
LeadSpam, and Buying intent: Browsing, Evaluating, or Ready

For tickets, AI only decides what the rule-based spam checks leave open. See Spam and junk filtering for what happens to flagged tickets.

Spam leads are flagged, not hidden or deleted. A lead that is not spam and has no score gets a starting score from its buying intent. Leads with very little text are skipped.

Classification runs in the background on the queue.

In automations ​

Add the Classify with AI action to a ticket or lead automation, then branch on the stored results with a Field matches condition.

Two ready-made templates use it:

TemplateWhat it does
AI ticket triageAdds an internal message for spam, automatic replies, and bounces. Otherwise sets urgent priority when urgency or sentiment is high.
AI lead routingLogs an activity when the lead is spam. Otherwise creates a follow-up task when buying intent is Ready.

MCP server ​

On the MCP tab, Enable MCP server lets AI clients such as Claude and ChatGPT work with your CRM records, with the permissions of the user who connects them.

See Claude & ChatGPT for how to connect a client.

Giải pháp CRM Tinh gọn Tự lưu trữ - Sở hữu toàn quyền, không phụ phí định kỳ.