Salesforce
App · CRM Systems · 20 actions
Keep Salesforce up to date from your workflows: create and update leads, accounts, contacts and opportunities, log follow-up tasks, and query your org with SOQL.
Actions
| Action | What it does |
|---|---|
| Create account | Create a Salesforce account: the company record other records hang off. |
| Create contact | Create a Salesforce contact: a person, usually attached to an account. |
| Create lead | Create a Salesforce lead. |
| Create opportunity | Create a Salesforce opportunity: a deal in progress. |
| Create task | Create a Salesforce task: a follow-up, optionally attached to a person and to a record. |
| Delete record | Delete a Salesforce record, sending it to your org's Recycle Bin. |
| Get account | Retrieve one Salesforce account by its record ID. |
| Get contact | Retrieve one Salesforce contact by its record ID. |
| Get lead | Retrieve one Salesforce lead by its record ID. |
| Get opportunity | Retrieve one Salesforce opportunity by its record ID. |
| List accounts | List Salesforce accounts, newest first, optionally narrowed by the start of the name or by industry. |
| List contacts | List Salesforce contacts, newest first, optionally narrowed by email or by the account they belong to. |
| List leads | List Salesforce leads, newest first, optionally narrowed by email, company or status. |
| List opportunities | List Salesforce opportunities, newest first, optionally narrowed by stage or by account. |
| Run SOQL query | Run a SOQL SELECT against your org: the way to reach custom objects, custom fields and relationships the other actions don't cover. |
| Search records | Find records across several objects at once by keyword, using Salesforce's text search. |
| Update account | Update a Salesforce account. |
| Update contact | Update a Salesforce contact. |
| Update lead | Update a Salesforce lead. |
| Update opportunity | Update a Salesforce opportunity, most often to move it to a new stage. |
Create account
Create a Salesforce account: the company record other records hang off. Only a name is required.
Inputs
- Account name
nametextRequired - The company's name.
- Website
websitetext - The company's website.
- Industry
industrytext - The company's industry, from your org's Industry picklist.
- Phone
phonetext - The company's phone number.
- Account type
account_typetext - What this company is to you (a customer, a prospect, a partner) from your org's Account Type picklist.
- Billing city
billing_citytext - The city on the billing address.
- Billing country
billing_countrytext - The country on the billing address.
- Description
descriptiontext - Free-text notes stored on the account.
- Save even if a duplicate exists
allow_duplicatestrue/false - Save the record even when your org's duplicate rules find a matching one, the same choice Salesforce offers a person as 'Save anyway'. A rule set to block rather than warn is refused either way.Default:
false.
Outputs
idtextobject_typetextsuccesstrue/false
Example output
{
"id": "0015g00000XYZABAA1",
"object_type": "Account",
"success": true
}Create contact
Create a Salesforce contact: a person, usually attached to an account. Only a last name is required.
Inputs
- Last name
last_nametextRequired - The contact's last name.
- First name
first_nametext - The contact's first name.
- Email
emailtext - The contact's email address.
- Phone
phonetext - The contact's phone number.
- Job title
titletext - The contact's job title.
- Department
departmenttext - The contact's department.
- Account ID
account_idtext - The ID of the account this person works for. Use Create account or List accounts to find one.
- Description
descriptiontext - Free-text notes stored on the contact.
- Save even if a duplicate exists
allow_duplicatestrue/false - Save the record even when your org's duplicate rules find a matching one, the same choice Salesforce offers a person as 'Save anyway'. A rule set to block rather than warn is refused either way.Default:
false.
Outputs
idtextobject_typetextsuccesstrue/false
Example output
{
"id": "0035g00000PQRSTAA1",
"object_type": "Contact",
"success": true
}Create lead
Create a Salesforce lead. Only a last name and a company are required; Salesforce fills the rest in as they become known.
Inputs
- Last name
last_nametextRequired - The lead's last name.
- Company
companytextRequired - The company the lead works for.
- First name
first_nametext - The lead's first name.
- Email
emailtext - The lead's email address.
- Phone
phonetext - The lead's phone number.
- Job title
titletext - The lead's job title.
- Status
statustext - Where the lead sits in your qualification process. The choices come from your org's Lead Status picklist.
- Lead source
lead_sourcetext - Where the lead came from. The choices come from your org's Lead Source picklist.
- Website
websitetext - The company's website.
- Description
descriptiontext - Free-text notes stored on the lead.
- Save even if a duplicate exists
allow_duplicatestrue/false - Save the record even when your org's duplicate rules find a matching one, the same choice Salesforce offers a person as 'Save anyway'. A rule set to block rather than warn is refused either way.Default:
false.
Outputs
idtextobject_typetextsuccesstrue/false
Example output
{
"id": "00Q5g00000ABCDEEA1",
"object_type": "Lead",
"success": true
}Create opportunity
Create a Salesforce opportunity: a deal in progress. Needs a name, a stage and an expected close date.
Inputs
- Opportunity name
nametextRequired - What the deal is called.
- Stage
stage_nametextRequired - The sales stage, from your org's Opportunity Stage picklist.
- Close date
close_datedateRequired - The date the deal is expected to close.
- Amount
amountnumber - The deal's value, in the org's currency.
- Probability (%)
probabilitynumber - How likely the deal is to close, 0-100. Salesforce derives this from the stage if you leave it blank.From 0 to 100.
- Account ID
account_idtext - The ID of the account this deal belongs to.
- Type
opportunity_typetext - New business, renewal, and so on, from your org's Opportunity Type picklist.
- Description
descriptiontext - Free-text notes stored on the opportunity.
- Save even if a duplicate exists
allow_duplicatestrue/false - Save the record even when your org's duplicate rules find a matching one, the same choice Salesforce offers a person as 'Save anyway'. A rule set to block rather than warn is refused either way.Default:
false.
Outputs
idtextobject_typetextsuccesstrue/false
Example output
{
"id": "0065g00000LMNOPAA1",
"object_type": "Opportunity",
"success": true
}Create task
Create a Salesforce task: a follow-up, optionally attached to a person and to a record.
Inputs
- Subject
subjecttextRequired - What needs doing.
- Status
statustext - The task's status, from your org's Task Status picklist.
- Priority
prioritytext - The task's priority, from your org's Task Priority picklist.
- Due date
activity_datedate - The date the task is due.
- Person ID
who_idtext - The ID of the lead or contact this task is about.
- Related record ID
what_idtext - The ID of the account or opportunity this task relates to.
- Description
descriptiontext - Free-text notes stored on the task.
Outputs
idtextobject_typetextsuccesstrue/false
Example output
{
"id": "00T5g00000UVWXYAA1",
"object_type": "Task",
"success": true
}Delete record
Delete a Salesforce record, sending it to your org's Recycle Bin. Works for any of the objects the other actions create.
Inputs
- Object
object_typetextRequired - What kind of record to delete.One of:
Lead,Account,Contact,Opportunity,Task,Case. - Record ID
record_idtextRequired - The 15- or 18-character ID of the record to delete.
Outputs
idtextobject_typetextsuccesstrue/false
Example output
{
"id": "00Q5g00000ABCDEEA1",
"object_type": "Lead",
"success": true
}Get account
Retrieve one Salesforce account by its record ID.
Inputs
- Account ID
account_idtextRequired - The account's 15- or 18-character Salesforce ID, as it appears in the record's URL.
Outputs
AnnualRevenuenumberBillingCitytextBillingCountrytextBillingStatetextCreatedDatetextDescriptiontextIdtextIndustrytextLastModifiedDatetextNametextNumberOfEmployeesnumberOwnerIdtextPhonetextTypetextWebsitetextattributesobject
Example output
{
"AnnualRevenue": 4200000,
"BillingCity": "San Francisco",
"BillingCountry": "United States",
"BillingState": "CA",
"CreatedDate": "2026-08-14T16:02:10.000+0000",
"Description": "Renewal due in Q4.",
"Id": "0015g00000XYZABAA1",
"Industry": "Technology",
"LastModifiedDate": "2026-09-01T11:30:00.000+0000",
"Name": "Northwind Traders",
"NumberOfEmployees": 180,
"OwnerId": "0055g00000AAABBAA1",
"Phone": "+1 415 555 0134",
"Type": "Customer - Direct",
"Website": "https://example.com",
"attributes": {
"type": "Account",
"url": "/services/data/v67.0/sobjects/Account/0015g00000XYZABAA1"
}
}Get contact
Retrieve one Salesforce contact by its record ID.
Inputs
- Contact ID
contact_idtextRequired - The contact's 15- or 18-character Salesforce ID, as it appears in the record's URL.
Outputs
AccountIdtextCreatedDatetextDepartmenttextDescriptiontextEmailtextFirstNametextIdtextLastModifiedDatetextLastNametextMailingCitytextMailingCountrytextNametextPhonetextTitletextattributesobject
Example output
{
"AccountId": "0015g00000XYZABAA1",
"CreatedDate": "2026-08-20T13:41:02.000+0000",
"Department": "Operations",
"Description": "Main point of contact for renewals.",
"Email": "sam.okafor@example.com",
"FirstName": "Sam",
"Id": "0035g00000PQRSTAA1",
"LastModifiedDate": "2026-09-01T08:15:30.000+0000",
"LastName": "Okafor",
"MailingCity": "San Francisco",
"MailingCountry": "United States",
"Name": "Sam Okafor",
"Phone": "+1 415 555 0177",
"Title": "Procurement Lead",
"attributes": {
"type": "Contact",
"url": "/services/data/v67.0/sobjects/Contact/0035g00000PQRSTAA1"
}
}Get lead
Retrieve one Salesforce lead by its record ID.
Inputs
- Lead ID
lead_idtextRequired - The lead's 15- or 18-character Salesforce ID, as it appears in the record's URL.
Outputs
CompanytextCreatedDatetextDescriptiontextEmailtextFirstNametextIdtextIndustrytextIsConvertedtrue/falseLastModifiedDatetextLastNametextLeadSourcetextNametextPhonetextStatustextTitletextWebsitetextattributesobject
Example output
{
"Company": "Northwind Traders",
"CreatedDate": "2026-09-01T09:12:44.000+0000",
"Description": "Downloaded the pricing guide.",
"Email": "alex.rivera@example.com",
"FirstName": "Alex",
"Id": "00Q5g00000ABCDEEA1",
"Industry": "Technology",
"IsConverted": false,
"LastModifiedDate": "2026-09-01T09:12:44.000+0000",
"LastName": "Rivera",
"LeadSource": "Web",
"Name": "Alex Rivera",
"Phone": "+1 415 555 0134",
"Status": "Open - Not Contacted",
"Title": "Head of Operations",
"Website": "https://example.com",
"attributes": {
"type": "Lead",
"url": "/services/data/v67.0/sobjects/Lead/00Q5g00000ABCDEEA1"
}
}Get opportunity
Retrieve one Salesforce opportunity by its record ID.
Inputs
- Opportunity ID
opportunity_idtextRequired - The opportunity's 15- or 18-character Salesforce ID, as it appears in the record's URL.
Outputs
AccountIdtextAmountnumberCloseDatetextCreatedDatetextDescriptiontextIdtextIsClosedtrue/falseIsWontrue/falseLastModifiedDatetextNametextProbabilitynumberStageNametextTypetextattributesobject
Example output
{
"AccountId": "0015g00000XYZABAA1",
"Amount": 48000,
"CloseDate": "2026-12-15",
"CreatedDate": "2026-08-28T10:05:00.000+0000",
"Description": "Three-year renewal with added seats.",
"Id": "0065g00000LMNOPAA1",
"IsClosed": false,
"IsWon": false,
"LastModifiedDate": "2026-09-01T14:20:11.000+0000",
"Name": "Northwind Traders - Platform renewal",
"Probability": 65,
"StageName": "Proposal/Price Quote",
"Type": "Existing Customer - Upgrade",
"attributes": {
"type": "Opportunity",
"url": "/services/data/v67.0/sobjects/Opportunity/0065g00000LMNOPAA1"
}
}List accounts
List Salesforce accounts, newest first, optionally narrowed by the start of the name or by industry.
Inputs
- Name starts with
nametext - Return only accounts whose name begins with this text.
- Industry
industrytext - Return only accounts in this industry, from your org's Industry picklist.
- Maximum results
limitnumber - How many records to return, newest first (1-200).From 1 to 200. Default:
25.
Outputs
Returns a list.
Example output
[
{
"CreatedDate": "2026-08-14T16:02:10.000+0000",
"Id": "0015g00000XYZABAA1",
"Industry": "Technology",
"Name": "Northwind Traders",
"Type": "Customer - Direct",
"Website": "https://example.com",
"attributes": {
"type": "Account",
"url": "/services/data/v67.0/sobjects/Account/0015g00000XYZABAA1"
}
}
]List contacts
List Salesforce contacts, newest first, optionally narrowed by email or by the account they belong to.
Inputs
- Email
emailtext - Return only contacts with exactly this email address.
- Account ID
account_idtext - Return only contacts belonging to this account.
- Maximum results
limitnumber - How many records to return, newest first (1-200).From 1 to 200. Default:
25.
Outputs
Returns a list.
Example output
[
{
"AccountId": "0015g00000XYZABAA1",
"CreatedDate": "2026-08-20T13:41:02.000+0000",
"Email": "sam.okafor@example.com",
"FirstName": "Sam",
"Id": "0035g00000PQRSTAA1",
"LastName": "Okafor",
"Name": "Sam Okafor",
"attributes": {
"type": "Contact",
"url": "/services/data/v67.0/sobjects/Contact/0035g00000PQRSTAA1"
}
}
]List leads
List Salesforce leads, newest first, optionally narrowed by email, company or status.
Inputs
- Email
emailtext - Return only leads with exactly this email address.
- Company
companytext - Return only leads at exactly this company.
- Status
statustext - Return only leads in this status, from your org's Lead Status picklist.
- Maximum results
limitnumber - How many records to return, newest first (1-200).From 1 to 200. Default:
25.
Outputs
Returns a list.
Example output
[
{
"Company": "Northwind Traders",
"CreatedDate": "2026-09-01T09:12:44.000+0000",
"Email": "alex.rivera@example.com",
"FirstName": "Alex",
"Id": "00Q5g00000ABCDEEA1",
"IsConverted": false,
"LastName": "Rivera",
"Name": "Alex Rivera",
"Status": "Open - Not Contacted",
"attributes": {
"type": "Lead",
"url": "/services/data/v67.0/sobjects/Lead/00Q5g00000ABCDEEA1"
}
}
]List opportunities
List Salesforce opportunities, newest first, optionally narrowed by stage or by account.
Inputs
- Stage
stage_nametext - Return only opportunities in this stage, from your org's Opportunity Stage picklist.
- Account ID
account_idtext - Return only opportunities belonging to this account.
- Maximum results
limitnumber - How many records to return, newest first (1-200).From 1 to 200. Default:
25.
Outputs
Returns a list.
Example output
[
{
"AccountId": "0015g00000XYZABAA1",
"Amount": 48000,
"CloseDate": "2026-12-15",
"CreatedDate": "2026-08-28T10:05:00.000+0000",
"Id": "0065g00000LMNOPAA1",
"IsClosed": false,
"IsWon": false,
"Name": "Northwind Traders - Platform renewal",
"StageName": "Proposal/Price Quote",
"attributes": {
"type": "Opportunity",
"url": "/services/data/v67.0/sobjects/Opportunity/0065g00000LMNOPAA1"
}
}
]Run SOQL query
Run a SOQL SELECT against your org: the way to reach custom objects, custom fields and relationships the other actions don't cover.
Inputs
- SOQL query
querytextRequired - A SOQL SELECT, for example: SELECT Id, Name, Amount FROM Opportunity WHERE IsClosed = false
- Maximum results
limitnumber - Applied only when your query has no LIMIT of its own (1-200).From 1 to 200. Default:
25.
Outputs
donetrue/falserecordslisttotal_sizenumber
Example output
{
"done": true,
"records": [
{
"Id": "0065g00000LMNOPAA1",
"Name": "Northwind Traders - Platform renewal",
"attributes": {
"type": "Opportunity",
"url": "/services/data/v67.0/sobjects/Opportunity/0065g00000LMNOPAA1"
}
}
],
"total_size": 1
}Search records
Find records across several objects at once by keyword, using Salesforce's text search. Use this when you know a name or a phrase but not which object holds it.
Inputs
- Search for
search_termtextRequired - The text to look for, at least 2 characters.
- Objects to search
object_typeslist - Which objects to search. All of them if you choose none.One or more of:
Lead,Account,Contact,Opportunity,Task,Case. - Maximum results
limitnumber - How many records to return, newest first (1-200).From 1 to 200. Default:
25.
Outputs
countnumberobjects_searchedlistrecordslist
Example output
{
"count": 1,
"objects_searched": [
"Account"
],
"records": [
{
"Id": "0015g00000XYZABAA1",
"Name": "Northwind Traders",
"attributes": {
"type": "Account",
"url": "/services/data/v67.0/sobjects/Account/0015g00000XYZABAA1"
}
}
]
}Update account
Update a Salesforce account. Only the fields you fill in are changed.
Inputs
- Account ID
account_idtextRequired - The 15- or 18-character ID of the account to update.
- Account name
nametext - A new company name.
- Website
websitetext - A new website.
- Industry
industrytext - A new industry, from your org's Industry picklist.
- Phone
phonetext - A new phone number.
- Account type
account_typetext - A new type, from your org's Account Type picklist.
- Billing city
billing_citytext - A new billing city.
- Billing country
billing_countrytext - A new billing country.
- Description
descriptiontext - Free-text notes stored on the account.
Outputs
idtextobject_typetextsuccesstrue/false
Example output
{
"id": "0015g00000XYZABAA1",
"object_type": "Account",
"success": true
}Update contact
Update a Salesforce contact. Only the fields you fill in are changed.
Inputs
- Contact ID
contact_idtextRequired - The 15- or 18-character ID of the contact to update.
- First name
first_nametext - A new first name.
- Last name
last_nametext - A new last name.
- Email
emailtext - A new email address.
- Phone
phonetext - A new phone number.
- Job title
titletext - A new job title.
- Department
departmenttext - A new department.
- Account ID
account_idtext - Move the contact to this account.
- Description
descriptiontext - Free-text notes stored on the contact.
Outputs
idtextobject_typetextsuccesstrue/false
Example output
{
"id": "0035g00000PQRSTAA1",
"object_type": "Contact",
"success": true
}Update lead
Update a Salesforce lead. Only the fields you fill in are changed; the rest are left as they are.
Inputs
- Lead ID
lead_idtextRequired - The 15- or 18-character ID of the lead to update.
- First name
first_nametext - A new first name.
- Last name
last_nametext - A new last name.
- Company
companytext - A new company.
- Email
emailtext - A new email address.
- Phone
phonetext - A new phone number.
- Job title
titletext - A new job title.
- Status
statustext - A new status, from your org's Lead Status picklist.
- Lead source
lead_sourcetext - A new source, from your org's Lead Source picklist.
- Website
websitetext - A new website.
- Description
descriptiontext - Free-text notes stored on the lead.
Outputs
idtextobject_typetextsuccesstrue/false
Example output
{
"id": "00Q5g00000ABCDEEA1",
"object_type": "Lead",
"success": true
}Update opportunity
Update a Salesforce opportunity, most often to move it to a new stage. Only the fields you fill in are changed.
Inputs
- Opportunity ID
opportunity_idtextRequired - The 15- or 18-character ID of the opportunity to update.
- Stage
stage_nametext - A new sales stage, from your org's Opportunity Stage picklist.
- Opportunity name
nametext - A new name for the deal.
- Close date
close_datedate - A new expected close date.
- Amount
amountnumber - A new deal value.
- Probability (%)
probabilitynumber - A new likelihood of closing, 0-100.From 0 to 100.
- Type
opportunity_typetext - A new type, from your org's Opportunity Type picklist.
- Description
descriptiontext - Free-text notes stored on the opportunity.
Outputs
idtextobject_typetextsuccesstrue/false
Example output
{
"id": "0065g00000LMNOPAA1",
"object_type": "Opportunity",
"success": true
}