Skip to main content

Salesforce

Connect SVAHNAR to your Salesforce org to give agents the ability to query, create, and update CRM records.


What Agents Can Do

CapabilityDescription
Query RecordsRun SOQL queries to retrieve accounts, contacts, leads, opportunities
Create RecordsCreate new CRM objects (contacts, leads, cases, etc.)
Update RecordsModify existing record fields
SearchSearch across Salesforce objects

Connecting Salesforce

Open Connections

Go to the Connections page in the SVAHNAR Platform.

Connect Salesforce

Click Connect on the Salesforce provider card.

A Salesforce login popup opens.

Log In and Authorize

Log in to your Salesforce org and click Allow to grant SVAHNAR access.

Sandbox vs Production

Salesforce authorization defaults to your production org. If you want to connect a Sandbox, contact support — sandbox authorization uses a different endpoint (https://test.salesforce.com).

Confirm Connection

The popup closes. The Salesforce card updates to Connected.


Using Salesforce in an Agent

agent.yaml
create_agent_network:
agent-1:
agent_name: "CRM_Assistant"
LLM_config:
params:
model: "gpt-5"
tools:
tool_assigned:
- name: Salesforce
agent_function:
- "Help the user look up Salesforce accounts and contacts, and create new leads."
incoming_edge:
- Start
outgoing_edge: []

For detailed tool configuration, see the Salesforce Tool reference.


Permissions Requested

ScopePurpose
apiAccess Salesforce data via the REST API
refresh_tokenMaintain persistent access
openidAuthenticate your identity

Disconnect

Click Disconnect on the Salesforce card. SVAHNAR calls Salesforce's revocation endpoint and deletes the stored token.