Skip to main content
Connect Salesforce to let the AI retrieve customer and case details (lookups) and perform approved updates (actions).

On this page

Connect

1

Log in as a Salesforce admin and go to Setup

You need permissions to access Platform Tools on Salesforce in the Setup page.
2

Open External Client App Manager

Navigate to AppsExternal Client AppsExternal Client App ManagerExternal Client App Manager
3

Create a new External Client App

Create new app
4

Fill out the necessary information

  • Enter a Name (for example, “Typewise OAuth”)
  • Provide your preferred Email address
  • You can leave the rest of the basic information blank
  • Under API → Enable OAuth
  • Enter a random callback URL (this won’t be used)
  • Select and add the necessary scopes. Make sure to add the api scope.
  • Make sure Enable Client Credentials Flow is selected
  • Ensure all other checkboxes are disabled Fill details Scopes
Once you’re done, click Create to create the client.
5

Enable client credentials flow and assign user

After creating the new app:
  • Navigate to the newly created app
  • Under policies, enable client credentials flow
  • Assign a user to run as (this user will be attributed to all actions/reads performed by this app) Enable flow
6

View and share the generated credentials

You’ll need the consumer key and secret to enable the integration.Credentials

Supported tools

The following tools are available through the Salesforce integration.

Lookups

Retrieve all fields of a Salesforce case by its ID.
ParameterDescriptionRequiredDefault
case_idThe ID of the case to retrieve.Yes
Retrieve only the Description field of a Salesforce case by its ID.
ParameterDescriptionRequiredDefault
case_idThe ID of the case to query.Yes
Retrieve customer details including name, email, phone, and mailing address.
ParameterDescriptionRequiredDefault
user_emailEmail address of the customer to retrieve details for.Yes
Get all open Salesforce cases for a customer (excluding Closed / Resolved).
ParameterDescriptionRequiredDefault
user_emailEmail address of the customer to retrieve tickets for.Yes
limitMaximum number of results to return.No100
Get the status and key information of a Salesforce case.
ParameterDescriptionRequiredDefault
case_identifierThe Case ID (starts with 500) or Case Number to look up.Yes

Actions

Update a customer’s Salesforce Contact fields. You must provide user_email and at least one field to update.
ParameterDescriptionRequiredDefault
user_emailEmail address of the customer to update.Yes
first_nameFirst name.No
last_nameLast name.No
phonePrimary phone number.No
mobile_phoneMobile phone number.No
mailing_streetMailing street address.No
mailing_cityMailing city.No
mailing_stateMailing state or province.No
mailing_postal_codeMailing postal or ZIP code.No
mailing_countryMailing country.No
Create a new customer profile (Contact) in Salesforce.
ParameterDescriptionRequiredDefault
user_emailEmail address for the new customer profile.Yes
last_nameCustomer’s last name.Yes
first_nameCustomer’s first name.No
phonePrimary phone number.No
mobile_phoneMobile phone number.No
mailing_streetMailing street address.No
mailing_cityMailing city.No
mailing_stateMailing state/province.No
mailing_postal_codeMailing postal/ZIP code.No
mailing_countryMailing country.No
Write a comment to an existing Salesforce case.
ParameterDescriptionRequiredDefault
case_identifierThe Case ID (starts with 500) or Case Number to add a comment to.Yes
comment_textThe comment text to add.Yes
is_publicWhether the comment should be public.Notrue