---
title: "Salesforce integration for AI agents | Langdock"
description: "Connect Salesforce to Langdock. Agents and workflows can use 72 actions, such as “Create account” and “Create campaign member”."
url: "https://langdock.com/integrations/salesforce"
language: "en"
---

[Integrations](https://langdock.com/products/integrations)

# Salesforce integration for AI agents

Search and manage contacts, opportunities, cases, and more

Connect Salesforce to Langdock and use it in chat, in agents and in workflows.

72 actions · 5 triggers

[Start free trial](https://app.langdock.com/signup) [Talk to sales](https://langdock.com/talk-to-sales)

## Salesforce actions

Each action is one step an agent or workflow can run in Salesforce.

- Create account · Creates a company account or a Person Account in Salesforce.
- Create campaign member · Adds a lead or contact to a campaign.
- Create case · Creates a case in Salesforce.
- Create contact · Creates a contact in Salesforce.
- Create content note

  Creates an Enhanced Note (ContentNote) and optionally links it to one or more records via ContentDocumentLink.
- Create contract

  Creates a new Salesforce Contract. Status must be a Draft-category status (e.g. 'Draft' or 'In Approval') — Salesforce rejects creation with Status='Activated'. Activate via update_contract after creation.
- Create custom object · Creates a new record in a Salesforce custom object.
- Create event · Creates an event in Salesforce.
- Create lead · Creates a lead in Salesforce.
- Create note · Creates a note in Salesforce and attaches it to a specified record.
- Create opportunity · Creates an opportunity in Salesforce.
- Create task · Creates a task in Salesforce.
- Delete custom object · Deletes a record from a Salesforce custom object. This action cannot be undone.
- Execute SOQL query · Executes a SOQL query and automatically fetches all result pages.
- Find account

  Searches accounts by name or keyword (full-text search). For filtering by owner, industry, or any field, or to list all accounts, use Execute SOQL query instead.
- Find campaign · Finds campaigns with full-text search capabilities.
- Find case · Finds cases with full-text search capabilities.
- Find contact · Finds contacts with full-text search capabilities.
- Find contract

  Finds contracts. Two modes: (1) text search on indexed Contract fields when 'Search Term' is provided (>=2 chars, no wildcards alone); (2) filter-only query when 'Where' is provided without a search term (use this for AccountId, Status, or date filters). At least one of the two must be set.
- Find custom objects · Finds records of a specified custom object with full-text search.
- Find event · Finds events with full-text search capabilities.
- Find lead · Finds leads with full-text search capabilities.
- Find opportunity

  Searches opportunities by name or keyword (full-text search). For filtering by owner, stage, close date, or any field, or to list all opportunities, use Execute SOQL query instead.
- Find records (advanced) · Executes advanced queries on supported Salesforce objects based on SOQL queries.
- Find report · Finds reports with full-text search capabilities.
- Find task · Finds tasks with full-text search capabilities.
- Get account · Gets an account by id.
- Get account context

  Gets all fields and metadata for the Account object, plus the org's Account record types with their IDs, whether each one creates a Person Account (isPersonType) and whether the connected user may use it (available). Use this to find the record type ID needed to create a Person Account, since those IDs differ per org.
- Get campaign · Gets a campaign by id.
- Get campaign context · Gets all fields and metadata for the Campaign object.
- Get campaign member · Gets a campaign member by id.
- Get campaign member context · Gets all fields and metadata for the CampaignMember object.
- Get campaign members for campaign · Finds all campaign members by campaign id.
- Get case · Gets a case by id.
- Get case context · Gets all fields and metadata for the Case object.
- Get contact · Gets a contact by id.
- Get contact context · Gets all fields and metadata for the Contact object.
- Get content note

  Gets an Enhanced Note (ContentNote) and optionally its ContentDocumentLink associations.
- Get content notes for record

  Retrieves Enhanced Notes (ContentNote) linked to a record via ContentDocumentLink.
- Get contract · Gets a contract by ID
- Get contract context · Gets all fields and metadata for the Contract object
- Get current user · Gets information about the currently authenticated user.
- Get custom object · Retrieves a single record from a Salesforce custom object by its ID.
- Get custom object context

  Retrieves the field schema for a Salesforce custom object, showing available fields, their types, and requirements.
- Get event · Gets an event by Id.
- Get event context · Gets all fields and metadata for the Event object.
- Get lead · Gets a lead by id.
- Get lead context · Gets all fields and metadata for the Lead object.
- Get note · Gets a specific note by its ID.
- Get notes for record · Retrieves all notes attached to a specific Salesforce record.
- Get opportunity · Gets an opportunity by id.
- Get opportunity context · Gets all fields and metadata for the Opportunity object.
- Get report · Gets a Salesforce report by ID with optional metadata.
- Get task · Gets a task by id.
- Get task context · Gets all fields and metadata for the Task object.
- Get user · Finds users in Salesforce by email, name, or general search.
- List custom object records

  Lists records from a Salesforce custom object. Use this to browse records without a search term.
- List custom object types

  Lists all custom objects available in the Salesforce org, showing their API names and labels.
- Update account · Updates an account in Salesforce.
- Update campaign · Updates a campaign in Salesforce.
- Update campaign member · Updates a campaign member in Salesforce.
- Update case · Updates all fields and metadata for the case object.
- Update contact · Updates a contact in Salesforce.
- Update content note · Updates an Enhanced Note (ContentNote).
- Update contract

  Updates fields on an existing Salesforce Contract. To activate a contract, set Status to an Activated-category value (requires the 'Activate Contracts' user permission). Activated contracts cannot have AccountId changed and most fields become read-only without that permission.
- Update custom object · Updates an existing record in a Salesforce custom object.
- Update event · Updates an event in Salesforce.
- Update lead · Updates a lead in Salesforce.
- Update note · Updates a note in Salesforce.
- Update opportunity · Updates an opportunity in Salesforce.
- Update task · Updates a task in salesforce.
- Upload file

  Uploads one or more files to a Salesforce record as Salesforce Files. Repeating this action creates another copy of the file.

## Salesforce triggers

A trigger starts a workflow when something happens in Salesforce.

- New account · Triggers when a new account is created in Salesforce.
- New case · Triggers when a new case is created in Salesforce.
- New contact · Triggers when a new contact is created in Salesforce.
- New lead · Triggers when a new lead is created in Salesforce. Excludes converted leads.
- New opportunity · Triggers when a new opportunity is created in Salesforce.

## Setup and permissions

An action can ask for your confirmation before it runs. In an agent, each action is set to “Always allow” or “Needs approval”.

### Documentation

- [Using integrations](https://docs.langdock.com/en/using-langdock/guides/integrations/using-integrations)
- [How connections work](https://docs.langdock.com/en/using-langdock/integrations/connections)
- [Manage access to actions](https://docs.langdock.com/en/admin/manage-integrations/manage-action-access)

[All integrations](https://langdock.com/products/integrations)
