Skip to content

Let the support AI answer billing how-to questions - #1625

Merged
helpcodeai merged 1 commit into
mainfrom
fix/support-ai-billing-questions
Nov 10, 2026
Merged

helpcodeai merged 1 commit into
mainfrom
fix/support-ai-billing-questions

Conversation

@helpcodeai

Copy link
Copy Markdown
Contributor

Why

A Cloud customer asked in the support chat where to find the invoice for their payment. Triage tagged it billing, and billing always goes to a person, so the desk's AI assistant never answered a question the dashboard answers in two clicks. The customer waited for a human.

What changes

  • New triage category billing-question: how-to questions the dashboard answers (where to find or download an invoice, invoices by email, changing the card, upgrading, downgrading or cancelling).
  • billing keeps the problems a person must handle: refunds, double or unexpected charges, failed or disputed payments, discounts or prices, correcting an issued invoice. Priority stays High for those.
  • routeToAssistant hands billing-question live chats to the AI assistant for Cloud self-service customers only. Enterprise and dedicated customers are billed by contract, so their billing questions still go to a person.
  • The triage prompt tells the model the difference and gives the dashboard path for the suggested reply.

The desk assistant's instructions, guardrails and billing FAQ snippet were updated in Libredesk to match (outside this repo).

Cloud and self-hosted

ee/support runs only where the Libredesk triage is configured (Cloud). Self-hosted instances are unaffected.

Tests

In packages/backend:

  • npx jest src/ee/support --maxWorkers=4: 7 suites, 84 tests passed (routing test extended: billing-question goes to the assistant on Cloud, not for a dedicated customer; billing still never does)
  • npx tsc --noEmit -p tsconfig.json: clean
  • npx eslint on the two changed files: clean

Triage sent every billing chat to a person, so the desk's AI assistant never saw questions the dashboard answers, like where to download an invoice. A new billing-question category (invoices, invoices by email, card, plan change, cancelling) goes to the assistant for Cloud self-service customers; refunds, double charges, disputes, discounts and invoice corrections stay billing and go to a person, as do enterprise customers.
@helpcodeai
helpcodeai merged commit 32f3f2f into main Nov 10, 2026
17 checks passed
@helpcodeai
helpcodeai deleted the fix/support-ai-billing-questions branch November 10, 2026 19:18
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 10, 2026
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