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
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
Most Salesforce customers are live within one business day. Setup requires creating a Connected App and a Record-Triggered Flow — no Apex code required.
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.
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.
TicketResolve AI indexes your Salesforce Knowledge articles and closed case history. Initial indexing typically takes 2–4 hours depending on volume.
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.
Activate the Flow. TicketResolve AI begins processing new cases immediately. Automated responses appear as EmailMessage replies in Salesforce with a full audit trail.
Workflows
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.
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.
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.
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
How do I reset my password?
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.
I can't log in — my account seems locked.
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.
Where can I find my invoice for last month?
AI retrieves the billing documentation from your Knowledge base and provides the exact navigation path to the invoices section.
Does your API support webhooks?
AI finds the relevant API documentation and responds with the webhook endpoint details and example payload.
Human escalation
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
Security & permissions
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.
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.
Every automated action — reply sent, case closed, case escalated — is logged with a timestamp, confidence score, and the source used to generate the response.
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
TicketResolve AI + Salesforce Service Cloud
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.