AI settings
What Is It?
The workspace's AI configuration: which provider and model are used, the API key, temperature, and the connection test.
Why Would I Use It?
AI features spend real money with your provider. You choose the provider, the model, and therefore the cost and quality.
Who Can Use It?
ai.settings.view to see, ai.settings.manage to change (OWNER/ADMIN). The module also requires the ai plan feature (Premium).
Where Can I Find It?
Control → AI Settings
(/dashboard/administration/ai).
Supported providers
| Provider | Default model | Notes |
|---|---|---|
| OpenAI | gpt-4o-mini | Hosted API |
| Google Gemini | gemini-1.5-flash | Hosted API |
| Anthropic | claude-3-5-haiku-latest | Hosted API |
| Ollama | llama3.1 | Local/self-hosted endpoint |
Each provider has a default base URL you can override for a proxy or a local model.
Configure AI
- Open Control → AI Settings.
- Choose the provider.
- Enter the API key for that provider. Keys are stored server-side and are never shown back to the browser.
- Optionally set the model name, base URL, temperature (default 0.3), and maximum tokens (default 1024).
- Run the connection test.
- Save.
What Happens Next?
AI features become available to members whose role includes
ai.assist.use. The assistant appears in the floating messenger's AI tab.
What the AI can do
Twenty named capabilities, grouped by module, including: lead and opportunity summaries, follow-up email drafts, next-best action, meeting-notes summaries, task generation, project summaries and risk analysis, milestone summary, quote description, invoice explanation, payment reminder, report explanation, executive summary, trend analysis, business brief, chat summaries/replies/action items, and "today's follow-ups".
Each feature checks a module permission before it builds any context, so the assistant cannot summarise a record the user could not open.
Write actions
The assistant may propose a write (create a task, change a lead's status). Nothing is written until the user confirms. On confirmation, the owning module's service performs the action with that module's validation and permissions.
Usage and cost
The usage view shows requests, tokens, and estimated cost. Pricing is best-effort; a model without a configured price is recorded at zero, so treat the figure as directional.
Retention
AI conversations are pruned after 90 days by a daily job. Usage logs are kept as billing evidence and are not pruned.
Important things to know
- Keys are secrets. Enter them only here, never in a chat, ticket, or document.
- A missing key does not break the rest of the product; only AI features are unavailable.
- Provider outages surface as feature errors with a clear message; nothing is silently retried into a wrong answer.
- AI output is advisory. Verify figures against the record or report.
- Costs are yours: the workspace's provider account is billed directly.
Common problems
| Symptom | Likely cause | What to do |
|---|---|---|
| AI tab hidden | Plan lacks ai, or role lacks ai.assist.use | Ask an owner/admin |
| Connection test fails | Wrong key, wrong base URL, or provider outage | Re-check the key and provider; try again |
| "No permission" instead of "not configured" | Role differs from plan-based denial | SF-001 separated these messages; read the exact error |
| Usage cost shows zero | Model has no price entry | Treat as unknown, not free |
| Answers ignore a record | You lack view permission on it | Check your role |
Related guides
Subscription and plans
The plan attached to your workspace. It decides which modules open and what limits apply (users, storage, monthly API requests).
Integrations
The connections between SahajFlow and the outside world: API keys for your own systems, outbound webhooks, the integration registry, website analytics (…