Mandala
Tools

Salesforce

Interact with Salesforce CRM

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
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
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
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
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
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
lastNamestringYesLast name (required)
firstNamestringNoFirst name
emailstringNoEmail address
phonestringNoPhone number
accountIdstringNoAccount ID to associate contact with
titlestringNoJob title
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
contactIdstringYesContact ID to update (required)
lastNamestringNoLast name
firstNamestringNoFirst name
emailstringNoEmail address
phonestringNoPhone number
accountIdstringNoAccount ID to associate with
titlestringNoJob title
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
contactIdstringYesContact ID to delete (required)

Output

ParameterTypeDescription
successbooleanOperation success status
outputobjectDeleted contact data

salesforce_get_leads

Get lead(s) from Salesforce

Input

ParameterTypeRequiredDescription
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
lastNamestringYesLast name (required)
companystringYesCompany (required)
firstNamestringNoFirst name
emailstringNoEmail
phonestringNoPhone
statusstringNoLead status
leadSourcestringNoLead source
titlestringNoTitle
descriptionstringNoDescription

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectCreated lead

salesforce_update_lead

Update an existing lead

Input

ParameterTypeRequiredDescription
leadIdstringYesLead ID (required)
lastNamestringNoLast name
companystringNoCompany
firstNamestringNoFirst name
emailstringNoEmail
phonestringNoPhone
statusstringNoLead status
leadSourcestringNoLead source
titlestringNoTitle
descriptionstringNoDescription

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectUpdated lead

salesforce_delete_lead

Delete a lead

Input

ParameterTypeRequiredDescription
leadIdstringYesLead ID (required)

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectDeleted lead

salesforce_get_opportunities

Get opportunity(ies) from Salesforce

Input

ParameterTypeRequiredDescription
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
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
opportunityIdstringYesOpportunity ID (required)
namestringNoOpportunity name
stageNamestringNoStage name
closeDatestringNoClose date YYYY-MM-DD
accountIdstringNoAccount ID
amountstringNoAmount
probabilitystringNoProbability (0-100)
descriptionstringNoDescription

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectUpdated opportunity

salesforce_delete_opportunity

Delete an opportunity

Input

ParameterTypeRequiredDescription
opportunityIdstringYesOpportunity ID (required)

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectDeleted opportunity

salesforce_get_cases

Get case(s) from Salesforce

Input

ParameterTypeRequiredDescription
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
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
caseIdstringYesCase ID (required)
subjectstringNoCase subject
statusstringNoStatus
prioritystringNoPriority
descriptionstringNoDescription

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectUpdated case

salesforce_delete_case

Delete a case

Input

ParameterTypeRequiredDescription
caseIdstringYesCase ID (required)

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectDeleted case

salesforce_get_tasks

Get task(s) from Salesforce

Input

ParameterTypeRequiredDescription
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
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
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
taskIdstringYesTask ID (required)

Output

ParameterTypeDescription
successbooleanSuccess
outputobjectDeleted task

salesforce_list_reports

Get a list of reports accessible by the current user

Input

ParameterTypeRequiredDescription
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
reportIdstringYesReport ID (required)

Output

ParameterTypeDescription
successbooleanSuccess status
outputobjectReport metadata

salesforce_run_report

Execute a report and retrieve the results

Input

ParameterTypeRequiredDescription
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

Output

ParameterTypeDescription
successbooleanSuccess status
outputobjectReport types data

salesforce_list_dashboards

Get a list of dashboards accessible by the current user

Input

ParameterTypeRequiredDescription
folderNamestringNoFilter by folder name

Output

ParameterTypeDescription
successbooleanSuccess status
outputobjectDashboards data

salesforce_get_dashboard

Get details and results for a specific dashboard

Input

ParameterTypeRequiredDescription
dashboardIdstringYesDashboard ID (required)

Output

ParameterTypeDescription
successbooleanSuccess status
outputobjectDashboard data

salesforce_refresh_dashboard

Refresh a dashboard to get the latest data

Input

ParameterTypeRequiredDescription
dashboardIdstringYesDashboard ID (required)

Output

ParameterTypeDescription
successbooleanSuccess status
outputobjectRefreshed dashboard data

salesforce_query

Execute a custom SOQL query to retrieve data from Salesforce

Input

ParameterTypeRequiredDescription
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
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
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

Output

ParameterTypeDescription
successbooleanSuccess status
outputobjectObjects list

Notes

  • Category: tools
  • Type: salesforce
Salesforce