---
title: "Salesforce integration"
description: "Connect Salesforce to Softr, then build apps on standard and custom objects, and create, update, retrieve and delete records from your workflows and agents."
canonical: "https://docs.softr.io/integrations/salesforce"
updated: "2026-12-04"
---

# Salesforce integration

Salesforce is a CRM platform for managing Contacts, Leads, Opportunities, Accounts, and custom objects. In Softr, you can build apps on your Salesforce objects and use Salesforce in workflows and agents.

## Connect Salesforce

Any Salesforce data source you connect is available to all workspace collaborators across all apps in the workspace.

> **Warning**
>
> You need permission to authorize third-party OAuth applications in your Salesforce org. If your org restricts connected apps, ask your Salesforce administrator to approve Softr.

1. Install the Softr app in your Salesforce org. You install it once per org.

   ![The Salesforce connection window, with the link to install the Softr app in your Salesforce org highlighted](/workflows/integrations/salesforce/salesforce-install-link.webp)

   _Install the Softr app in your Salesforce org before you connect_

2. In the Softr Studio dashboard, select **Integrations** in the left menu.

3. Select **Connect new**.

   ![The Integrations page of the dashboard, with the Connect new button](/data-sources/salesforce/integrations.webp)

4. In the **Select an integration** window, select **Salesforce**.

   ![The Select an integration window, with Salesforce selected](/data-sources/salesforce/select-salesforce.webp)

5. In the **Connect to Salesforce** window, select **Connect**.

   ![The Connect to Salesforce window, with the Connect button](/data-sources/salesforce/connect-salesforce.webp)

6. Sign in to your Salesforce account when Softr redirects you.

7. Choose a **production** org or a **sandbox** org, then approve the requested permissions.

To use Salesforce in a workflow:

1. Install the Softr app in your Salesforce org, once per org.
2. Open your app, go to **Workflows**, and create or edit a workflow.
3. Add a Salesforce action step, such as **Create record** or **Update record**.
4. Select **Connect Salesforce** and authorize Softr through OAuth.
5. Choose the **object type**, such as Contact, Lead, Opportunity, Account or a custom object.
6. Configure the action inputs. Map fields from your workflow data to the Salesforce fields.
7. Publish the workflow.

## Use cases

| Use case                          | What it does                                                                                                                 |
| --------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| **Lead capture from forms**       | A visitor submits a contact form, and the workflow creates a Salesforce Lead or Contact.                                     |
| **Member portal sync**            | A new user signs up, and the workflow creates a Salesforce Contact and assigns it to an account.                             |
| **CRM data enrichment**           | Customers update their profile in a portal, and the changes flow into their Salesforce record.                               |
| **Deal pipeline automation**      | A form or status change creates or updates a Salesforce Opportunity.                                                         |
| **Admin record management**       | Your team looks up, edits or removes Salesforce records in an internal dashboard. Not every user needs a Salesforce license. |
| **Deduplication before outreach** | Before you create a record, query Salesforce with a SOQL filter. If the record exists, skip it or update it.                 |

## Use Salesforce as a data source

> **Note**
>
> In apps built with Softr AI, connect your account, then ask Softr AI to build on the source. It reads the tables and builds the pages for you. See [Connect your data](/apps/connect-your-data). The block settings below apply to Classic apps.

Salesforce as a data source is available on the Enterprise plan.

### Connect your Salesforce data to a Classic app

Once your Salesforce account is connected, you can use it in one or several apps.

1. **Connect a block to an object**

   To display your data in the app, connect a [dynamic block](/classic/overview#visualize-data-with-building-blocks), such as [List](/classic/list-and-grid-blocks#list-block), [Grid](/classic/list-and-grid-blocks#grid-block), or [Table](/classic/table-block), to your Salesforce objects.

   1. In the **Source** tab of the block, select the authenticated Salesforce integration.
   2. Choose the **Object** you want to use.

   ![The Source tab of a List block, with the Salesforce account Acme Corp and the Opportunity object selected](/data-sources/salesforce/block-source.webp)

   > **Warning**
   >
   > You can connect only one object type to one block. To show **Accounts** and **Opportunities**, add one block for each.
2. **Map Salesforce fields to item fields**

   Each Salesforce object has fields with predefined types, such as text, picklists, dates, and lookups. Choose which fields the block shows, and match each one to a Softr field of the same kind.

   For example, if an **Opportunity** stores an image URL in a **URL** field, map it to an **Image** field in a List block.

### Supported objects

Softr supports these Salesforce objects:

- Contacts
- Leads
- Opportunities
- Accounts
- Cases
- Custom objects

### Supported fields

| Salesforce field                              | Support        | Notes                |
| --------------------------------------------- | -------------- | -------------------- |
| Standard object fields                        | Read and write |                      |
| Custom fields you created in Salesforce       | Read and write |                      |
| Formula, rollup summary                       | Read only      |                      |
| Created by, last modified by, system modstamp | Read only      | System audit fields. |

### Relationships

Salesforce objects link through lookup and master-detail relationships. For example, an **Account** can have several **Contacts** and several **Opportunities**.

In Softr, show related objects with a [Linked List block](/classic/item-details-block#linked-list) or with related record ID fields.

> **Warning**
>
> You cannot use related objects in [block visibility conditional filters](/classic/block-visibility-and-filters#block-visibility) yet.

## Use Salesforce in workflows and agents

Use Salesforce in Softr workflows and agents to create, update, retrieve, and delete records in any Salesforce object.

### Actions

| Action               | What it does                                                                                                                                                                    |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Create record**    | Adds a new record to any Salesforce object, including Contact, Lead, Opportunity, Account, or custom objects. Map fields from your Softr form or database to Salesforce fields. |
| **Update record**    | Updates an existing Salesforce record by ID for any object type. Map the fields you want to change, such as a phone number, deal stage, or account owner.                       |
| **Get record**       | Retrieves a single Salesforce record by ID for any object type. All fields of the record are available in later workflow steps.                                                 |
| **Get many records** | Fetches multiple records from any Salesforce object. Optionally filter results with a SOQL WHERE clause and set a limit on the number of returned records.                      |
| **Delete record**    | Permanently deletes a record from any Salesforce object by ID.                                                                                                                  |

### Good to know

- Use **Update record**, **Get record** and **Delete record** with the ID of the record.
- With **Get many records**, filter results with a SOQL WHERE clause, for example `LastName = 'Doe' AND AccountId = '001abc'`, and set a limit.
- Chain Salesforce actions with other integrations. For example, send a Slack notification after you create a record.
- Start **Delete record** from an admin action button or a data-cleanup workflow.

## FAQ

**Why can't I see certain Salesforce fields in Softr?**

Salesforce enforces field-level security and profile permissions on the API user account that authorized the connection. If a field or object is missing in Softr, check the profile and permission sets of the authorizing user. They must grant read access, and edit access where you need it.

**Do I need to install anything in Salesforce?**

Yes. Install the Softr app in your Salesforce org once. You also need permission to authorize third-party OAuth applications. If your org restricts connected apps, ask your Salesforce administrator to approve Softr.

**Which plan do I need for Salesforce?**

Salesforce as a data source is available on the Enterprise plan.

**Can I connect a Salesforce sandbox?**

Yes. When you connect Salesforce, choose the **sandbox** option to authenticate against `test.salesforce.com` instead of your production org. Use it to test your app against non-production data before you go live.

**Can I use several Salesforce orgs in one Softr app?**

Yes. Connect several Salesforce accounts, and use a separate block for each object from each org.
