Connect your helpdesk and BeforeQuery works your queue: drafting replies for agents, resolving tickets it’s confident about, tagging everything, and letting you rehearse against historical tickets before going live. Supported platforms: Zendesk, Freshdesk, Front, Jira Service Management, Linear, Salesforce, Intercom.

Connect your helpdesk

1

Add the integration

In the dashboard, open Workspace → Helpdesk Integrations, click Add integration, choose your platform, and link it to the project whose knowledge should answer tickets.
2

Enter platform credentials

3

Start conservative

Set a confidence threshold (e.g. 0.8) and leave auto-resolve off to begin with — the assistant will draft replies but never send anything on its own.
4

Save the webhook secret

The integration is created with a webhook secret — copy it for the deflection webhook below.

Copilot drafts

From day one, agents can generate a grounded reply draft for any ticket — with a confidence score and citations — then review, edit, and send. Drafts appear in the ticket view of your helpdesk (as private notes) and in the BeforeQuery dashboard.

Deflect tickets automatically

Point your helpdesk’s ticket-created webhook at the integration’s webhook URL (shown on the integration page, verified via HMAC with the webhook secret). For each incoming ticket, BeforeQuery runs the RAG pipeline:
  • Confidence ≥ threshold and auto-resolve on → the reply is posted and the ticket resolves automatically.
  • Otherwise → a private draft note is added and the ticket escalates to a human.
  • Triage — auto-tagging runs on every ticket regardless.

Rehearse with simulations before going live

Don’t guess at a threshold — measure it:
1

Run a simulation

On the integration page, start a simulation over your recent historical tickets (e.g. last 30 days, up to 100 tickets). The assistant answers each one as if it had arrived live — nothing is sent to customers.
2

Review each result

For every simulated ticket you see the question, the generated answer, and its confidence. Mark each result approved or rejected.
3

Pick your threshold and flip the switch

Look at the approval rate by confidence band, choose a threshold where approvals are consistently high, then enable auto-resolve on the integration.

Close the loop