Connect Salesforce to AI agents

Connect Salesforce to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

Supported Tools

describe_object

Describe Object

Retrieve metadata about a Salesforce object type, including its fields, relationships, record types, and supported operations. Use this to discover the schema of any standard or custom object. If no object type is provided, returns a list of all available objects in the org.

upsert_record

Upsert Record

Insert or update (upsert) a Salesforce record using an external ID field. If a record with the given external ID value exists, it is updated; otherwise a new record is created. Commonly used for data synchronization with external systems.

manage_bulk_job

Manage Bulk Job

Create, monitor, and manage Salesforce Bulk API 2.0 jobs for processing large data volumes. Supports creating ingest jobs (insert, update, upsert, delete), uploading CSV data, closing/aborting jobs, checking status, and retrieving results. Also supports bulk query jobs.

run_report

Run Report

Run an existing Salesforce report and retrieve its results, or list available reports. Optionally pass custom filters to override the report's default filters at runtime. Can also retrieve report metadata to understand available columns and filters.

composite_request

Composite Request

Execute multiple API subrequests in a single call using the Salesforce Composite API. Supports three modes: - **composite**: Execute a sequence of subrequests where later requests can reference results of earlier ones. - **tree**: Create a parent record and its related child records in a single request. - **collection**: Perform batch CRUD operations on up to 200 records of the same type.

search_records

Search Records

Perform a full-text search across multiple Salesforce objects using SOSL (Salesforce Object Search Language). Unlike SOQL which queries a single object, SOSL searches across multiple objects simultaneously. Example SOSL: `FIND {Acme} IN ALL FIELDS RETURNING Account(Id, Name), Contact(Id, Name, Email)`

manage_chatter

Manage Chatter

Interact with Salesforce Chatter feeds. Post updates to records, groups, or user feeds, and retrieve feed items. Chatter provides social collaboration features within Salesforce.

update_record

Update Record

Update an existing Salesforce record. Provide the object type, record ID, and the field values to update. Only the specified fields will be modified; other fields remain unchanged.

get_record

Get Record

Retrieve a single Salesforce record by its ID and object type. Supports fetching specific fields to reduce payload size. Works with any standard or custom sObject (Account, Contact, Lead, Opportunity, Case, custom objects, etc.).

get_org_limits

Get Org Limits

Retrieve the current API usage limits and remaining allocations for the Salesforce org. Shows limits for daily API calls, data storage, file storage, and other governor limits.

query_records

Query Records

Execute a SOQL (Salesforce Object Query Language) query to retrieve records. Supports standard SELECT queries with WHERE, ORDER BY, LIMIT, GROUP BY, and relationship queries. Use **queryAll** mode to include deleted and archived records. Example SOQL: `SELECT Id, Name, Industry FROM Account WHERE Industry = 'Technology' LIMIT 10`

delete_record

Delete Record

Delete a Salesforce record by its ID and object type. This permanently removes the record (or moves it to the Recycle Bin depending on org settings).

create_record

Create Record

Create a new record in Salesforce for any standard or custom object type. Provide the object type and field values to create the record. Returns the newly created record's ID.

get_user_info

Get User Info

Retrieve information about the authenticated Salesforce user from the OAuth userinfo endpoint. Use the returned userId as OwnerId when assigning records, tasks, or activities to the current user.

More integrations teams use with Salesforce

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Apolloio

Search and prospect B2B contacts and companies from a database of over 275 million people and 70 million organizations. Enrich people and company data with emails, phone numbers, and firmographic details. Create and manage contacts, accounts, deals, and tasks. Add contacts to email sequences and manage sequence statuses. Log and search call records. Perform bulk operations for contact creation, account creation, task creation, and data enrichment.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Subscribe to webhooks for list and library change notifications. Retrieve site properties and search for sites across Microsoft 365.

Hubspot

Create, read, update, and delete CRM objects including contacts, companies, deals, tickets, and custom objects. Manage associations between CRM records. Track engagements such as calls, emails, meetings, notes, and tasks. Send transactional and marketing emails, manage campaigns, and handle subscription preferences. Build and manage marketing workflows, sequences, and automation actions. Manage CMS content including blog posts, landing pages, and HubDB tables. Handle commerce data including products, orders, invoices, quotes, and payments. Create and manage contact lists for segmentation. Configure deal, ticket, and order pipelines with custom stages. Search and filter CRM records. Bulk import and export CRM data. Manage users, teams, and account settings. Subscribe to webhooks for real-time notifications on object creation, deletion, property changes, merges, and association changes.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Bitbucket

Manage Git repositories, pull requests, and CI/CD pipelines on Bitbucket Cloud. Create, fork, and configure repositories within workspaces and projects. Create, review, approve, merge, and decline pull requests with inline code comments. Browse source code, list commits, and manage branches and tags. Track issues with the built-in issue tracker. Trigger, monitor, and manage Bitbucket Pipelines. List workspace members, configure repository default reviewers and branch restrictions, create and manage repository webhooks, and search code across repositories.

Technical notes for Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Subscribe to real-time change events via Change Data Capture and Platform Events. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Connect Salesforce to production AI agents

See how Metorial gives Salesforce access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting Salesforce to AI agents with Metorial.

  1. Can Metorial connect Salesforce to AI agents?
    Yes. Metorial connects AI agents to Salesforce through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.