Back to tools

AI Agent Tool

Salesforce Rest Api logo

Salesforce Rest Api

REST API for reading and writing data across all Salesforce CRM objects and services.

CRM IntegrationVerified

developer.salesforce.com

•

One-click Login

About Salesforce Rest Api

The Salesforce REST API provides programmatic access to Salesforce data using standard HTTP methods. It supports creating, reading, updating, and deleting records for any object (leads, contacts, opportunities, cases, custom objects), running SOQL queries, and managing metadata. It is the primary integration surface for connecting external apps and automation workflows to Salesforce CRM. API call limits are allocated per-org based on edition and user count rather than billed separately.

AI Agent Use Cases

- Full CRUD operations on all standard and custom Salesforce objects

- SOQL query execution via /query endpoint

- Bulk API support for processing large datasets

- Metadata API for reading and deploying configuration

- OAuth 2.0 authentication with named credentials support

- API call limits allocated per org (edition + user count based, not separately charged)

Available Actions

These are the specific actions that AI agents can perform with this tool

Inputs

campaignId

The Campaign to add a Contact to.

contactId

The Contact to add to the selected Campaign.

Inputs

campaignId

The Campaign to add a Lead to.

leadId

The Lead to add to the selected Campaign.

Inputs

infoBox

infoBox

xml

The object received from Salesforce that will be converted.

extractNotificationOnly

Whether to extract only the notification parts from the XML. Default: `true`.

failOnError

Whether the action should fail if an error occurs when extracting notifications. Default: `false`.

Inputs

objectType

The type of object to create a record of

Inputs

recordId

ID of the opportunity to delete.

Inputs

sobjectType

The type of object to delete a record of.

recordId

The record to delete.

Inputs

sobjectType

The type of object to obtain records of.

fieldsToObtain

Select the field(s) to obtain for the selected record(s) (or all records).

recordIds

The record(s) to retrieve. If not specified, all records will be retrieved.

Inputs

entiyName

Name of the entity to insert as part of the form-data sent along the Salesforce API as a request with multipart/form-data content type. I.e. entityDocument for Documents.

entityDocument

Salesforce object entity to insert.

formContentName

Name of the binary content to insert as part of the form-data sent along the Salesforce API as a request with multipart/form-data content type.

filename

Filename of the blob data to insert.

contentType

Mime type of the content to insert.

attachmentBinarycontent

Binary content of the blob data to insert.

sobjectName

Salesforce standard object type to insert.

Inputs

sobjectType

The type of object to select a record from.

subjectId

The record that will parent the feed item.

messageSegments

Each message segment can be a text string, which will be treated as a segment of `type: Text`, or a [message segment object](https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_requests_message_body_input.htm) such as `{ \

Inputs

exampleInfo

exampleInfo

query

SOQL Query

Inputs

exampleInfo

exampleInfo

search

SOSL Query

Inputs

infoBox

infoBox

sobjectType

The type of object to search for records.

searchTerm

The term to search for.

fields

List of the Salesforce object

Inputs

accountId

The Account to update.

Inputs

contactId

The Contact to update.

Inputs

opportunityId

The Opportunity to update.

Inputs

sobjectType

The type of object to update a record of.

recordId

The record to update.

fieldsToUpdate

Select the field(s) you want to update for this record.

Inputs

objectType

The type of object to create a record of