Salesforce
Overview
SLUG: SALESFORCE
Description
Salesforce is a leading CRM platform integrating sales, service, marketing, and analytics to build customer relationships and drive business growth
Authentication Details
OAuth2
Connecting to Salesforce
Create an auth config
Use the dashboard to create an auth config for the Salesforce toolkit. This allows you to connect multiple Salesforce accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create Salesforce Auth Config”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using OAuth2
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the Salesforce toolkit’s playground
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
SALESFORCE_ACCOUNT_CREATION_WITH_CONTENT_TYPE_OPTION
Tool Name: Create Salesforce Account
Description
Action Parameters
Action Response
SALESFORCE_CREATE_CAMPAIGN_RECORD_VIA_POST
Tool Name: Create campaign record
Description
Action Parameters
Action Response
SALESFORCE_CREATE_LEAD_WITH_SPECIFIED_CONTENT_TYPE
Tool Name: Create lead
Description
Action Parameters
Action Response
SALESFORCE_CREATE_NOTE_RECORD_WITH_CONTENT_TYPE_HEADER
Tool Name: Create a note record
Description
Action Parameters
Action Response
SALESFORCE_EXECUTE_SOQL_QUERY
Tool Name: Execute SOQL query
Description
Action Parameters
Action Response
SALESFORCE_FETCH_MODIFIED_OR_UNMODIFIED_SOBJECTS
Tool Name: Fetch modified or unmodified sobjects
Description
Action Parameters
Action Response
SALESFORCE_QUERY_CONTACTS_BY_NAME
Tool Name: Query contacts by name
Description
Action Parameters
Action Response
SALESFORCE_REMOVE_ACCOUNT_BY_UNIQUE_IDENTIFIER
Tool Name: Remove account by unique identifier
Description
Action Parameters
Action Response
SALESFORCE_RETRIEVE_ACCOUNT_DATA_AND_ERROR_RESPONSES
Tool Name: Retrieve account data and error responses
Description
Action Parameters
Action Response
SALESFORCE_RETRIEVE_CAMPAIGN_DATA_WITH_ERROR_HANDLING
Tool Name: Retrieve campaign data with error handling
Description
Action Parameters
Action Response
SALESFORCE_RETRIEVE_LEAD_BY_ID
Tool Name: Retrieve lead by id
Description
Action Parameters
Action Response
SALESFORCE_RETRIEVE_LEAD_DATA_WITH_VARIOUS_RESPONSES
Tool Name: Retrieve lead data with various responses
Description
Action Parameters
Action Response
SALESFORCE_RETRIEVE_NOTE_WITH_CONDITIONS
Tool Name: Retrieve Note with conditions
Description
Action Parameters
Action Response
SALESFORCE_RETRIEVE_OPPORTUNITIES_DATA
Tool Name: Retrieve opportunities data
Description
Action Parameters
Action Response
SALESFORCE_RETRIEVE_SPECIFIC_CONTACT_BY_ID
Tool Name: Retrieve specific contact by id
Description
Action Parameters
Action Response
SALESFORCE_UPDATE_CONTACT_BY_ID
Tool Name: Update contact by id
Description
Action Parameters
Action Response
SALESFORCE_CREATE_NEW_CONTACT_WITH_JSON_HEADER
Tool Name: Create a new contact with JSON header
Description
Action Parameters
Action Response
SALESFORCE_CREATE_OPPORTUNITY_RECORD
Tool Name: Create opportunity record
Description
Action Parameters
Action Response
SALESFORCE_DELETE_A_LEAD_OBJECT_BY_ITS_ID
Tool Name: Delete a lead object by its id
Description
Action Parameters
Action Response
SALESFORCE_FETCH_ACCOUNT_BY_ID_WITH_QUERY
Tool Name: Fetch account by ID with query
Description
Action Parameters
Action Response
SALESFORCE_QUERY_REPORT
Tool Name: Query report
Description
Action Parameters
Action Response
SALESFORCE_REMOVE_A_SPECIFIC_CONTACT_BY_ID
Tool Name: Remove a specific contact by id
Description
Action Parameters
Action Response
SALESFORCE_REMOVE_CAMPAIGN_OBJECT_BY_ID
Tool Name: Remove campaign object by id
Description
Action Parameters
Action Response
SALESFORCE_REMOVE_NOTE_OBJECT_BY_ID
Tool Name: Remove note object by id
Description
Action Parameters
Action Response
SALESFORCE_REMOVE_OPPORTUNITY_BY_ID
Tool Name: Remove opportunity by id
Description
Action Parameters
Action Response
SALESFORCE_RETRIEVE_CONTACT_INFO_WITH_STANDARD_RESPONSES
Tool Name: Retrieve contact object metadata
Description
Action Parameters
Action Response
SALESFORCE_RETRIEVE_NOTE_OBJECT_INFORMATION
Tool Name: Retrieve note object information
Description
Action Parameters
Action Response
SALESFORCE_RETRIEVE_OPPORTUNITY_BY_ID_WITH_OPTIONAL_FIELDS
Tool Name: Retrieve opportunity by id with optional fields
Description
Action Parameters
Action Response
SALESFORCE_RETRIEVE_SPECIFIC_CAMPAIGN_OBJECT_DETAILS
Tool Name: Retrieve specific campaign object details
Description
Action Parameters
Action Response
SALESFORCE_UPDATE_ACCOUNT_OBJECT_BY_ID
Tool Name: Update account by id
Description
Action Parameters
Action Response
SALESFORCE_UPDATE_CAMPAIGN_BY_ID_WITH_JSON
Tool Name: Update Campaign By ID
Description
Action Parameters
Action Response
SALESFORCE_UPDATE_LEAD_BY_ID_WITH_JSON_PAYLOAD
Tool Name: Update lead by ID with JSON payload
Description
Action Parameters
Action Response
SALESFORCE_UPDATE_OPPORTUNITY_BY_ID
Tool Name: Update opportunity by id
Description
Action Parameters
Action Response
SALESFORCE_UPDATE_SPECIFIC_NOTE_BY_ID
Tool Name: Update specific note by id
Description
Action Parameters
Action Response