Skip to main content

Overview

The Salesforce server enables AI assistants to interact with Salesforce CRM, providing powerful querying capabilities across accounts, opportunities, contacts, and custom objects through conversational AI and SOQL.

How to Add Salesforce

1

Access Salesforce Account

Log in to your Salesforce account with appropriate permissions to access the data you need.
2

Generate API Credentials

  1. Go to Setup in Salesforce
  2. Navigate to Apps > App Manager
  3. Create a Connected App or use existing credentials
  4. Note your Consumer Key, Consumer Secret, and Security Token
3

Connect to Civic

  1. Add the Salesforce server to your Civic environment
  2. Enter your credentials when prompted
  3. Authorize the connection using OAuth
4

Test Connection

Start with a simple command like “Show me all open opportunities” to verify the connection works properly.
Ensure your Salesforce user has the necessary permissions to query the objects you need to access.

What You Can Do

Data Querying

Query accounts, opportunities, contacts, and custom objects with SOQL

Cross-Object Search

Search across multiple Salesforce objects to get a complete view

Analytics & Reporting

Calculate metrics, aggregate data, and generate insights from CRM data

Deal Intelligence

Identify at-risk deals, calculate health scores, and prioritize opportunities

Available Tools (17)

Data Query

Execute SOQL queries to retrieve Salesforce data
Search across multiple objects using Salesforce Search
Get metadata about Salesforce objects and their fields

Opportunities

List opportunities with filtering by stage, owner, and close date
Retrieve detailed information about a specific opportunity
Aggregate opportunity data by various dimensions

Accounts

List accounts with filtering and sorting options
Get comprehensive account information including related records
Calculate account health scores based on opportunity data

Analytics

Perform aggregations like SUM, COUNT, AVG across records
Group and analyze data by various dimensions

Use Cases

Find At-Risk Deals

“Connect to salesforce and show me all open opportunities closing this week that aren’t in Closed Won stage” - Identify deals needing immediate attention.

Account Health Score

“Connect to salesforce and calculate total opportunities, revenue, and average deal size grouped by account” - Understand which accounts are most valuable. “Connect to salesforce and search for all records related to ‘Global Media’ across accounts and opportunities” - Get a 360-degree view of customers.
The Salesforce server provides read-only query access to your CRM data. Use SOQL for precise filtering or natural language search for broader discovery.

Guardrails

In addition to the 14 universal guardrails, this server has 34 server-specific guardrails across 9 operations.
Most extensive guardrail set — 34 specific guardrails covering DML, Apex code security, object/field management, query restrictions, and financial data redaction.
GuardrailOperationTimingDescription
Limit Aggregate Query Result Sizeaggregate_queryRequestCaps records returned from aggregate queries
Block Account Deletiondml_recordsRequestPrevents deletion of Account records
Block Case Deletiondml_recordsRequestPrevents deletion of Case records
Block Contact Deletiondml_recordsRequestPrevents deletion of Contact records
Block Lead Deletiondml_recordsRequestPrevents deletion of Lead records
Block Opportunity Deletiondml_recordsRequestPrevents deletion of Opportunity records
Limit DML Batch Sizedml_recordsRequestCaps records per DML operation
Restrict DML to Vetted Objectsdml_recordsRequestAllowlist for DML operations
Block Anonymous Apex Delete Operationsexecute_anonymousRequestBlocks delete in anonymous Apex
Block Bulk DML in Anonymous Apexexecute_anonymousRequestBlocks Database class DML in anonymous Apex
Block Debug Logs for Other Usersmanage_debug_logsRequestRestricts debug log access to own user
Limit Apex Debug Log Response Sizemanage_debug_logsResponseTruncates large debug logs
Limit Debug Logs Retrievedmanage_debug_logsRequestCaps number of logs retrievable
Block Custom Field Deletionmanage_fieldRequestPrevents custom field deletion
Block Standard Field Modificationsmanage_fieldRequestRestricts to custom fields only (__c)
Restrict Field Management to Vetted Objectsmanage_fieldRequestAllowlist for field management
Block Admin Profile FLS Changesmanage_field_permissionsRequestBlocks FLS changes to System Administrator
Restrict FLS to Custom Fieldsmanage_field_permissionsRequestOnly custom fields can have permissions changed
Block Custom Object Deletionmanage_objectRequestPrevents custom object deletion
Restrict Custom Object Creationmanage_objectRequestAllowlist for object creation
Block Permission Set Queriesquery_recordsRequestPrevents querying PermissionSet object
Block Profile Queriesquery_recordsRequestPrevents querying Profile object
Block User Object Queriesquery_recordsRequestPrevents querying User object
Filter Records by Ownerquery_recordsResponseRedacts records from non-vetted owners
Limit Query Result Sizequery_recordsRequestCaps SOQL result set size
Redact Financial Dataquery_recordsResponseRedacts Amount, Revenue, Price fields
Redact Password Fieldsquery_recordsResponseRedacts password/token/secret fields
Restrict Queries to Vetted Objectsquery_recordsRequestAllowlist for queryable objects
Limit SOSL Search Resultssearch_allRequestCaps SOSL search result size
Block Dangerous Apex Delete Patternswrite_apexRequestBlocks Apex that deletes core objects
Block System Mode Apexwrite_apexRequestBlocks without sharing / System.runAs
Restrict Apex Class Nameswrite_apexRequestAllowlist for Apex class names
Block Apex Trigger Delete Patternswrite_apex_triggerRequestBlocks delete operations in triggers
Restrict Triggers to Vetted Objectswrite_apex_triggerRequestAllowlist for trigger objects
Configure guardrails via the Civic UI or ask the Configurator Agent: “Add guardrails to my Salesforce server.”