Integration — Salesforce Service CloudAvailable now

TicketResolve AI for Salesforce: Automatic Case Resolution on Top of Your Existing Service Cloud Setup

TicketResolve AI connects to your Salesforce org via a Connected App. Incoming cases are matched against your knowledge base and resolved case history, and answered automatically — all within your existing Salesforce workflow. No migration, no new interface for your agents to learn.

TicketResolve AI connects to Salesforce via the official Salesforce REST API and Connected App OAuth2. TicketResolve AI is not a Salesforce ISV partner or AppExchange listing. This integration is built and maintained by TicketResolve AI.

Data connection

What data is connected

Case content

Subject, description, customer email, contact details, and any custom fields on the Case object.

Case history

Closed cases are indexed as a resolution source. The more history you have, the more accurate the AI becomes.

Knowledge articles

Your published Salesforce Knowledge articles are indexed as the primary knowledge base source.

Case metadata

Priority, origin, type, and queue assignments — used for triage and routing decisions.

Email thread

Customer follow-up emails on existing cases are detected and answered automatically, keeping the thread resolved without agent intervention.

Setup process

How setup works

Most Salesforce customers are live within one business day. Setup requires creating a Connected App and a Record-Triggered Flow — no Apex code required.

01

Create a Connected App and enable the Client Credentials Flow

In Salesforce Setup → App Manager, create a new Connected App with OAuth enabled. Enable the 'Manage user data via APIs (api)' scope and copy the Consumer Key and Consumer Secret. Then go to Manage → Edit Policies, enable 'Client Credentials Flow', and assign a 'Run As' user (an integration user with API access). No username or password is required — TicketResolve AI authenticates using only the Client ID and Secret.

02

Connect your Salesforce org in TicketResolve AI

Enter your instance URL (e.g. https://yourorg.my.salesforce.com), Connected App Consumer Key and Secret, and the Salesforce username and password+security token for the integration user. TicketResolve AI verifies the credentials immediately by exchanging them for an OAuth access token.

03

Index your knowledge base and case history

TicketResolve AI indexes your Salesforce Knowledge articles and closed case history. Initial indexing typically takes 2–4 hours depending on volume.

04

Create a Record-Triggered Flow with an HTTP Callout

In Salesforce Setup → Flows, create a Record-Triggered Flow on the Case object. Add an HTTP Callout action (API v59.0+) pointing to your webhook URL. The minimum required body fields are case_id, subject, description (or latest_email — at least one must be non-empty), and contact_email (needed for the reply to have a recipient address). contact_name personalises the greeting. If HTTP Callout is not available in your org, use an Apex @future(callout=true) method instead.

05

Go live

Activate the Flow. TicketResolve AI begins processing new cases immediately. Automated responses appear as EmailMessage replies in Salesforce with a full audit trail.

Workflows

Supported workflows

→

Automatic case resolution

Cases that meet the confidence threshold are answered automatically. The response is posted as a public EmailMessage reply in Salesforce and the case is marked Closed.

→

Follow-up reply handling

When a customer replies to a closed case, Salesforce reopens it and fires the Flow again. TicketResolve AI answers the follow-up and closes the case again — automatically.

→

Triage and queue routing

Cases that cannot be resolved automatically are assigned to your Triage queue (if configured) or set to Escalated status so agents can pick them up.

→

Slack escalation notifications

When a case is escalated, TicketResolve AI sends a Slack notification with the case subject, confidence score, and a direct link to the case in Salesforce.

Resolution examples

What gets resolved automatically

Ticket

How do I reset my password?

Resolved

AI retrieves the password reset article from your Knowledge base and sends step-by-step instructions as an EmailMessage reply. Case closed in under 15 seconds.

Ticket

I can't log in — my account seems locked.

Resolved

AI matches against closed cases with the same pattern, identifies the account lockout flow, and sends the unlock steps with a link to the account portal.

Ticket

Where can I find my invoice for last month?

Resolved

AI retrieves the billing documentation from your Knowledge base and provides the exact navigation path to the invoices section.

Ticket

Does your API support webhooks?

Resolved

AI finds the relevant API documentation and responds with the webhook endpoint details and example payload.

Human escalation

Human escalation behaviour

When TicketResolve AI cannot resolve a case with sufficient confidence, it routes the case to your Triage queue in Salesforce — exactly as it would have arrived without the integration. The case is set to Escalated status and optionally assigned to the Triage queue so agents have context before they open it. A Slack notification is sent if configured. You define the escalation rules: by case type, priority, or confidence threshold.

Escalation triggers

→Confidence score below your set threshold
→Ticket type or tag matches an escalation rule
→Customer segment or tier requires human review
→AI detects ambiguity or conflicting sources
→Ticket is a follow-up to an unresolved conversation

Security & permissions

Security and permissions

Connected App OAuth2

TicketResolve AI uses the Salesforce username-password OAuth2 flow with a dedicated integration user. Only the minimum API permissions required are requested: read access to Cases and Knowledge, write access to post EmailMessage replies and update case status.

Data isolation

Your Salesforce data is stored in an isolated tenant within TicketResolve AI's infrastructure. It is never used to train shared models or shared with other customers.

Audit trail

Every automated action — reply sent, case closed, case escalated — is logged with a timestamp, confidence score, and the source used to generate the response.

Revocation

Disconnecting the integration from your TicketResolve AI dashboard immediately revokes all API access. Deleting your TicketResolve AI account removes your Salesforce data from the index immediately.

Frequently asked questions

Salesforce Service Cloud integration — common questions

TicketResolve AI + Salesforce Service Cloud

See TicketResolve AI resolve tickets inside your Salesforce Service Cloud queue

Book a 20-minute walkthrough. We'll connect to a live Salesforce Service Cloud instance and show you exactly how TicketResolve AI classifies, resolves, and escalates tickets in your queue.