Skip to main content

Salesforce

J
Written by Johan Åkerman

Prerequisite: Third-party connectors are available only on the Sana Enterprise tier, with one exception: the Workday connector is included for both Sana Core and Sana Enterprise.

Introduction

Connect Salesforce to Sana to find, create and update accounts, leads, contacts, and opportunities. Add notes, files, and Chatter posts to records, send email, and search your Knowledge articles. Research, enrich and keep your customer data up-to-date with context from your connected apps to close more deals.

In summary, the connector has the following key characteristics:

  • Category: Sales

  • Connector type: Real-time

  • Auth type: OAuth

  • Hosting type: Managed

Tools

Tools are the operations the agent can use when you ask Sana about Salesforce. In practice, the agent may call more than one to complete a single request.

Tool

Convert SOAP XML object to JSON

Create accounts (Batch)

Create attachment

Create content note

Create CRM record

Create opportunities (Batch)

Create user

Delete CRM record

Describe object

Get knowledge articles

Get knowledge data category groups

Get related records

Get user info

List objects

Post message to Chatter feed

Send email

SOQL query

SOSL search

Text search

Update accounts (Batch)

Update CRM record

Update opportunities (Batch)

Note: This article lists the connector's full set of tools. Your workspace owner can disable individual tools for your workspace, so some of those listed here may not be available to your agents. If a tool you expected is missing, reach out to your workspace owner.

Triggers

While tools are the actions an agent takes on your behalf, triggers are the events that can start an agent automatically. When you build an agent, you can choose one of the triggers below as its starting point. For example, having the agent run every time something new happens in Salesforce.

Trigger

Case Updated (Instant, of Selectable Type)

Email Template Updated (Instant, of Selectable Type)

Knowledge Article Updated (Instant, of Selectable Type)

New Case (Instant, of Selectable Type)

New Chatter Feed Comment (Instant or Polling)

New Chatter Feed Item (Instant or Polling)

New Deleted Record (Instant, of Selectable Type)

New Email Template (Instant, of Selectable Type)

New Knowledge Article (Instant, of Selectable Type)

New Outbound Message (Instant)

New Record (Instant, of Selectable Type)

New Updated Record (Instant, of Selectable Type)

Scope and permissions

This connector uses OAuth. When you connect your account, you will need to sign into your account and grant the required permissions.

Before you start

Sana connects to Salesforce through Pipedream. A Salesforce admin needs to install Pipedream's External Client App in your Salesforce org before anyone can connect.

  • Install the app: The Pipedream pop-up links to the install page under Instance Type. Anyone in your workspace can copy that link for your admin. If your company uses its own Salesforce domain, replace login.salesforce.com in the link with that domain, for example yourcompany.my.salesforce.com.

  • Approve users: During the install, approve all users or the profiles that should use Sana. Otherwise only admins can connect.

  • Check API access: Your Salesforce edition and each user's profile need access to the Salesforce REST API.

Every Salesforce org your users connect to needs the app, including sandboxes.

Set up instructions

Prerequisites:

  • You are a Sana Enterprise user – all third-party connectors except the Workday connector are available only for users on the Sana Enterprise tier.

  • Your Sana workspace owner has enabled this connector – if the workspace owner has disabled the connector it won't appear in the list of available connectors.

  • Your Salesforce admin has completed the required set up – see Before you start above.

Step 1: Go to the connectors page in Sana

In Sana, click on your profile icon and name in the bottom left corner and select Connectors.

Step 2: Find Salesforce in the list of available connectors

Scroll to the Available connectors section and locate Salesforce.

Note: If you can't find a connector in this list, it means one of the following:

  1. You've already connected it — check the ”Active connectors” section at the top of the connectors page, or

  2. Your workspace owner has disabled this connector for your workspace — reach out to them for more information or to request that it be enabled.

Step 3: Hover the connector card and click the connect button

Hover the Salesforce card and click the Connect button.

Tip: If you click the card itself instead of the Connect button, you'll open a connector detail page with more information about its capabilities.

Step 4: Initialize the Pipedream connection

When clicking Connect in the previous step, a pop-up will appear powered by Pipedream. Click the Continue button in the pop-up to initialize the set up.

Note: Sana uses Pipedream to connect your account. Pipedream is a Workday product, trusted by millions of people to keep their data secure.

Step 5: Select your Salesforce instance

In the Pipedream pop-up, choose the Salesforce instance you want to connect to:

  • Production Instance: your live Salesforce environment, where your real data lives. This is the right choice for almost all users.

  • Sandbox Instance: a non-production environment, useful for testing the connector without touching production data.

If your company uses its own Salesforce domain, select Use Custom Domain on the Salesforce sign-in page and enter your domain.

Step 6: Complete the set up

You've successfully connected your Salesforce account. Click Continue to complete the setup and start using the connector.

Known limitations

  • File attachments: Files you share with Sana are attached to records as classic Salesforce attachments rather than Salesforce Files, so they appear in a record's Notes & Attachments related list, not its Files related list.

  • Bulk imports: Sana can create or update accounts and opportunities in bulk from a CSV file you share. The file's header row must use Salesforce field API names (for example, Name or Industry), and Sana can only confirm that Salesforce accepted the job, not how many rows loaded, so check the result in Salesforce under Setup > Bulk Data Load Jobs.

Frequently asked questions

Q: The Pipedream pop-up says 'This app has not been installed in your organization'. What should I do?

A: Salesforce can't find Pipedream's app in the Salesforce org you signed in to. If it isn't installed yet, ask your Salesforce admin to follow the Before you start section above. If it is, check that you're signing in to the right org. If your browser is already signed in to another Salesforce org, Salesforce uses that one, so try again in a private window.

Q: Some users in my workspace can connect Salesforce, but others can't. Why?

A: This usually means Pipedream's app is approved for only some users or profiles in your Salesforce org, often just admins. A Salesforce admin can approve all users, or the profiles that need Sana, in the app's settings. Those profiles also need API access.

Did this answer your question?