Sim

Salesforce

Interact with Salesforce CRM

The Salesforce tool enables you to connect directly to your Salesforce CRM and perform a wide range of customer relationship management operations within your agentic workflows. With seamless and secure integration, you can efficiently access and automate key business processes across your sales, support, and marketing data.

With the Salesforce tool, you can:

  • Retrieve accounts: Use the salesforce_get_accounts operation to fetch Accounts from Salesforce with custom filters, sorting, and field selection.
  • Create accounts: Automatically add new Accounts to Salesforce using the salesforce_create_account operation, specifying details like name, industry, and billing address.
  • Manage contacts: (If provided, similar tooling available for Contacts—add, update, or fetch contacts as needed.)
  • Handle leads & opportunities: Integrate lead and opportunity management into your workflow, letting your agents capture, qualify, and update sales pipeline data.
  • Track cases & tasks: Automate customer support and follow-up activities by interacting with Cases and Tasks within Salesforce.

The Salesforce tool is ideal for workflows where your agents need to streamline sales, account management, lead generation, and support operations. Whether your agents are syncing data across platforms, providing real-time customer insights, or automating routine CRM updates, the Salesforce tool brings the full power and extensibility of Salesforce into your programmatic, agent-driven processes.

Usage Instructions

Integrate Salesforce into your workflow. Manage accounts, contacts, leads, opportunities, cases, and tasks with powerful automation capabilities.

Tools

salesforce_get_accounts

Retrieve accounts from Salesforce CRM

Input

ParameterTypeRequiredDescription
idTokenstringNoThe ID token from Salesforce OAuth (contains instance URL)
instanceUrlstringNoThe Salesforce instance URL
limitstringNoNumber of results to return (default: 100, max: 2000)
fieldsstringNoComma-separated list of fields to return (e.g., "Id,Name,Industry,Phone")
orderBystringNoField to order by (e.g., "Name ASC" or "CreatedDate DESC")

Output

ParameterTypeDescription
successbooleanOperation success status
outputobjectAccounts data

salesforce_create_account

Create a new account in Salesforce CRM

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
namestringYesAccount name (required)
typestringNoAccount type (e.g., Customer, Partner, Prospect)
industrystringNoIndustry (e.g., Technology, Healthcare, Finance)
phonestringNoPhone number
websitestringNoWebsite URL
billingStreetstringNoBilling street address
billingCitystringNoBilling city
billingStatestringNoBilling state/province
billingPostalCodestringNoBilling postal code
billingCountrystringNoBilling country
descriptionstringNoAccount description
annualRevenuestringNoAnnual revenue (number)
numberOfEmployeesstringNoNumber of employees (number)

Output

ParameterTypeDescription
successbooleanOperation success status
outputobjectCreated account data

salesforce_update_account

Update an existing account in Salesforce CRM

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
accountIdstringYesAccount ID to update (required)
namestringNoAccount name
typestringNoAccount type
industrystringNoIndustry
phonestringNoPhone number
websitestringNoWebsite URL
billingStreetstringNoBilling street address
billingCitystringNoBilling city
billingStatestringNoBilling state/province
billingPostalCodestringNoBilling postal code
billingCountrystringNoBilling country
descriptionstringNoAccount description
annualRevenuestringNoAnnual revenue (number)
numberOfEmployeesstringNoNumber of employees (number)

Output

ParameterTypeDescription
successbooleanOperation success status
outputobjectUpdated account data

salesforce_delete_account

Delete an account from Salesforce CRM

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
accountIdstringYesAccount ID to delete (required)

Output

ParameterTypeDescription
successbooleanOperation success status
outputobjectDeleted account data

salesforce_get_contacts

Get contact(s) from Salesforce - single contact if ID provided, or list if not

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
contactIdstringNoContact ID (if provided, returns single contact)
limitstringNoNumber of results (default: 100, max: 2000). Only for list query.
fieldsstringNoComma-separated fields (e.g., "Id,FirstName,LastName,Email,Phone")
orderBystringNoOrder by field (e.g., "LastName ASC"). Only for list query.

Output

ParameterTypeDescription
successbooleanOperation success status
outputobjectContact(s) data

salesforce_create_contact

Create a new contact in Salesforce CRM

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
lastNamestringYesLast name (required)
firstNamestringNoFirst name
emailstringNoEmail address
phonestringNoPhone number
accountIdstringNoAccount ID to associate contact with
titlestringNoNo description
departmentstringNoDepartment
mailingStreetstringNoMailing street
mailingCitystringNoMailing city
mailingStatestringNoMailing state
mailingPostalCodestringNoMailing postal code
mailingCountrystringNoMailing country
descriptionstringNoContact description

Output

ParameterTypeDescription
successbooleanOperation success status
outputobjectCreated contact data

salesforce_update_contact

Update an existing contact in Salesforce CRM

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
contactIdstringYesContact ID to update (required)
lastNamestringNoLast name
firstNamestringNoFirst name
emailstringNoEmail address
phonestringNoPhone number
accountIdstringNoAccount ID to associate with
titlestringNoNo description
departmentstringNoDepartment
mailingStreetstringNoMailing street
mailingCitystringNoMailing city
mailingStatestringNoMailing state
mailingPostalCodestringNoMailing postal code
mailingCountrystringNoMailing country
descriptionstringNoDescription

Output

ParameterTypeDescription
successbooleanOperation success status
outputobjectUpdated contact data

salesforce_delete_contact

Delete a contact from Salesforce CRM

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
contactIdstringYesContact ID to delete (required)

Output

ParameterTypeDescription
successbooleanOperation success status
outputobjectDeleted contact data

salesforce_get_leads

Get lead(s) from Salesforce

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
leadIdstringNoLead ID (optional)
limitstringNoMax results (default: 100)
fieldsstringNoComma-separated fields
orderBystringNoOrder by field

Output

ParameterTypeDescription
successbooleanSuccess status
outputobjectLead data

salesforce_create_lead

Create a new lead

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
lastNamestringYesLast name (required)
companystringYesCompany (required)
firstNamestringNoFirst name
emailstringNoNo description
phonestringNoNo description
statusstringNoLead status
leadSourcestringNoLead source
titlestringNoNo description
descriptionstringNoDescription

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectCreated lead

salesforce_update_lead

Update an existing lead

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
leadIdstringYesLead ID (required)
lastNamestringNoLast name
companystringNoNo description
firstNamestringNoFirst name
emailstringNoNo description
phonestringNoNo description
statusstringNoLead status
leadSourcestringNoLead source
titlestringNoNo description
descriptionstringNoDescription

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectUpdated lead

salesforce_delete_lead

Delete a lead

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
leadIdstringYesLead ID (required)

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectDeleted lead

salesforce_get_opportunities

Get opportunity(ies) from Salesforce

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
opportunityIdstringNoOpportunity ID (optional)
limitstringNoMax results (default: 100)
fieldsstringNoComma-separated fields
orderBystringNoOrder by field

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectOpportunity data

salesforce_create_opportunity

Create a new opportunity

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
namestringYesOpportunity name (required)
stageNamestringYesStage name (required)
closeDatestringYesClose date YYYY-MM-DD (required)
accountIdstringNoAccount ID
amountstringNoAmount (number)
probabilitystringNoProbability (0-100)
descriptionstringNoDescription

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectCreated opportunity

salesforce_update_opportunity

Update an existing opportunity

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
opportunityIdstringYesOpportunity ID (required)
namestringNoOpportunity name
stageNamestringNoStage name
closeDatestringNoClose date YYYY-MM-DD
accountIdstringNoAccount ID
amountstringNoNo description
probabilitystringNoProbability (0-100)
descriptionstringNoDescription

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectUpdated opportunity

salesforce_delete_opportunity

Delete an opportunity

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
opportunityIdstringYesOpportunity ID (required)

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectDeleted opportunity

salesforce_get_cases

Get case(s) from Salesforce

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
caseIdstringNoCase ID (optional)
limitstringNoMax results (default: 100)
fieldsstringNoComma-separated fields
orderBystringNoOrder by field

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectCase data

salesforce_create_case

Create a new case

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
subjectstringYesCase subject (required)
statusstringNoStatus (e.g., New, Working, Escalated)
prioritystringNoPriority (e.g., Low, Medium, High)
originstringNoOrigin (e.g., Phone, Email, Web)
contactIdstringNoContact ID
accountIdstringNoAccount ID
descriptionstringNoDescription

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectCreated case

salesforce_update_case

Update an existing case

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
caseIdstringYesCase ID (required)
subjectstringNoCase subject
statusstringNoStatus
prioritystringNoPriority
descriptionstringNoDescription

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectUpdated case

salesforce_delete_case

Delete a case

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
caseIdstringYesCase ID (required)

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectDeleted case

salesforce_get_tasks

Get task(s) from Salesforce

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
taskIdstringNoTask ID (optional)
limitstringNoMax results (default: 100)
fieldsstringNoComma-separated fields
orderBystringNoOrder by field

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectTask data

salesforce_create_task

Create a new task

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
subjectstringYesTask subject (required)
statusstringNoStatus (e.g., Not Started, In Progress, Completed)
prioritystringNoPriority (e.g., Low, Normal, High)
activityDatestringNoDue date YYYY-MM-DD
whoIdstringNoRelated Contact/Lead ID
whatIdstringNoRelated Account/Opportunity ID
descriptionstringNoDescription

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectCreated task

salesforce_update_task

Update an existing task

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
taskIdstringYesTask ID (required)
subjectstringNoTask subject
statusstringNoStatus
prioritystringNoPriority
activityDatestringNoDue date YYYY-MM-DD
descriptionstringNoDescription

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectUpdated task

salesforce_delete_task

Delete a task

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
taskIdstringYesTask ID (required)

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectDeleted task

salesforce_list_reports

Get a list of reports accessible by the current user

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
folderNamestringNoFilter by folder name
searchTermstringNoSearch term to filter reports by name

Output

ParameterTypeDescription
successbooleanSuccess status
outputobjectReports data

salesforce_get_report

Get metadata and describe information for a specific report

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
reportIdstringYesReport ID (required)

Output

ParameterTypeDescription
successbooleanSuccess status
outputobjectReport metadata

salesforce_run_report

Execute a report and retrieve the results

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
reportIdstringYesReport ID (required)
includeDetailsstringNoInclude detail rows (true/false, default: true)
filtersstringNoJSON string of report filters to apply

Output

ParameterTypeDescription
successbooleanSuccess status
outputobjectReport results

salesforce_list_report_types

Get a list of available report types

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description

Output

ParameterTypeDescription
successbooleanSuccess status
outputobjectReport types data

salesforce_list_dashboards

Get a list of dashboards accessible by the current user

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
folderNamestringNoFilter by folder name

Output

ParameterTypeDescription
successbooleanSuccess status
outputobjectDashboards data

salesforce_get_dashboard

Get details and results for a specific dashboard

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
dashboardIdstringYesDashboard ID (required)

Output

ParameterTypeDescription
successbooleanSuccess status
outputobjectDashboard data

salesforce_refresh_dashboard

Refresh a dashboard to get the latest data

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
dashboardIdstringYesDashboard ID (required)

Output

ParameterTypeDescription
successbooleanSuccess status
outputobjectRefreshed dashboard data

salesforce_query

Execute a custom SOQL query to retrieve data from Salesforce

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
querystringYesSOQL query to execute (e.g., SELECT Id, Name FROM Account LIMIT 10)

Output

ParameterTypeDescription
successbooleanSuccess status
outputobjectQuery results

salesforce_query_more

Retrieve additional query results using the nextRecordsUrl from a previous query

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
nextRecordsUrlstringYesThe nextRecordsUrl from a previous query response

Output

ParameterTypeDescription
successbooleanSuccess status
outputobjectQuery results

salesforce_describe_object

Get metadata and field information for a Salesforce object

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description
objectNamestringYesAPI name of the object (e.g., Account, Contact, Lead, Custom_Object__c)

Output

ParameterTypeDescription
successbooleanSuccess status
outputobjectObject metadata

salesforce_list_objects

Get a list of all available Salesforce objects

Input

ParameterTypeRequiredDescription
idTokenstringNoNo description
instanceUrlstringNoNo description

Output

ParameterTypeDescription
successbooleanSuccess status
outputobjectObjects list

Notes

  • Category: tools
  • Type: salesforce
On this page

On this page

Start building today
Trusted by over 60,000 builders.
Build Agentic workflows visually on a drag-and-drop canvas or with natural language.
Get started