Salesforce logo
ConnectorSalesforce

Salesforce integration for Claude and Codex

Create a Salesforce connection, then control which Spaces can use its approved tools and data without pasting credentials into prompts or threads.

Use Salesforce from Claude

Add the Salesforce connection to a Space that runs Claude, then use it from every channel in that Space.

Use Salesforce from Codex

Add the Salesforce connection to a Space that runs Codex, then use it from every channel in that Space.

Use Salesforce from Sidekick

Connect your own OpenClaw to Sidekick while Type provides the conversations, permissions, connections, skills, and automations.

Sales & CRM

What the Salesforce connector can do

Salesforce is a leading CRM platform integrating sales, service, marketing, and analytics to build customer relationships and drive business growth

One connection, many Spaces

Connect Salesforce once, then decide which Spaces can use it in threads, skills, automations, and coding work.

Representative actions

  • Create Salesforce Account

    DEPRECATED: Creates a new Salesforce Account using a JSON POST request, requiring 'Name'; specific fields (e.g., custom, DunsNumber) may have org-level prerequisites.

  • Add contact to campaign

    Adds a contact to a campaign by creating a CampaignMember record to track campaign engagement. Fails if the contact is already a member of the campaign; pre-check membership via SOQL before calling.

  • Add lead to campaign

    Adds a lead to a campaign by creating a CampaignMember record, allowing you to track campaign engagement. Both `campaign_id` and `lead_id` must be valid Salesforce IDs of active, existing records — names or emails cannot be substituted, and deleted or inactive records will cause the call to fail. This is a persistent CRM write; confirm the correct lead and campaign before calling.

  • Add product to opportunity

    Adds a product (line item) to an opportunity. The product must exist in a pricebook entry that's associated with the opportunity's pricebook.

  • Apply lead assignment rules

    Applies configured lead assignment rules to a specific lead, automatically routing it to the appropriate owner based on your organization's rules. Allow a brief propagation delay before querying updated ownership or field values after rule application.

Representative triggers

  • Account Created or Updated

    Triggers when an Account is created or updated in Salesforce. Uses LastModifiedDate high-watermark to capture both creations and updates.

  • Contact Updated

    Triggers when an existing Salesforce Contact record is modified. Emits changed fields alongside relevant timestamps.

  • Record Updated (Generic SObject)

    Triggers when monitored fields change on any Salesforce SObject. You specify the SObject type and which field values should be returned in the payload. The trigger uses SystemModstamp to detect changes regardless of which specific field changed.

Connection

API and auth details

Salesforce REST API resources are versioned under each org's Salesforce domain and use OAuth bearer access tokens for SOQL, object CRUD, metadata, limits, search, and composite APIs.

FAQ

Questions people ask before connecting Salesforce

Can Claude use Salesforce?

Yes. Add a Salesforce connection to a Space that runs Claude, then use its approved tools and data from any channel in that Space.

Can Codex work with Salesforce through Type?

Yes. Add a Salesforce connection to a Space that runs Codex, then use its approved tools and data from any channel in that Space.

Is this the same as a Salesforce MCP server?

Not exactly. Type uses connectors and connections to give selected Spaces access to approved app tools and data. Some connectors use hosted MCP, while others use OAuth, API keys, service accounts, or custom APIs.

More sales & crm connectors