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_ADD_CONTACT_TO_CAMPAIGN
Tool Name: Add contact to campaign
Description
Action Parameters
Action Response
SALESFORCE_ADD_LEAD_TO_CAMPAIGN
Tool Name: Add lead to campaign
Description
Action Parameters
Action Response
SALESFORCE_ADD_OPPORTUNITY_LINE_ITEM
Tool Name: Add product to opportunity
Description
Action Parameters
Action Response
SALESFORCE_APPLY_LEAD_ASSIGNMENT_RULES
Tool Name: Apply lead assignment rules
Description
Action Parameters
Action Response
SALESFORCE_ASSOCIATE_CONTACT_TO_ACCOUNT
Tool Name: Associate contact to account
Description
Action Parameters
Action Response
SALESFORCE_CLONE_OPPORTUNITY_WITH_PRODUCTS
Tool Name: Clone opportunity with products
Description
Action Parameters
Action Response
SALESFORCE_CLONE_RECORD
Tool Name: Clone record
Description
Action Parameters
Action Response
SALESFORCE_COMPLETE_TASK
Tool Name: Complete task
Description
Action Parameters
Action Response
SALESFORCE_CREATE_ACCOUNT
Tool Name: Create account
Description
Action Parameters
Action Response
SALESFORCE_CREATE_CAMPAIGN
Tool Name: Create campaign
Description
Action Parameters
Action Response
SALESFORCE_CREATE_CAMPAIGN_RECORD_VIA_POST
Tool Name: Create campaign record
Description
Action Parameters
Action Response
SALESFORCE_CREATE_CONTACT
Tool Name: Create contact
Description
Action Parameters
Action Response
SALESFORCE_CREATE_LEAD
Tool Name: Create lead
Description
Action Parameters
Action Response
SALESFORCE_CREATE_LEAD_WITH_SPECIFIED_CONTENT_TYPE
Tool Name: Create lead
Description
Action Parameters
Action Response
SALESFORCE_CREATE_NEW_CONTACT_WITH_JSON_HEADER
Tool Name: Create a new contact
Description
Action Parameters
Action Response
SALESFORCE_CREATE_NOTE
Tool Name: Create note
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_CREATE_OPPORTUNITY
Tool Name: Create opportunity
Description
Action Parameters
Action Response
SALESFORCE_CREATE_OPPORTUNITY_RECORD
Tool Name: Create opportunity record
Description
Action Parameters
Action Response
SALESFORCE_CREATE_TASK
Tool Name: Create task
Description
Action Parameters
Action Response
SALESFORCE_DELETE_ACCOUNT
Tool Name: Delete account
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_DELETE_CAMPAIGN
Tool Name: Delete campaign
Description
Action Parameters
Action Response
SALESFORCE_DELETE_CONTACT
Tool Name: Delete contact
Description
Action Parameters
Action Response
SALESFORCE_DELETE_LEAD
Tool Name: Delete lead
Description
Action Parameters
Action Response
SALESFORCE_DELETE_NOTE
Tool Name: Delete note
Description
Action Parameters
Action Response
SALESFORCE_DELETE_OPPORTUNITY
Tool Name: Delete opportunity
Description
Action Parameters
Action Response
SALESFORCE_EXECUTE_SOQL_QUERY
Tool Name: Execute SOQL query
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_FETCH_MODIFIED_OR_UNMODIFIED_SOBJECTS
Tool Name: Fetch modified or unmodified sobjects
Description
Action Parameters
Action Response
SALESFORCE_GET_ACCOUNT
Tool Name: Get account
Description
Action Parameters
Action Response
SALESFORCE_GET_CAMPAIGN
Tool Name: Get campaign
Description
Action Parameters
Action Response
SALESFORCE_GET_CONTACT
Tool Name: Get contact
Description
Action Parameters
Action Response
SALESFORCE_GET_DASHBOARD
Tool Name: Get dashboard
Description
Action Parameters
Action Response
SALESFORCE_GET_LEAD
Tool Name: Get lead
Description
Action Parameters
Action Response
SALESFORCE_GET_NOTE
Tool Name: Get note
Description
Action Parameters
Action Response
SALESFORCE_GET_NOTE_BY_ID_WITH_FIELDS
Tool Name: Retrieve Note with conditions
Description
Action Parameters
Action Response
SALESFORCE_GET_OPPORTUNITY
Tool Name: Get opportunity
Description
Action Parameters
Action Response
SALESFORCE_GET_REPORT
Tool Name: Get report metadata
Description
Action Parameters
Action Response
SALESFORCE_GET_REPORT_INSTANCE
Tool Name: Get report instance results
Description
Action Parameters
Action Response
SALESFORCE_GET_USER_INFO
Tool Name: Get user info
Description
Action Parameters
Action Response
SALESFORCE_LIST_ACCOUNTS
Tool Name: List accounts
Description
Action Parameters
Action Response
SALESFORCE_LIST_CAMPAIGNS
Tool Name: List campaigns
Description
Action Parameters
Action Response
SALESFORCE_LIST_CONTACTS
Tool Name: List contacts
Description
Action Parameters
Action Response
SALESFORCE_LIST_DASHBOARDS
Tool Name: List dashboards
Description
Action Parameters
Action Response
SALESFORCE_LIST_EMAIL_TEMPLATES
Tool Name: List email templates
Description
Action Parameters
Action Response
SALESFORCE_LIST_LEADS
Tool Name: List leads
Description
Action Parameters
Action Response
SALESFORCE_LIST_NOTES
Tool Name: List notes
Description
Action Parameters
Action Response
SALESFORCE_LIST_OPPORTUNITIES
Tool Name: List opportunities
Description
Action Parameters
Action Response
SALESFORCE_LIST_REPORTS
Tool Name: List reports
Description
Action Parameters
Action Response
SALESFORCE_LOG_CALL
Tool Name: Log call
Description
Action Parameters
Action Response
SALESFORCE_LOG_EMAIL_ACTIVITY
Tool Name: Log email activity
Description
Action Parameters
Action Response
SALESFORCE_MASS_TRANSFER_OWNERSHIP
Tool Name: Mass transfer ownership
Description
Action Parameters
Action Response
SALESFORCE_QUERY_CONTACTS_BY_NAME
Tool Name: Query contacts by name
Description
Action Parameters
Action Response
SALESFORCE_QUERY_REPORT
Tool Name: Query report
Description
Action Parameters
Action Response
SALESFORCE_REMOVE_ACCOUNT_BY_UNIQUE_IDENTIFIER
Tool Name: Remove account by unique identifier
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_FROM_CAMPAIGN
Tool Name: Remove from campaign
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_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_CONTACT_INFO_WITH_STANDARD_RESPONSES
Tool Name: Retrieve contact object metadata
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_OBJECT_INFORMATION
Tool Name: Retrieve note object information
Description
Action Parameters
Action Response
SALESFORCE_RETRIEVE_OPPORTUNITIES_DATA
Tool Name: Retrieve opportunities data
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_RETRIEVE_SPECIFIC_CONTACT_BY_ID
Tool Name: Retrieve specific contact by id
Description
Action Parameters
Action Response
SALESFORCE_RUN_REPORT
Tool Name: Run report
Description
Action Parameters
Action Response
SALESFORCE_RUN_SOQL_QUERY
Tool Name: Run SOQL query
Description
Action Parameters
Action Response
SALESFORCE_SEARCH_ACCOUNTS
Tool Name: Search accounts
Description
Action Parameters
Action Response
SALESFORCE_SEARCH_CAMPAIGNS
Tool Name: Search campaigns
Description
Action Parameters
Action Response
SALESFORCE_SEARCH_CONTACTS
Tool Name: Search contacts
Description
Action Parameters
Action Response
SALESFORCE_SEARCH_LEADS
Tool Name: Search leads
Description
Action Parameters
Action Response
SALESFORCE_SEARCH_NOTES
Tool Name: Search notes
Description
Action Parameters
Action Response
SALESFORCE_SEARCH_OPPORTUNITIES
Tool Name: Search opportunities
Description
Action Parameters
Action Response
SALESFORCE_SEARCH_TASKS
Tool Name: Search tasks
Description
Action Parameters
Action Response
SALESFORCE_SEND_EMAIL
Tool Name: Send email
Description
Action Parameters
Action Response
SALESFORCE_SEND_EMAIL_FROM_TEMPLATE
Tool Name: Send email from template
Description
Action Parameters
Action Response
SALESFORCE_SEND_MASS_EMAIL
Tool Name: Send mass email
Description
Action Parameters
Action Response
SALESFORCE_UPDATE_ACCOUNT
Tool Name: Update account
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
Tool Name: Update campaign
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_CONTACT
Tool Name: Update contact
Description
Action Parameters
Action Response
SALESFORCE_UPDATE_CONTACT_BY_ID
Tool Name: Update contact by id
Description
Action Parameters
Action Response
SALESFORCE_UPDATE_LEAD
Tool Name: Update lead
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_NOTE
Tool Name: Update note
Description
Action Parameters
Action Response
SALESFORCE_UPDATE_OPPORTUNITY
Tool Name: Update opportunity
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
SALESFORCE_UPDATE_TASK
Tool Name: Update task
Description
Action Parameters
Action Response