Connect Salesforce
Connects the company's Salesforce org through its own connected app.
Free
This tool costs nothing to call.
An example
Connect our Salesforce. Here are the My Domain, the consumer key and the secret.
Your agent callssalesforce_connectFree
The example business is Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff. The reply is the one the tool really gives.
{
"my_domain": "hansen-voss.my.salesforce.com",
"client_id": "3MVG9example.consumer.key",
"secret": "example-consumer-secret"
}Use it when
The company keeps its customers in Salesforce and wants the agent to work in them there.
What it does
Connect the company's own Salesforce org, which stays the source of truth: the agent queries, reads and changes its records. The company makes a connected app with the OAuth client credentials flow switched on and a run-as user whose profile limits what the agent may touch, and gives the org's My Domain and the app's consumer key and secret, which are checked before anything is kept. On accounts with an owner, changing an existing record waits for the owner's approval by default. Free.
What comes back
salesforce: my_domain and connected_at; need_approval, the tools that now wait for the owner. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
my_domainRequired | string | Like hansen-voss.my.salesforce.com. 10 to 200 characters. |
client_idRequired | string | 10 to 300 characters. |
secretRequired | string | The connected app's consumer secret. Never shown again. 8 to 500 characters. |
The call
Over MCP, call salesforce_connect on https://api.conecto.chat/mcp/salesforce. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/salesforce_connect \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"my_domain":"hansen-voss.my.salesforce.com","client_id":"3MVG9example.consumer.key","secret":"example-consumer-secret"}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
invalid_input400 | my_domain is not a My Domain. | Give one like acme.my.salesforce.com. |
vendor_rejected502 | Salesforce refused the keys. | Switch on the client credentials flow and set a run-as user. |
More Salesforce tools
All 6 tools- Query Salesforce
salesforce_queryRuns one SOQL SELECT statement and returns up to 200 records.Free* - Get a Salesforce record
salesforce_getOne Salesforce record by object and id, with all its fields or the ones named.Free* - Create a Salesforce record
salesforce_createMakes a record of any object the run-as user may create.$0.001 a call - Change a Salesforce record
salesforce_updateChanges a Salesforce record's fields; waits for the owner by default.$0.001 a call - Disconnect Salesforce
salesforce_disconnectForgets the connected app's secret; nothing in Salesforce changes.Free
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md