Skip to content

Let the support AI answer enterprise chats and notify the Enterprise team - #1163

Merged
helpcodeai merged 2 commits into
mainfrom
feat/support-ai-for-enterprise
Oct 19, 2026
Merged

helpcodeai merged 2 commits into
mainfrom
feat/support-ai-for-enterprise

Conversation

@helpcodeai

Copy link
Copy Markdown
Contributor

Summary

Enterprise customers who opened the support chat got no answer: triage sent every enterprise conversation to the Enterprise team only, and nobody was notified. They now get the same AI first answer as other Cloud customers for setup and connector questions, and the Enterprise team is notified straight away through a mention in the triage note.

Changes

  • routeToAssistant no longer excludes enterprise customers or dedicated instances. Billing, bugs, feature requests, sales and email conversations still go only to a person.
  • For enterprise conversations, the private triage note mentions the Enterprise team. Libredesk then sends every member an in-app notification and an email, even when the assistant answers first.
  • LibredeskClient.addPrivateNote takes optional mentions (agent or team).

Type

  • New feature

Testing

  • Added/updated unit tests
  • In packages/backend: npx jest src/ee/support: 3 suites, 28 tests passed.
  • npx eslint src/ee/support/*.ts: clean.
  • npx tsc --noEmit -p tsconfig.json: clean (after prisma generate).
  • I checked the mention behaviour against Libredesk v2.8.0 (SendPrivateNote → NotifyMention, team mentions expand to all members). The API accepts mentions on private notes.

Deployment modes

  • Cloud: behaviour changes as described above.
  • Self-hosted: no change. Triage runs only where the Libredesk API key is configured, which is Cloud.

Checklist

  • My code follows the existing code style
  • I have tested my changes locally
  • This PR has a descriptive title

@helpcodeai helpcodeai closed this Oct 19, 2026
@helpcodeai helpcodeai reopened this Oct 19, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 19, 2026
@helpcodeai
helpcodeai enabled auto-merge (squash) October 19, 2026 18:23
@helpcodeai
helpcodeai merged commit 6506bc1 into main Oct 19, 2026
14 checks passed
@helpcodeai
helpcodeai deleted the feat/support-ai-for-enterprise branch October 19, 2026 19:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant