Salesforce
App · CRM Systems · 45 actions
Keep Salesforce up to date from your workflows: create and update leads, accounts, contacts and opportunities, and log follow-up tasks.
Actions
| Action | What it does |
|---|---|
| Add comment to case | Add a comment to a case's Case Comments list. |
| Add file to record | Attach a file, such as a signed contract or a quote, to a record, where it shows in the record's Files list. |
| Add note to record | Add a note to a lead, contact, account, opportunity or any other record, where it shows in the record's Notes list. |
| Add to campaign | Add a lead or contact to a campaign, optionally with a member status such as Responded. |
| Create account | Add a new account: a company you do business with, which contacts and opportunities belong to. |
| Create case | Open a support case, optionally for an account and contact. |
| Create contact | Add a new contact: a person, usually at one of your accounts. |
| Create lead | Add a new lead: someone who might become a customer. |
| Create opportunity | Add a new opportunity: a deal in progress. |
| Create or update record | Update the record whose external ID field holds a value, such as an order number from another app, or create one when none does. |
| Create record | Create a record of any object in your org, such as a case or one of your own objects, filling in the fields you choose. |
| Create task | Add a follow-up task, optionally about a person and related to an account or opportunity. |
| Delete record | Delete a lead, account, contact, opportunity, task, case, campaign, or a file or note. |
| Delete record of any object | Delete a record of any object in your org, such as a case comment or one of your own objects. |
| Find or create a lead | Look for a lead by email and create it only if there is none, in one step: no need to list leads and branch. |
| Get account | Get one account and its details. |
| Get case | Get one case and its details. |
| Get contact | Get one contact and its details. |
| Get lead | Get one lead and its details. |
| Get object summary | Get what Salesforce says about one kind of record, such as Account: its names, whether you can create, change and delete it, and the records of it viewed recently. |
| Get opportunity | Get one opportunity and its details, with its owner's name and email, its account's name and a link to it (beta), so no further step is needed to look them up. |
| Get record | Get one record of any object in your org, such as a case or one of your own objects, with all of its fields. |
| Get task | Get one task and its details, such as its status and due date. |
| Get user | Get one Salesforce user, such as a record's owner, with their name, email and title. |
| List accounts | List accounts, newest first, optionally only those whose name starts with some text or in one industry. |
| List cases | List cases, newest first, optionally only one status, one account's, or only the open ones. |
| List contacts | List contacts, newest first, optionally only those with a given email or at one account. |
| List files on record | List the files and notes on a record, newest first, as its Files and Notes lists show them. |
| List flows | List the flows in your org that a workflow can start: the active autolaunched ones. |
| List leads | List leads, newest first, optionally only those with a given email, company or status. |
| List opportunities | List opportunities, newest first, optionally only open ones, those at one stage or for one account, or those closing by a date (soonest first). |
| List records | List the records of any object in your org, newest first, with their fields. |
| List tasks | List tasks, newest first, optionally only one status, the ones about one record, or only the open ones. |
| List users | List the people who use your Salesforce org, newest first, optionally the one with an email address. |
| Run a query | Read any records with SOQL, Salesforce's query language: the way to reach custom objects and fields the other actions don't cover. |
| Run flow | Start one of your org's autolaunched flows with the values it takes, and get back what it hands over. |
| Search records | Find leads, accounts, contacts, opportunities, tasks and cases that mention some text. |
| Update account | Change an account's details. |
| Update case | Change a case's details, such as closing it or raising its priority. |
| Update contact | Change a contact's details. |
| Update lead | Change a lead's details, or assign it to someone else. |
| Update opportunity | Change an opportunity's details, most often to move it to a new stage, or set one of your org's own fields on it (beta), such as marking a discount approved. |
| Update record | Change the fields you choose on a record of any object in your org, such as a case or one of your own objects. |
| Update task | Change a task's subject, status, priority, due date or description, such as marking a follow-up Completed. |
| Upload file | Upload a file to your own Files in Salesforce, on no record. |
Add comment to case
Add a comment to a case's Case Comments list. It stays internal unless you choose to show it to the customer.
Inputs
- Case
case_idtextRequired - The case, usually from an earlier step such as Create case, or its ID.
- Comment
commenttextRequired - What the comment says, up to 4000 characters.
- Show to the customer
is_publictrue/false - Publish the comment, so the customer sees it in your help center or portal. Off keeps it for your team.Default:
false.
Outputs
idtextobject_typetextsuccesstrue/false
Example output
{
"id": "00a5g00000CMNTAAA1",
"object_type": "CaseComment",
"success": true
}Add file to record
Attach a file, such as a signed contract or a quote, to a record, where it shows in the record's Files list. Up to 25 MB.
Inputs
- Record
record_idtextRequired - The record to attach it to, as an earlier step gave it, or its ID.
- File
filetextRequired - The file: upload one, or pick a file from an earlier step. Up to 25 MB.
- Title
titletext - The name Salesforce shows for it. Left blank, the file's own name is used.
Outputs
idtextobject_typetextrecord_idtextsuccesstrue/falsetitletextversion_idtext
Example output
{
"id": "0695g00000FILEAAA1",
"object_type": "ContentDocument",
"record_id": "0065g00000LMNOPAA1",
"success": true,
"title": "Signed contract",
"version_id": "0685g00000VERSAAA1"
}Add note to record
Add a note to a lead, contact, account, opportunity or any other record, where it shows in the record's Notes list.
Inputs
- Record
record_idtextRequired - The record the note is about, as an earlier step gave it, or its ID.
- Title
titletextRequired - The note's title, such as Call summary.
- Note
bodytext - What the note says. Each line is kept.
Outputs
idtextlink_idtextobject_typetextrecord_idtextsuccesstrue/false
Example output
{
"id": "0695g00000NOTEAAA1",
"link_id": "06A5g00000LINKAAA1",
"object_type": "ContentNote",
"record_id": "0065g00000LMNOPAA1",
"success": true
}Add to campaign
Add a lead or contact to a campaign, optionally with a member status such as Responded.
Inputs
- Campaign
campaign_idtextRequired - The campaign to add them to.
- Lead or contact
member_idtextRequired - The lead or contact to add, as an earlier step gave it, or its ID.
- Member status
statustext - Their status in the campaign, written as the campaign has it, such as Sent or Responded. Left blank, the campaign's default status is used.
Outputs
idtextobject_typetextsuccesstrue/false
Example output
{
"id": "00v5g00000ABCDEAA1",
"object_type": "CampaignMember",
"success": true
}Create account
Add a new account: a company you do business with, which contacts and opportunities belong to. Only a name is needed.
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 case
Open a support case, optionally for an account and contact. Status, priority and origin left blank get your org's defaults.
Inputs
- Subject
subjecttextRequired - A short line saying what the case is about.
- Description
descriptiontext - Free-text notes stored on the case.
- Status
statustext - The case's status, from your org's Case Status picklist.
- Priority
prioritytext - The case's priority, from your org's Case Priority picklist.
- Origin
origintext - Where the case came from, such as Email or Web, from your org's Case Origin picklist.
- Type
case_typetext - The kind of case, from your org's Case Type picklist.
- Reason
reasontext - Why the case was opened, from your org's Case Reason picklist.
- Account
account_idtext - The account the case is for, picked from the list, as an earlier step gave it, or its ID.
- Contact
contact_idtext - The contact who raised the case, as an earlier step gave it, or its ID.
- 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": "5005g00000QRSTUAA1",
"object_type": "Case",
"success": true
}Create contact
Add a new contact: a person, usually at one of your accounts. Only a last name is needed.
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
account_idtext - The account this person works for.
- 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
Add a new lead: someone who might become a customer. Only a last name (or a full name) and a company are needed. It always creates one, even when a lead with the same email exists; to add a lead only when there is none yet, use 'Find or create a lead'. The result's lead_link (beta) opens the new lead in Salesforce.
Inputs
- Last name
last_nametext - The lead's last name. Needed unless Full name is given.
- 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.
- Rating
ratingtext - Beta. How promising the lead is. Salesforce's standard choices are Hot, Warm and Cold; your org may have its own.
- Full name
full_nametext - Beta. The lead's whole name as one value, such as Ana Silva, for a form that asks for one name. It fills First name and Last name (its last word), so leave those empty.
- 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
idtextlead_linktext- (beta) The link that opens the new lead in Salesforce, ready to put in a message.
object_typetextsuccesstrue/false
Example output
{
"id": "00Q5g00000ABCDEEA1",
"lead_link": "https://acme.my.salesforce.com/lightning/r/Lead/00Q5g00000ABCDEEA1/view",
"object_type": "Lead",
"success": true
}Create opportunity
Add a new opportunity: a deal in progress. It needs a name, a stage and the date you expect it to close.
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
account_idtext - The account this deal is with.
- 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 or update record
Update the record whose external ID field holds a value, such as an order number from another app, or create one when none does. Works for leads, contacts, accounts, opportunities and any other object with an external ID field.
Inputs
- Object
object_typetextRequired - What kind of record, such as Account, Case or one of your org's own objects (Invoice__c).
- Match on field
external_id_fieldtextRequired - The API name of the field to match on. It must be marked External ID in Salesforce, such as Order_Number__c.
- Value to match
external_idtextRequired - The value that field holds on the record to update, such as the order number. A new record gets it too.
- Fields
fieldsobjectRequired - The value to give each field. Fields left empty keep their value on an existing record.
Outputs
createdtrue/false- true when no record had that external ID and a new one was made; false when an existing one was updated.
idtext- The ID of the record created or updated.
object_typetext- The kind of record, such as Account.
successtrue/false- true when Salesforce saved it.
Example output
{
"created": false,
"id": "0015g00000XYZABAA1",
"object_type": "Account",
"success": true
}Create record
Create a record of any object in your org, such as a case or one of your own objects, filling in the fields you choose.
Inputs
- Object
object_typetextRequired - What kind of record to create, such as Case or one of your org's own objects.
- Fields
fieldsobjectRequired - The value to give each field. Fields left empty are left blank, or get your org's default.
- 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": "5005g00000QRSTUAA1",
"object_type": "Case",
"success": true
}Create task
Add a follow-up task, optionally about a person and related to an account or opportunity. Beta: assign it to someone by email and mark it as a call or an email.
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, such as 2026-11-20.
- Due in days
due_in_daysnumber - Beta. Instead of a due date, how many days from today the task is due: 0 for today, 1 for tomorrow. Counted in UTC. Ignored when Due date is filled in.
- Who it's about
who_idtext - The lead or contact this task is about. Beta: usually leave this and Related to empty and fill in About record instead. Use these two only when the task is about a person and a record at once, such as a contact (here) on an opportunity (Related to).
- Related to
what_idtext - The account or opportunity this task relates to. Beta: usually leave this and Who it's about empty and fill in About record instead. Use these two only when the task is about a person and a record at once.
- Description
descriptiontext - Free-text notes stored on the task.
- Assigned to (email)
assigned_to_emailtext - Beta. The email address of the Salesforce user who should do the task, such as jordan@example.com. Leave blank to assign it to the connected user.
- About record
related_to_idtext - Beta. The one field to use for what the task is about: the id of a lead, contact, account or opportunity, such as 00Q5g00000AbCdE from a trigger or an earlier step. Salesforce files a lead or contact under Who it's about and anything else under Related to, so those two can stay empty. Fill them only to link a person and a record at once.
- Type
task_typetext - Beta. What kind of task it is. A call shows with a phone in the record's activity list. Leave blank for an ordinary task.One of:
Call,Email,Other.
Outputs
idtextobject_typetextsuccesstrue/false
Example output
{
"id": "00T5g00000UVWXYAA1",
"object_type": "Task",
"success": true
}Delete record
Delete a lead, account, contact, opportunity, task, case, campaign, or a file or note. It goes to Salesforce's Recycle Bin, where it can be restored.
Inputs
- Object
object_typetextRequired - What kind of record to delete.One of:
Lead,Account,Contact,Opportunity,Task,Case,Campaign,ContentDocument(File or note). - Record
record_idtextRequired - The record to delete, as an earlier step gave it, or its ID.
Outputs
idtextobject_typetextsuccesstrue/false
Example output
{
"id": "00Q5g00000ABCDEEA1",
"object_type": "Lead",
"success": true
}Delete record of any object
Delete a record of any object in your org, such as a case comment or one of your own objects. It goes to Salesforce's Recycle Bin, where it can be restored.
Inputs
- Object
object_typetextRequired - What kind of record to delete, by the object's API name, such as CaseComment or Invoice__c.
- Record
record_idtextRequired - The record to delete, as an earlier step gave it, or its ID.
Outputs
idtextobject_typetextsuccesstrue/false
Example output
{
"id": "a015g00000INVCAAA1",
"object_type": "Invoice__c",
"success": true
}Find or create a lead
Look for a lead by email and create it only if there is none, in one step: no need to list leads and branch. If a lead with this email exists (the newest one, leaving out leads already converted to a contact), it is returned unchanged, and gets a note when the 'Note for an existing lead' fields are filled in. If none exists, a lead is created from the fields here. Made for web forms: it takes a full name from one box and doesn't need a company. The result says which happened (created, and outcome in plain words) and gives the lead's ID, name, company, owner and a link to open it, the same fields either way.
Inputs
- Email
emailtextRequired - The email address to look for, and the new lead's email if none has it. Capitals don't matter.
- Full name
nametext - The person's whole name as typed in one box, such as Alex Rivera. Used for a new lead when 'Last name' is empty: the last word becomes the last name and the rest the first name, and a single word is the last name. Fill in this or 'Last name'; there is no need to split a name in an earlier step.
- First name
first_nametext - The new lead's first name, when the form asks for first and last names separately.
- Last name
last_nametext - The new lead's last name, when the form asks for first and last names separately. Leave empty to use 'Full name'.
- Company
companytext - The company the new lead works for. Salesforce won't save a lead without one, so when this is empty the lead's company is written as [not provided], as Salesforce's own web forms do.
- Phone
phonetext - The new lead's phone number.
- Job title
titletext - The new lead's job title.
- Status
statustext - Where a new lead starts in your qualification process, from your org's Lead Status picklist. Leave empty for your org's default.
- Lead source
lead_sourcetext - Where a new lead came from, from your org's Lead Source picklist, such as Web.
- Website
websitetext - The new lead's company website.
- Description
descriptiontext - Free-text notes stored on a new lead, such as the message typed into the form. Not written to a lead that already exists; use the note fields for that.
- Note for an existing lead: title
note_titletext - The title of the note to add when a lead with this email already exists, such as 'Contact Sales form submitted again'. Leave both note fields empty to add no note. A new lead never gets the note. If only the text is filled in, the title is 'Note'.
- Note for an existing lead: text
note_bodytext - The text of that note, such as the message typed into the form. Plain text; new lines are kept.
- 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
companytext- The lead's company: for an existing lead, the one already on it.
createdtrue/false- true when no lead had this email and a new one was created; false when an existing lead was found.
emailtext- The lead's email address, as Salesforce holds it.
first_nametext- The lead's first name. Empty if it has none.
last_nametext- The lead's last name.
lead_idtext- The lead's ID, for any later Salesforce step.
lead_linktext- The link that opens the lead in Salesforce, ready to put in a message.
nametext- The lead's full name, such as Alex Rivera.
note_addedtrue/false- true when a note was added to an existing lead.
note_idtext- The added note's ID. Empty when none was added.
outcometext- What happened, in words a message can include as they are: 'Created a new lead', 'Added a note to the existing lead' or 'Found the existing lead'.
owner_first_nametext- Beta. The lead owner's first name, such as Jordan, to greet them by. Empty for a queue or if it could not be read.
owner_nametext- The name of the person (or queue) in Salesforce who owns the lead. Empty if it could not be read.
statustext- The lead's status, such as Open - Not Contacted.
Example output
{
"company": "Northwind Traders",
"created": true,
"email": "alex.rivera@example.com",
"first_name": "Alex",
"last_name": "Rivera",
"lead_id": "00Q5g00000ABCDEEA1",
"lead_link": "https://acme.my.salesforce.com/lightning/r/Lead/00Q5g00000ABCDEEA1/view",
"name": "Alex Rivera",
"note_added": false,
"note_id": "",
"outcome": "Created a new lead",
"owner_first_name": "Dana",
"owner_name": "Dana Whitfield",
"status": "Open - Not Contacted"
}Get account
Get one account and its details.
Inputs
- Account
account_idtextRequired - The account, picked from the list, as an earlier step gave it, or its ID.
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 case
Get one case and its details.
Inputs
- Case
case_idtextRequired - The case, usually from an earlier step such as Create case, or its ID.
Outputs
AccountIdtext- The ID of the account it is for.
CaseNumbertext- The case number people see, such as 00001026.
ContactIdtext- The ID of the contact who raised it.
CreatedDatetext- When it was opened.
Descriptiontext- The case's description.
Idtext- The case's ID.
IsClosedtrue/false- true once the case is closed.
LastModifiedDatetext- When it was last changed.
Origintext- Where it came from, such as Email or Phone.
Prioritytext- Its priority, such as High.
Statustext- Its status, such as New or Closed.
Subjecttext- The case's subject line.
attributesobject
Example output
{
"AccountId": "0015g00000XYZABAA1",
"CaseNumber": "00001026",
"ContactId": "0035g00000DEFGHAA1",
"CreatedDate": "2026-09-01T11:30:00.000+0000",
"Description": "The customer's billing address changed in August.",
"Id": "5005g00000QRSTUAA1",
"IsClosed": false,
"LastModifiedDate": "2026-09-01T11:30:00.000+0000",
"Origin": "Email",
"Priority": "High",
"Status": "New",
"Subject": "Invoice shows the wrong address",
"attributes": {
"type": "Case",
"url": "/services/data/v67.0/sobjects/Case/5005g00000QRSTUAA1"
}
}Get contact
Get one contact and its details.
Inputs
- Contact
contact_idtextRequired - The contact, as an earlier step gave it, or its ID from the address of its page in Salesforce.
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
Get one lead and its details. Beta: also its company size, annual revenue and who owns it, with the owner's name and email.
Inputs
- Lead
lead_idtextRequired - The lead, as an earlier step gave it, or its ID from the address of its page in Salesforce.
Outputs
AnnualRevenuenumber- Beta. Their company's yearly revenue in the org's currency, a plain number such as 12000000. Empty when nobody filled it in.
CompanytextCreatedDatetextDescriptiontextEmailtextFirstNametextIdtextIndustrytextIsConvertedtrue/falseLastModifiedDatetextLastNametextLeadSourcetextNametextNumberOfEmployeesnumber- Beta. How many people work at their company, a whole number such as 750. Empty when nobody filled it in.
OwnerIdtext- Beta. The ID of the user (or queue) who owns the lead, starting 005 for a user or 00G for a queue.
PhonetextStatustextTitletextWebsitetextattributesobjectlead_linktext- (beta) The link that opens this lead in Salesforce, ready to put in a message.
owner_emailtext- Beta. The lead owner's email address, such as jordan@example.com. Blank for a queue with no email.
owner_first_nametext- Beta. The lead owner's first name, such as Jordan, to greet them by. Blank for a queue.
owner_nametext- Beta. The name of the user (or queue) who owns the lead, such as Jordan Lee.
Example output
{
"AnnualRevenue": 12000000,
"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",
"NumberOfEmployees": 750,
"OwnerId": "0055g00000OWNERAA1",
"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"
},
"lead_link": "https://acme.my.salesforce.com/lightning/r/Lead/00Q5g00000ABCDEEA1/view",
"owner_email": "jordan.lee@example.com",
"owner_first_name": "Jordan",
"owner_name": "Jordan Lee"
}Get object summary
Get what Salesforce says about one kind of record, such as Account: its names, whether you can create, change and delete it, and the records of it viewed recently.
Inputs
- Object
object_typetextRequired - What kind of record, such as Account, Case or one of your org's own objects (Invoice__c).
Outputs
createabletrue/false- true when you can create its records.
customtrue/false- true for one of your org's own objects.
deletabletrue/false- true when you can delete its records.
key_prefixtext- The three characters every one of its record IDs starts with.
labeltext- Its name as people see it.
label_pluraltext- Its plural name, such as Accounts.
nametext- The object's API name, such as Account.
recent_itemslistupdateabletrue/false- true when you can change its records.
Example output
{
"createable": true,
"custom": false,
"deletable": true,
"key_prefix": "001",
"label": "Account",
"label_plural": "Accounts",
"name": "Account",
"recent_items": [
{
"Id": "0015g00000XYZABAA1",
"Name": "Northwind Traders",
"attributes": {
"type": "Account",
"url": "/services/data/v67.0/sobjects/Account/0015g00000XYZABAA1"
}
}
],
"updateable": true
}Get opportunity
Get one opportunity and its details, with its owner's name and email, its account's name and a link to it (beta), so no further step is needed to look them up.
Inputs
- Opportunity
opportunity_idtextRequired - The opportunity, as an earlier step gave it, or its ID from the address of its page in Salesforce.
- Extra fields
extra_fieldstext - Beta. Your org's own fields to read as well, by their API names with commas between them, such as Discount_Percent__c, Region__c. Each comes back under custom_fields, such as custom_fields.Discount_Percent__c. A field's API name is shown in Salesforce under Setup > Object Manager > Opportunity > Fields & Relationships.
Outputs
AccountIdtextAmountnumberCloseDatetextCreatedDatetextDescriptiontextIdtextIsClosedtrue/falseIsWontrue/falseLastModifiedDatetextNametextProbabilitynumberStageNametextTypetextaccount_nametext- Beta. The name of its account (the customer); blank when it has none.
amount_displaytext- Beta. Its value as a person writes it, such as 62,500. Use it in a message, with your currency sign in front; compare with Amount.
attributesobjectcustom_fieldsobject- Beta. The fields named in Extra fields, each by its API name, such as custom_fields.Discount_Percent__c. Empty when none were asked for.
opportunity_linktext- Beta. A link that opens the opportunity in Salesforce.
owner_emailtext- Beta. Their email address, ready to send them a message.
owner_first_nametext- Beta. The owner's first name, such as Dana, to greet them by in a message.
owner_nametext- Beta. The name of the person who owns the opportunity, usually its sales rep.
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",
"account_name": "Northwind Traders",
"amount_display": "48,000",
"attributes": {
"type": "Opportunity",
"url": "/services/data/v67.0/sobjects/Opportunity/0065g00000LMNOPAA1"
},
"custom_fields": {
"Discount_Percent__c": 18
},
"opportunity_link": "https://acme.my.salesforce.com/lightning/r/Opportunity/0065g00000LMNOPAA1/view",
"owner_email": "dana.whitfield@example.com",
"owner_first_name": "Dana",
"owner_name": "Dana Whitfield"
}Get record
Get one record of any object in your org, such as a case or one of your own objects, with all of its fields.
Inputs
- Object
object_typetextRequired - What kind of record, such as Account, Case or one of your org's own objects (Invoice__c).
- Record
record_idtextRequired - The record, as an earlier step gave it, or its ID.
Outputs
The record, with each of its fields by API name, such as Name or Invoice_Total__c.
Idtext- The record's ID.
Nametext- Its name, for an object that has one.
attributesobject
Example output
{
"Id": "a015g00000INVCAAA1",
"Name": "INV-0042",
"attributes": {
"type": "Invoice__c",
"url": "/services/data/v67.0/sobjects/Invoice__c/a015g00000INVCAAA1"
}
}Get task
Get one task and its details, such as its status and due date.
Inputs
- Task
task_idtextRequired - The task, usually from an earlier step such as Create task, or its ID.
Outputs
ActivityDatetextCreatedDatetextDescriptiontextIdtextIsClosedtrue/falseLastModifiedDatetextOwnerIdtextPrioritytextStatustextSubjecttextWhatIdtextWhoIdtextattributesobject
Example output
{
"ActivityDate": "2026-09-05",
"CreatedDate": "2026-09-01T11:30:00.000+0000",
"Description": "Ask about seat count.",
"Id": "00T5g00000UVWXYAA1",
"IsClosed": false,
"LastModifiedDate": "2026-09-01T11:30:00.000+0000",
"OwnerId": "0055g00000AAABBAA1",
"Priority": "Normal",
"Status": "Not Started",
"Subject": "Call back about the renewal",
"WhatId": "0065g00000LMNOPAA1",
"WhoId": "0035g00000DEFGHAA1",
"attributes": {
"type": "Task",
"url": "/services/data/v67.0/sobjects/Task/00T5g00000UVWXYAA1"
}
}Get user
Get one Salesforce user, such as a record's owner, with their name, email and title.
Inputs
- User
salesforce_user_idtextRequired - The user, such as a record's owner from an earlier step, or their ID (it starts 005).
Outputs
CreatedDatetext- When the user was added.
Departmenttext- Their department.
Emailtext- Their email address.
FirstNametext- Their first name.
Idtext- The user's ID.
IsActivetrue/false- true when they can sign in.
LastLoginDatetext- When they last signed in.
LastNametext- Their last name.
Nametext- Their full name.
Phonetext- Their phone number.
ProfileIdtext- The ID of their profile.
Titletext- Their job title.
UserRoleIdtext- The ID of their role, if they have one.
Usernametext- The name they sign in to Salesforce with.
attributesobject
Example output
{
"CreatedDate": "2025-02-10T16:00:00.000+0000",
"Department": "Sales",
"Email": "jordan.lee@acme.com",
"FirstName": "Jordan",
"Id": "0055g00000AAABBAA1",
"IsActive": true,
"LastLoginDate": "2026-09-01T08:02:00.000+0000",
"LastName": "Lee",
"Name": "Jordan Lee",
"Phone": "+1 415 555 0101",
"ProfileId": "00e5g00000PROFAAA1",
"Title": "Account Executive",
"UserRoleId": "00E5g00000ROLEAAA1",
"Username": "jordan.lee@acme.com",
"attributes": {
"type": "User",
"url": "/services/data/v67.0/sobjects/User/0055g00000AAABBAA1"
}
}List accounts
List accounts, newest first, optionally only those whose name starts with some text or in one 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.
- How many
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 cases
List cases, newest first, optionally only one status, one account's, or only the open ones.
Inputs
- Status
statustext - Return only cases with this status, from your org's Case Status picklist.
- Account
account_idtext - Return only this account's cases.
- Open cases only
open_onlytrue/false - Leave out cases that are closed.Default:
false. - How many
limitnumber - How many records to return, newest first (1-200).From 1 to 200. Default:
25.
Outputs
Returns a list.
Example output
[
{
"AccountId": "0015g00000XYZABAA1",
"CaseNumber": "00001026",
"ContactId": "0035g00000DEFGHAA1",
"CreatedDate": "2026-09-01T11:30:00.000+0000",
"Description": "The customer's billing address changed in August.",
"Id": "5005g00000QRSTUAA1",
"IsClosed": false,
"LastModifiedDate": "2026-09-01T11:30:00.000+0000",
"Origin": "Email",
"Priority": "High",
"Status": "New",
"Subject": "Invoice shows the wrong address",
"attributes": {
"type": "Case",
"url": "/services/data/v67.0/sobjects/Case/5005g00000QRSTUAA1"
}
}
]List contacts
List contacts, newest first, optionally only those with a given email or at one account.
Inputs
- Email
emailtext - Return only contacts with exactly this email address.
- Account
account_idtext - Return only contacts at this account.
- How many
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 files on record
List the files and notes on a record, newest first, as its Files and Notes lists show them.
Inputs
- Record
record_idtextRequired - The record whose files to list, as an earlier step gave it, or its ID.
- How many
limitnumber - How many records to return, newest first (1-200).From 1 to 200. Default:
25.
Outputs
Returns a list.
Example output
[
{
"created_date": "2026-09-01T11:30:00.000+0000",
"file_extension": "pdf",
"file_type": "PDF",
"id": "0695g00000FILEAAA1",
"link_id": "06A5g00000LINKAAA1",
"size_bytes": 48213,
"title": "Signed contract",
"version_id": "0685g00000VERSAAA1"
}
]List flows
List the flows in your org that a workflow can start: the active autolaunched ones.
Inputs
None.
Outputs
Returns a list.
Example output
[
{
"label": "Send Welcome Pack",
"name": "Send_Welcome_Pack"
}
]List leads
List leads, newest first, optionally only those with a given email, company or status. The result is the list of leads itself, not wrapped in anything, and is an empty list when none match. Each lead carries lead_link (beta), which opens it in Salesforce. To add a lead only when none has a given email, use 'Find or create a lead' instead of listing first.
Inputs
- Email
emailtext - Return only leads with exactly this email address (capitals don't matter).
- Company
companytext - Return only leads at exactly this company.
- Status
statustext - Return only leads in this status, from your org's Lead Status picklist.
- How many
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"
},
"lead_link": "https://acme.my.salesforce.com/lightning/r/Lead/00Q5g00000ABCDEEA1/view"
}
]List opportunities
List opportunities, newest first, optionally only open ones, those at one stage or for one account, or those closing by a date (soonest first).
Inputs
- Stage
stage_nametext - Return only opportunities in this stage, from your org's Opportunity Stage picklist.
- Account
account_idtext - Return only opportunities for this account.
- Only open deals
open_onlytrue/false - Leave out deals that are already won or lost. Use this for a pipeline review.Default:
false. - Closing on or before
close_date_on_or_beforedate - Return only deals whose close date is this day or earlier, soonest first, so deals past their close date are included. For deals closing this month, give the month's last day.
- How many
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"
}
}
]List records
List the records of any object in your org, newest first, with their fields. To pick records by their values, use Run a query.
Inputs
- Object
object_typetextRequired - What kind of record, such as Account, Case or one of your org's own objects (Invoice__c).
- How many
limitnumber - How many records to return, newest first (1-200).From 1 to 200. Default:
25.
Outputs
Returns a list.
Example output
[
{
"Id": "a015g00000INVCAAA1",
"Name": "INV-0042",
"attributes": {
"type": "Invoice__c",
"url": "/services/data/v67.0/sobjects/Invoice__c/a015g00000INVCAAA1"
}
}
]List tasks
List tasks, newest first, optionally only one status, the ones about one record, or only the open ones.
Inputs
- Status
statustext - Return only tasks with this status, from your org's Task Status picklist.
- About this record
related_to_idtext - Return only tasks about this lead, contact, account, opportunity or other record, as an earlier step gave it, or its ID.
- Open tasks only
open_onlytrue/false - Leave out tasks that are done.Default:
false. - How many
limitnumber - How many records to return, newest first (1-200).From 1 to 200. Default:
25.
Outputs
Returns a list.
Example output
[
{
"ActivityDate": "2026-09-05",
"CreatedDate": "2026-09-01T11:30:00.000+0000",
"Description": "Ask about seat count.",
"Id": "00T5g00000UVWXYAA1",
"IsClosed": false,
"LastModifiedDate": "2026-09-01T11:30:00.000+0000",
"OwnerId": "0055g00000AAABBAA1",
"Priority": "Normal",
"Status": "Not Started",
"Subject": "Call back about the renewal",
"WhatId": "0065g00000LMNOPAA1",
"WhoId": "0035g00000DEFGHAA1",
"attributes": {
"type": "Task",
"url": "/services/data/v67.0/sobjects/Task/00T5g00000UVWXYAA1"
}
}
]List users
List the people who use your Salesforce org, newest first, optionally the one with an email address.
Inputs
- Email
emailtext - Return only the user with this email address.
- Active users only
active_onlytrue/false - Leave out users who can no longer sign in.Default:
true. - How many
limitnumber - How many records to return, newest first (1-200).From 1 to 200. Default:
25.
Outputs
Returns a list.
Example output
[
{
"CreatedDate": "2025-02-10T16:00:00.000+0000",
"Department": "Sales",
"Email": "jordan.lee@acme.com",
"FirstName": "Jordan",
"Id": "0055g00000AAABBAA1",
"IsActive": true,
"LastLoginDate": "2026-09-01T08:02:00.000+0000",
"LastName": "Lee",
"Name": "Jordan Lee",
"Phone": "+1 415 555 0101",
"ProfileId": "00e5g00000PROFAAA1",
"Title": "Account Executive",
"UserRoleId": "00E5g00000ROLEAAA1",
"Username": "jordan.lee@acme.com",
"attributes": {
"type": "User",
"url": "/services/data/v67.0/sobjects/User/0055g00000AAABBAA1"
}
}
]Run a query
Read any records with SOQL, Salesforce's query language: the way to reach custom objects and fields the other actions don't cover. Each record comes back with the fields the query names; a field reached through a relationship, such as Owner.Email, comes back nested, read as records[0].Owner.Email.
Inputs
- Query
querytextRequired - A SOQL SELECT statement, for example: SELECT Id, Name, Amount FROM Opportunity WHERE IsClosed = false
- How many
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
}Run flow
Start one of your org's autolaunched flows with the values it takes, and get back what it hands over. The flow does whatever it was built to do, which can include sending email or changing records.
Inputs
- Flow
flow_nametextRequired - The flow to start, picked from the list, or its API name.
- Inputs
inputsobject - The value for each of the flow's input variables, by name, such as {"recordId": "0015g00000XYZABAA1"}. Leave empty for a flow that takes none.
Outputs
flow_nametext- The flow that ran.
outputsobject- What the flow handed back: each of its output variables by name.
statustext- How the run ended, such as Finished.
successtrue/false- true when the flow finished.
Example output
{
"flow_name": "Send_Welcome_Pack",
"outputs": {
"Flow__InterviewStatus": "Finished",
"welcomeSent": true
},
"status": "Finished",
"success": true
}Search records
Find leads, accounts, contacts, opportunities, tasks and cases that mention some text. Use this when you know a name but not what kind of record it is.
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. - How many
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
Change an account's details. Only the fields you fill in are changed.
Inputs
- Account
account_idtextRequired - The account to change, picked from the list, as an earlier step gave it, or its ID.
- 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 case
Change a case's details, such as closing it or raising its priority. Only the fields you fill in are changed.
Inputs
- Case
case_idtextRequired - The case, usually from an earlier step such as Create case, or its ID.
- Subject
subjecttext - A new subject line.
- Description
descriptiontext - Free-text notes stored on the case.
- Status
statustext - The case's status, from your org's Case Status picklist.
- Priority
prioritytext - The case's priority, from your org's Case Priority picklist.
- Origin
origintext - Where the case came from, such as Email or Web, from your org's Case Origin picklist.
- Type
case_typetext - The kind of case, from your org's Case Type picklist.
- Reason
reasontext - Why the case was opened, from your org's Case Reason picklist.
- Account
account_idtext - The account the case is for, picked from the list, as an earlier step gave it, or its ID.
- Contact
contact_idtext - The contact who raised the case, as an earlier step gave it, or its ID.
Outputs
idtextobject_typetextsuccesstrue/false
Example output
{
"id": "5005g00000QRSTUAA1",
"object_type": "Case",
"success": true
}Update contact
Change a contact's details. Only the fields you fill in are changed.
Inputs
- Contact
contact_idtextRequired - The contact to change, as an earlier step gave it, or its ID.
- 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
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
Change a lead's details, or assign it to someone else. Only the fields you fill in are changed; the rest are left as they are.
Inputs
- Lead
lead_idtextRequired - The lead to change, as an earlier step gave it, or its ID.
- 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.
- Assign to (email)
owner_emailtext - Beta. Assign the lead to the Salesforce user with this email address, such as jordan@example.com. Leave blank to keep its owner.
- Assign to (user ID)
owner_idtext - Beta. Or assign it by the user's or queue's ID, starting 005 or 00G, such as an owner an earlier step gave. Fill in this or the email, not both.
- Rating
ratingtext - Beta. How promising the lead is. Salesforce's standard choices are Hot, Warm and Cold; your org may have its own.
Outputs
idtextobject_typetextsuccesstrue/false
Example output
{
"id": "00Q5g00000ABCDEEA1",
"object_type": "Lead",
"success": true
}Update opportunity
Change an opportunity's details, most often to move it to a new stage, or set one of your org's own fields on it (beta), such as marking a discount approved. Only the fields you fill in are changed.
Inputs
- Opportunity
opportunity_idtextRequired - The opportunity to change, as an earlier step gave it, or its ID.
- 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.
- Custom fields
custom_fieldsobject - Beta. New values for your org's own fields on the opportunity, each by its API name, such as {"Discount_Approved__c": true, "Approved_By__c": "Dana Whitfield"}. A field's API name is shown in Salesforce under Setup > Object Manager > Opportunity > Fields & Relationships, and usually ends in __c.
Outputs
idtextobject_typetextsuccesstrue/false
Example output
{
"id": "0065g00000LMNOPAA1",
"object_type": "Opportunity",
"success": true
}Update record
Change the fields you choose on a record of any object in your org, such as a case or one of your own objects. Fields left empty keep their value.
Inputs
- Object
object_typetextRequired - What kind of record it is, by the object's API name, such as Opportunity, Case or one of your own objects (Invoice__c). Always needed.
- Record
record_idtextRequired - The record to change, as an earlier step gave it, or its ID.
- Fields
fieldsobjectRequired - The new value for each field to change, each by the field's API name, such as {"Discount_Approved__c": true, "StageName": "Closed Won"}. One of your org's own fields usually ends in __c. Fields left empty keep their value.
Outputs
idtextobject_typetextsuccesstrue/false
Example output
{
"id": "5005g00000QRSTUAA1",
"object_type": "Case",
"success": true
}Update task
Change a task's subject, status, priority, due date or description, such as marking a follow-up Completed. Fields left blank are not changed.
Inputs
- Task
task_idtextRequired - The task to update, usually from an earlier step such as Create task.
- Subject
subjecttext - A new description of what needs doing.
- Status
statustext - A new status, from your org's Task Status picklist, such as Completed.
- Priority
prioritytext - A new priority, from your org's Task Priority picklist.
- Due date
activity_datedate - A new date the task is due.
- Description
descriptiontext - Free-text notes stored on the task.
Outputs
idtextobject_typetextsuccesstrue/false
Example output
{
"id": "00T5g00000UVWXYAA1",
"object_type": "Task",
"success": true
}Upload file
Upload a file to your own Files in Salesforce, on no record. To put it on a record, use Add file to record. Up to 25 MB.
Inputs
- File
filetextRequired - The file: upload one, or pick a file from an earlier step. Up to 25 MB.
- Title
titletext - The name Salesforce shows for it. Left blank, the file's own name is used.
Outputs
idtext- The file's ID, for Add file to record or Delete record.
object_typetext- Always ContentDocument, a file.
successtrue/false- true when Salesforce saved it.
titletext- The name Salesforce shows for the file.
version_idtext- The ID of the file's first version.
Example output
{
"id": "0695g00000FILEAAA1",
"object_type": "ContentDocument",
"success": true,
"title": "Price list",
"version_id": "0685g00000VERSAAA1"
}