Salesforce
Cloud-based CRM platform that unifies sales, service, marketing, and commerce. Through Langdock’s integration, you can access and manage Salesforce directly from your conversations.
Authentication: OAuth
Category: CRM & Customer Support
Availability: All workspace plans
Available Actions
Get account
salesforce.getaccount
Gets an account by id
Requires Confirmation: No
Parameters:
accountId(TEXT, Required): Id of the account in Salesforce. Starts with 001
Output: Returns the account details
Get campaign
salesforce.getcampaign
Gets a campaign by id
Requires Confirmation: No
Parameters:
campaignId(TEXT, Required): Id of the campaign in Salesforce
Output: Returns the campaign details
Get campaign member
salesforce.getcampaignmember
Gets a campaign member by id
Requires Confirmation: No
Parameters:
campaignMemberId(TEXT, Required): Id of the campaign member to retrieve
Output: Returns the campaign member details
Get campaign members for campaign
salesforce.getcampaignmembersforcampaign
Finds all campaign members by campaign id
Requires Confirmation: No
Parameters:
campaignId(TEXT, Required): Campaign Idfields(TEXT, Optional): Comma-separated list of field API names to return. Defaults to ‘Id,Name,CreatedDate,LastModifiedDate,OwnerId,CampaignId,ContactId,LeadId,Status’. Common fields include: Name, CampaignId, ContactId, LeadId, Status
Output: Returns a list of campaign members
Get case
salesforce.getcase
Gets a case by id
Requires Confirmation: No
Parameters:
caseId(TEXT, Required): Id of the case in Salesforce. Starts with 500
Output: Returns the case details
Get contact
salesforce.getcontact
Gets a contact by id
Requires Confirmation: No
Parameters:
contactId(TEXT, Required): Id of the contact. starts with 003
Output: Returns the contact details
Get content note
salesforce.getcontentnote
Gets an Enhanced Note (ContentNote) and optionally its ContentDocumentLink associations
Requires Confirmation: No
Parameters:
includeLinks(BOOLEAN, Optional): If true, also returns ContentDocumentLink records for this notecontentNoteId(TEXT, Required): Id of the content note
Output: Returns the content note details
Get lead
salesforce.getlead
Gets a lead by id
Requires Confirmation: No
Parameters:
leadId(TEXT, Required): Id of the lead. starts with 00Q
Output: Returns the lead details
Get opportunity
salesforce.getopportunity
Gets an opportunity by id
Requires Confirmation: No
Parameters:
opportunityId(TEXT, Required): Id of the opportunity. starts with 006
Output: Returns the opportunity details
Get task
salesforce.gettask
Gets a task by id
Requires Confirmation: No
Parameters:
taskId(TEXT, Required): Id of the task. starts with 00T
Output: Returns the task details
Get user
salesforce.getuser
Gets a user by id
Requires Confirmation: No
Parameters:
userId(TEXT, Required): Id of the user. starts with 005
Output: Returns the user details
Find account
salesforce.findaccount
Finds an account by name
Requires Confirmation: No
Parameters:
accountName(TEXT, Required): Name of the account to search for
Output: Returns matching accounts
Find campaign
salesforce.findcampaign
Finds a campaign by name
Requires Confirmation: No
Parameters:
campaignName(TEXT, Required): Name of the campaign to search for
Output: Returns matching campaigns
Find case
salesforce.findcase
Finds a case by case number
Requires Confirmation: No
Parameters:
caseNumber(TEXT, Required): Case number to search for
Output: Returns matching cases
Find contact
salesforce.findcontact
Finds a contact by email
Requires Confirmation: No
Parameters:
email(TEXT, Required): Email address to search for
Output: Returns matching contacts
Find lead
salesforce.findlead
Finds a lead by email
Requires Confirmation: No
Parameters:
email(TEXT, Required): Email address to search for
Output: Returns matching leads
Find opportunity
salesforce.findopportunity
Finds an opportunity by name
Requires Confirmation: No
Parameters:
opportunityName(TEXT, Required): Name of the opportunity to search for
Output: Returns matching opportunities
Find task
salesforce.findtask
Finds a task by subject
Requires Confirmation: No
Parameters:
subject(TEXT, Required): Subject of the task to search for
Output: Returns matching tasks
Find user
salesforce.finduser
Finds a user by email
Requires Confirmation: No
Parameters:
email(TEXT, Required): Email address to search for
Output: Returns matching users
Create account
salesforce.createaccount
Creates a new account
Requires Confirmation: Yes
Parameters:
name(TEXT, Required): Name of the accounttype(TEXT, Optional): Type of account (e.g., Customer, Partner, Competitor)industry(TEXT, Optional): Industry of the accountphone(TEXT, Optional): Phone numberwebsite(TEXT, Optional): Website URLbillingStreet(TEXT, Optional): Billing street addressbillingCity(TEXT, Optional): Billing citybillingState(TEXT, Optional): Billing statebillingPostalCode(TEXT, Optional): Billing postal codebillingCountry(TEXT, Optional): Billing countryshippingStreet(TEXT, Optional): Shipping street addressshippingCity(TEXT, Optional): Shipping cityshippingState(TEXT, Optional): Shipping stateshippingPostalCode(TEXT, Optional): Shipping postal codeshippingCountry(TEXT, Optional): Shipping countrydescription(TEXT, Optional): Description of the account
Output: Returns the created account details
Create campaign
salesforce.createcampaign
Creates a new campaign
Requires Confirmation: Yes
Parameters:
name(TEXT, Required): Name of the campaigntype(TEXT, Optional): Type of campaign (e.g., Email, Webinar, Trade Show)status(TEXT, Optional): Status of the campaign (e.g., Planned, In Progress, Completed)startDate(TEXT, Optional): Start date of the campaign (YYYY-MM-DD)endDate(TEXT, Optional): End date of the campaign (YYYY-MM-DD)budgetedCost(NUMBER, Optional): Budgeted cost of the campaignactualCost(NUMBER, Optional): Actual cost of the campaignexpectedRevenue(NUMBER, Optional): Expected revenue from the campaigndescription(TEXT, Optional): Description of the campaign
Output: Returns the created campaign details
Create case
salesforce.createcase
Creates a new case
Requires Confirmation: Yes
Parameters:
subject(TEXT, Required): Subject of the casestatus(TEXT, Optional): Status of the case (e.g., New, In Progress, Closed)priority(TEXT, Optional): Priority of the case (e.g., High, Medium, Low)origin(TEXT, Optional): Origin of the case (e.g., Email, Phone, Web)reason(TEXT, Optional): Reason for the casetype(TEXT, Optional): Type of the casedescription(TEXT, Optional): Description of the caseaccountId(TEXT, Optional): ID of the related accountcontactId(TEXT, Optional): ID of the related contact
Output: Returns the created case details
Create contact
salesforce.createcontact
Creates a new contact
Requires Confirmation: Yes
Parameters:
firstName(TEXT, Required): First name of the contactlastName(TEXT, Required): Last name of the contactemail(TEXT, Optional): Email address of the contactphone(TEXT, Optional): Phone number of the contacttitle(TEXT, Optional): Job title of the contactdepartment(TEXT, Optional): Department of the contactaccountId(TEXT, Optional): ID of the related accountmailingStreet(TEXT, Optional): Mailing street addressmailingCity(TEXT, Optional): Mailing citymailingState(TEXT, Optional): Mailing statemailingPostalCode(TEXT, Optional): Mailing postal codemailingCountry(TEXT, Optional): Mailing country
Output: Returns the created contact details
Create lead
salesforce.createlead
Creates a new lead
Requires Confirmation: Yes
Parameters:
firstName(TEXT, Required): First name of the leadlastName(TEXT, Required): Last name of the leademail(TEXT, Optional): Email address of the leadphone(TEXT, Optional): Phone number of the leadcompany(TEXT, Optional): Company nametitle(TEXT, Optional): Job title of the leadindustry(TEXT, Optional): Industry of the leadstatus(TEXT, Optional): Status of the lead (e.g., Open, Qualified, Unqualified)rating(TEXT, Optional): Rating of the lead (e.g., Hot, Warm, Cold)source(TEXT, Optional): Source of the lead (e.g., Web, Phone, Email)street(TEXT, Optional): Street addresscity(TEXT, Optional): Citystate(TEXT, Optional): StatepostalCode(TEXT, Optional): Postal codecountry(TEXT, Optional): Country
Output: Returns the created lead details
Create opportunity
salesforce.createopportunity
Creates a new opportunity
Requires Confirmation: Yes
Parameters:
name(TEXT, Required): Name of the opportunitystageName(TEXT, Required): Stage of the opportunity (e.g., Prospecting, Qualification, Proposal)closeDate(TEXT, Required): Close date of the opportunity (YYYY-MM-DD)amount(NUMBER, Optional): Amount of the opportunityprobability(NUMBER, Optional): Probability percentage (0-100)type(TEXT, Optional): Type of the opportunityleadSource(TEXT, Optional): Lead sourcedescription(TEXT, Optional): Description of the opportunityaccountId(TEXT, Optional): ID of the related accountcontactId(TEXT, Optional): ID of the related contact
Output: Returns the created opportunity details
Create task
salesforce.createtask
Creates a new task
Requires Confirmation: Yes
Parameters:
subject(TEXT, Required): Subject of the taskstatus(TEXT, Optional): Status of the task (e.g., Not Started, In Progress, Completed)priority(TEXT, Optional): Priority of the task (e.g., High, Normal, Low)activityDate(TEXT, Optional): Due date of the task (YYYY-MM-DD)description(TEXT, Optional): Description of the taskwhoId(TEXT, Optional): ID of the related contact or leadwhatId(TEXT, Optional): ID of the related account, opportunity, or case
Output: Returns the created task details
Update account
salesforce.updateaccount
Updates an existing account
Requires Confirmation: Yes
Parameters:
accountId(TEXT, Required): ID of the account to updatename(TEXT, Optional): Updated name of the accounttype(TEXT, Optional): Updated type of accountindustry(TEXT, Optional): Updated industry of the accountphone(TEXT, Optional): Updated phone numberwebsite(TEXT, Optional): Updated website URLbillingStreet(TEXT, Optional): Updated billing street addressbillingCity(TEXT, Optional): Updated billing citybillingState(TEXT, Optional): Updated billing statebillingPostalCode(TEXT, Optional): Updated billing postal codebillingCountry(TEXT, Optional): Updated billing countryshippingStreet(TEXT, Optional): Updated shipping street addressshippingCity(TEXT, Optional): Updated shipping cityshippingState(TEXT, Optional): Updated shipping stateshippingPostalCode(TEXT, Optional): Updated shipping postal codeshippingCountry(TEXT, Optional): Updated shipping countrydescription(TEXT, Optional): Updated description of the account
Output: Returns the updated account details
Update campaign
salesforce.updatecampaign
Updates an existing campaign
Requires Confirmation: Yes
Parameters:
campaignId(TEXT, Required): ID of the campaign to updatename(TEXT, Optional): Updated name of the campaigntype(TEXT, Optional): Updated type of campaignstatus(TEXT, Optional): Updated status of the campaignstartDate(TEXT, Optional): Updated start date of the campaignendDate(TEXT, Optional): Updated end date of the campaignbudgetedCost(NUMBER, Optional): Updated budgeted cost of the campaignactualCost(NUMBER, Optional): Updated actual cost of the campaignexpectedRevenue(NUMBER, Optional): Updated expected revenue from the campaigndescription(TEXT, Optional): Updated description of the campaign
Output: Returns the updated campaign details
Update case
salesforce.updatecase
Updates an existing case
Requires Confirmation: Yes
Parameters:
caseId(TEXT, Required): ID of the case to updatesubject(TEXT, Optional): Updated subject of the casestatus(TEXT, Optional): Updated status of the casepriority(TEXT, Optional): Updated priority of the caseorigin(TEXT, Optional): Updated origin of the casereason(TEXT, Optional): Updated reason for the casetype(TEXT, Optional): Updated type of the casedescription(TEXT, Optional): Updated description of the caseaccountId(TEXT, Optional): Updated ID of the related accountcontactId(TEXT, Optional): Updated ID of the related contact
Output: Returns the updated case details
Update contact
salesforce.updatecontact
Updates an existing contact
Requires Confirmation: Yes
Parameters:
contactId(TEXT, Required): ID of the contact to updatefirstName(TEXT, Optional): Updated first name of the contactlastName(TEXT, Optional): Updated last name of the contactemail(TEXT, Optional): Updated email address of the contactphone(TEXT, Optional): Updated phone number of the contacttitle(TEXT, Optional): Updated job title of the contactdepartment(TEXT, Optional): Updated department of the contactaccountId(TEXT, Optional): Updated ID of the related accountmailingStreet(TEXT, Optional): Updated mailing street addressmailingCity(TEXT, Optional): Updated mailing citymailingState(TEXT, Optional): Updated mailing statemailingPostalCode(TEXT, Optional): Updated mailing postal codemailingCountry(TEXT, Optional): Updated mailing country
Output: Returns the updated contact details
Update lead
salesforce.updatelead
Updates an existing lead
Requires Confirmation: Yes
Parameters:
leadId(TEXT, Required): ID of the lead to updatefirstName(TEXT, Optional): Updated first name of the leadlastName(TEXT, Optional): Updated last name of the leademail(TEXT, Optional): Updated email address of the leadphone(TEXT, Optional): Updated phone number of the leadcompany(TEXT, Optional): Updated company nametitle(TEXT, Optional): Updated job title of the leadindustry(TEXT, Optional): Updated industry of the leadstatus(TEXT, Optional): Updated status of the leadrating(TEXT, Optional): Updated rating of the leadsource(TEXT, Optional): Updated source of the leadstreet(TEXT, Optional): Updated street addresscity(TEXT, Optional): Updated citystate(TEXT, Optional): Updated statepostalCode(TEXT, Optional): Updated postal codecountry(TEXT, Optional): Updated country
Output: Returns the updated lead details
Update opportunity
salesforce.updateopportunity
Updates an existing opportunity
Requires Confirmation: Yes
Parameters:
opportunityId(TEXT, Required): ID of the opportunity to updatename(TEXT, Optional): Updated name of the opportunitystageName(TEXT, Optional): Updated stage of the opportunitycloseDate(TEXT, Optional): Updated close date of the opportunityamount(NUMBER, Optional): Updated amount of the opportunityprobability(NUMBER, Optional): Updated probability percentagetype(TEXT, Optional): Updated type of the opportunityleadSource(TEXT, Optional): Updated lead sourcedescription(TEXT, Optional): Updated description of the opportunityaccountId(TEXT, Optional): Updated ID of the related accountcontactId(TEXT, Optional): Updated ID of the related contact
Output: Returns the updated opportunity details
Update task
salesforce.updatetask
Updates an existing task
Requires Confirmation: Yes
Parameters:
taskId(TEXT, Required): ID of the task to updatesubject(TEXT, Optional): Updated subject of the taskstatus(TEXT, Optional): Updated status of the taskpriority(TEXT, Optional): Updated priority of the taskactivityDate(TEXT, Optional): Updated due date of the taskdescription(TEXT, Optional): Updated description of the taskwhoId(TEXT, Optional): Updated ID of the related contact or leadwhatId(TEXT, Optional): Updated ID of the related account, opportunity, or case
Output: Returns the updated task details
Delete account
salesforce.deleteaccount
Deletes an account
Requires Confirmation: Yes
Parameters:
accountId(TEXT, Required): ID of the account to delete
Output: Confirmation of deletion
Delete campaign
salesforce.deletecampaign
Deletes a campaign
Requires Confirmation: Yes
Parameters:
campaignId(TEXT, Required): ID of the campaign to delete
Output: Confirmation of deletion
Delete case
salesforce.deletecase
Deletes a case
Requires Confirmation: Yes
Parameters:
caseId(TEXT, Required): ID of the case to delete
Output: Confirmation of deletion
Delete contact
salesforce.deletecontact
Deletes a contact
Requires Confirmation: Yes
Parameters:
contactId(TEXT, Required): ID of the contact to delete
Output: Confirmation of deletion
Delete lead
salesforce.deletelead
Deletes a lead
Requires Confirmation: Yes
Parameters:
leadId(TEXT, Required): ID of the lead to delete
Output: Confirmation of deletion
Delete opportunity
salesforce.deleteopportunity
Deletes an opportunity
Requires Confirmation: Yes
Parameters:
opportunityId(TEXT, Required): ID of the opportunity to delete
Output: Confirmation of deletion
Delete task
salesforce.deletetask
Deletes a task
Requires Confirmation: Yes
Parameters:
taskId(TEXT, Required): ID of the task to delete
Output: Confirmation of deletion
Common use cases
Data Management — Manage and organize your Salesforce data
Automation — Automate workflows with Salesforce
Reporting — Generate insights and reports
Integration — Connect Salesforce with other tools
Best practices
Troubleshooting
Authentication failed
Verify your OAuth credentials
Rate limit exceeded
Reduce request frequency
Data not found
Check permissions and data availability
Connection timeout
Verify network connectivity
Support
For additional help with the Salesforce integration, contact [email protected]

