interface SalesforceNodeParameters {
accountId?: string;
additionalFields?:
| {
annualRevenue?: number;
city?: string;
country?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
description?: string;
email?: string;
fax?: number;
firstname?: string;
hasOptedOutOfEmail?: boolean;
hasOptedOutOfFax?: boolean;
industry?: string;
IsUnreadByOwner?: boolean;
jigsaw?: string;
leadSource?: string;
mobilePhone?: string;
numberOfEmployees?: number;
owner?: string;
phone?: string;
postalCode?: string;
rating?: string;
recordTypeId?: string;
salutation?: string;
state?: string;
status?: string;
street?: string;
title?: string;
website?: string;
}
| {
acconuntId?: string;
"Assistant Phone"?: string;
assistantName?: string;
birthdate?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
department?: string;
description?: string;
email?: string;
emailBouncedReason?: string;
fax?: string;
firstName?: string;
homePhone?: string;
jigsaw?: string;
leadSource?: string;
mailingCity?: string;
mailingCountry?: string;
mailingPostalCode?: string;
mailingState?: string;
mailingStreet?: string;
mobilePhone?: string;
otherCity?: string;
otherCountry?: string;
otherPhone?: string;
otherPostalCode?: string;
otherState?: string;
otherStreet?: string;
owner?: string;
phone?: string;
recordTypeId?: string;
salutation?: string;
title?: string;
}
| { recordTypeId?: string }
| {
fileExtension?: string;
linkToObjectId?: string;
ownerId?: string;
}
| {
accountId?: string;
amount?: number;
campaignId?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
description?: string;
forecastCategoryName?: string;
leadSource?: string;
nextStep?: string;
owner?: string;
phone?: string;
pricebook2Id?: string;
probability?: number;
type?: "Business"
| "New Business";
}
| {
accountNumber?: string;
accountSource?: string;
annualRevenue?: number;
billingCity?: string;
billingCountry?: string;
billingPostalCode?: string;
billingState?: string;
billingStreet?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
description?: string;
fax?: string;
industry?: string;
jigsaw?: string;
numberOfEmployees?: number;
owner?: string;
parentId?: string;
phone?: string;
recordTypeId?: string;
shippingCity?: string;
shippingCountry?: string;
shippingPostalCode?: string;
shippingState?: string;
shippingStreet?: string;
sicDesc?: string;
type?: string;
website?: string;
}
| {
accountId?: string;
contactId?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
description?: string;
isEscalated?: boolean;
origin?: string;
owner?: string;
ParentId?: string;
priority?: string;
reason?: string;
recordTypeId?: string;
status?: string;
subject?: string;
suppliedCompany?: string;
suppliedEmail?: string;
suppliedName?: string;
suppliedPhone?: string;
}
| {
activityDate?: string;
callDisposition?: string;
callDurationInSeconds?: number;
callObject?: string;
callType?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
description?: string;
isReminderSet?: boolean;
owner?: string;
priority?: string;
recurrenceDayOfMonth?: number;
recurrenceDayOfWeekMask?: number;
recurrenceEndDateOnly?: string;
recurrenceInstance?: string;
recurrenceInterval?: number;
recurrenceMonthOfYear?: | "January"
| "February"
| "March"
| "April"
| "May"
| "June"
| "July"
| "August"
| "September"
| "October"
| "November"
| "December";
recurrenceRegeneratedType?: | "RecurrenceRegenerateAfterDueDate"
| "RecurrenceRegenerateAfterToday"
| "RecurrenceRegenerated";
recurrenceTimeZoneSidKey?: string;
recurrenceType?: string;
reminderDateTime?: string;
subject?: string;
type?: string;
whatId?: string;
whoId?: string;
}
| {
description?: string;
isPrivate?: boolean;
owner?: string;
};
apiName?: string;
attachmentId?: string;
authentication?: "oAuth2"
| "jwt";
binaryPropertyName?: string;
campaignId?: string;
caseId?: string;
closeDate?: string;
company?: string;
contactId?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
customObject?: string;
externalId?: string;
externalIdValue?: string;
jsonParameters?: boolean;
lastname?: string;
leadId?: string;
limit?: number;
name?: string;
operation?: | "create"
| "get"
| "getAll"
| "update"
| "delete"
| "upsert"
| "upload"
| "query"
| "invoke"
| "addComment"
| "addToCampaign"
| "addNote"
| "getSummary";
opportunityId?: string;
options?: | {
conditionsUi?: {
conditionValues: {
field?: string;
operation?: "equal"
| "<"
| "<="
| ">"
| ">=";
value?: string;
}[];
};
fields?: string;
}
| { status?: string }
| {
body?: string;
isPrivate?: boolean;
owner?: string;
}
| {
conditionsUi?: {
conditionValues: {
field?: string;
operation?: "equal"
| "<"
| "<="
| ">"
| ">=";
value?: string;
}[];
};
fields?: unknown[];
}
| {
conditionsUi?: {
conditionValues: {
field?: string;
operation?: "equal"
| "<"
| "<="
| ">"
| ">=";
value?: string;
}[];
};
fields?: string;
}
| {
body?: string;
isPrivate?: boolean;
ownerId?: string;
}
| { commentBody?: string; isPublished?: boolean };
parentId?: string;
query?: string;
recordId?: string;
resource?:
| "account"
| "contact"
| "search"
| "document"
| "user"
| "task"
| "lead"
| "opportunity"
| "case"
| "attachment"
| "customObject"
| "flow";
returnAll?: boolean;
stageName?: string;
status?: string;
taskId?: string;
title?: string;
type?: string;
updateFields?: | {
annualRevenue?: number;
city?: string;
company?: string;
country?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
description?: string;
email?: string;
fax?: number;
firstname?: string;
hasOptedOutOfEmail?: boolean;
HasOptedOutOfFax?: boolean;
industry?: string;
IsUnreadByOwner?: boolean;
jigsaw?: string;
lastname?: string;
leadSource?: string;
mobilePhone?: string;
numberOfEmployees?: number;
owner?: string;
phone?: string;
postalCode?: string;
rating?: string;
recordTypeId?: string;
salutation?: string;
state?: string;
status?: string;
street?: string;
title?: string;
website?: string;
}
| {
acconuntId?: string;
"Assistant Phone"?: string;
assistantName?: string;
birthdate?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
department?: string;
description?: string;
email?: string;
emailBouncedDate?: string;
emailBouncedReason?: string;
fax?: string;
firstName?: string;
homePhone?: string;
jigsaw?: string;
lastName?: string;
leadSource?: string;
mailingCity?: string;
mailingCountry?: string;
mailingPostalCode?: string;
mailingState?: string;
mailingStreet?: string;
mobilePhone?: string;
otherCity?: string;
otherCountry?: string;
otherPhone?: string;
otherPostalCode?: string;
otherState?: string;
otherStreet?: string;
owner?: string;
phone?: string;
recordTypeId?: string;
salutation?: string;
title?: string;
}
| { recordTypeId?: string }
| {
accountId?: string;
amount?: number;
campaignId?: string;
closeDate?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
description?: string;
forecastCategoryName?: string;
leadSource?: string;
name?: string;
nextStep?: string;
owner?: string;
phone?: string;
pricebook2Id?: string;
probability?: number;
stageName?: string;
type?: "Business"
| "New Business";
}
| {
accountNumber?: string;
accountSource?: string;
annualRevenue?: number;
billingCity?: string;
billingCountry?: string;
billingPostalCode?: string;
billingState?: string;
billingStreet?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
description?: string;
fax?: string;
industry?: string;
jigsaw?: string;
name?: string;
numberOfEmployees?: number;
ownerId?: string;
parentId?: string;
phone?: string;
recordTypeId?: string;
shippingCity?: string;
shippingCountry?: string;
shippingPostalCode?: string;
shippingState?: string;
shippingStreet?: string;
sicDesc?: string;
type?: string;
website?: string;
}
| {
accountId?: string;
contactId?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
description?: string;
isEscalated?: boolean;
origin?: string;
owner?: string;
ParentId?: string;
priority?: string;
reason?: string;
recordTypeId?: string;
status?: string;
subject?: string;
suppliedCompany?: string;
suppliedEmail?: string;
suppliedName?: string;
suppliedPhone?: string;
type?: string;
}
| {
activityDate?: string;
callDisposition?: string;
callDurationInSeconds?: number;
callObject?: string;
callType?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
description?: string;
isReminderSet?: boolean;
owner?: string;
priority?: string;
recurrenceDayOfMonth?: number;
recurrenceDayOfWeekMask?: number;
recurrenceEndDateOnly?: string;
recurrenceInstance?: string;
recurrenceInterval?: number;
recurrenceMonthOfYear?: | "January"
| "February"
| "March"
| "April"
| "May"
| "June"
| "July"
| "August"
| "September"
| "October"
| "November"
| "December";
recurrenceRegeneratedType?: | "RecurrenceRegenerateAfterDueDate"
| "RecurrenceRegenerateAfterToday"
| "RecurrenceRegenerated";
recurrenceTimeZoneSidKey?: string;
recurrenceType?: string;
reminderDateTime?: string;
status?: string;
subject?: string;
type?: string;
whatId?: string;
whoId?: string;
}
| {
binaryPropertyName?: string;
description?: string;
isPrivate?: boolean;
name?: string;
owner?: string;
};
userId?: string;
variablesJson?: string;
variablesUi?: {
variablesValues: { name?: string; value?: string }[];
};
}Properties§
readonly account Id?: stringreadonly additional Fields?:
| {
annualRevenue?: number;
city?: string;
country?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
description?: string;
email?: string;
fax?: number;
firstname?: string;
hasOptedOutOfEmail?: boolean;
hasOptedOutOfFax?: boolean;
industry?: string;
IsUnreadByOwner?: boolean;
jigsaw?: string;
leadSource?: string;
mobilePhone?: string;
numberOfEmployees?: number;
owner?: string;
phone?: string;
postalCode?: string;
rating?: string;
recordTypeId?: string;
salutation?: string;
state?: string;
status?: string;
street?: string;
title?: string;
website?: string;
}
| {
acconuntId?: string;
"Assistant Phone"?: string;
assistantName?: string;
birthdate?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
department?: string;
description?: string;
email?: string;
emailBouncedReason?: string;
fax?: string;
firstName?: string;
homePhone?: string;
jigsaw?: string;
leadSource?: string;
mailingCity?: string;
mailingCountry?: string;
mailingPostalCode?: string;
mailingState?: string;
mailingStreet?: string;
mobilePhone?: string;
otherCity?: string;
otherCountry?: string;
otherPhone?: string;
otherPostalCode?: string;
otherState?: string;
otherStreet?: string;
owner?: string;
phone?: string;
recordTypeId?: string;
salutation?: string;
title?: string;
}
| { recordTypeId?: string }
| {
fileExtension?: string;
linkToObjectId?: string;
ownerId?: string;
}
| {
accountId?: string;
amount?: number;
campaignId?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
description?: string;
forecastCategoryName?: string;
leadSource?: string;
nextStep?: string;
owner?: string;
phone?: string;
pricebook2Id?: string;
probability?: number;
type?: "Business"
| "New Business";
}
| {
accountNumber?: string;
accountSource?: string;
annualRevenue?: number;
billingCity?: string;
billingCountry?: string;
billingPostalCode?: string;
billingState?: string;
billingStreet?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
description?: string;
fax?: string;
industry?: string;
jigsaw?: string;
numberOfEmployees?: number;
owner?: string;
parentId?: string;
phone?: string;
recordTypeId?: string;
shippingCity?: string;
shippingCountry?: string;
shippingPostalCode?: string;
shippingState?: string;
shippingStreet?: string;
sicDesc?: string;
type?: string;
website?: string;
}
| {
accountId?: string;
contactId?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
description?: string;
isEscalated?: boolean;
origin?: string;
owner?: string;
ParentId?: string;
priority?: string;
reason?: string;
recordTypeId?: string;
status?: string;
subject?: string;
suppliedCompany?: string;
suppliedEmail?: string;
suppliedName?: string;
suppliedPhone?: string;
}
| {
activityDate?: string;
callDisposition?: string;
callDurationInSeconds?: number;
callObject?: string;
callType?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
description?: string;
isReminderSet?: boolean;
owner?: string;
priority?: string;
recurrenceDayOfMonth?: number;
recurrenceDayOfWeekMask?: number;
recurrenceEndDateOnly?: string;
recurrenceInstance?: string;
recurrenceInterval?: number;
recurrenceMonthOfYear?: | "January"
| "February"
| "March"
| "April"
| "May"
| "June"
| "July"
| "August"
| "September"
| "October"
| "November"
| "December";
recurrenceRegeneratedType?: | "RecurrenceRegenerateAfterDueDate"
| "RecurrenceRegenerateAfterToday"
| "RecurrenceRegenerated";
recurrenceTimeZoneSidKey?: string;
recurrenceType?: string;
reminderDateTime?: string;
subject?: string;
type?: string;
whatId?: string;
whoId?: string;
}
| {
description?: string;
isPrivate?: boolean;
owner?: string;
}Default: {}
readonly api Name?: stringRequired. API name of the flow.
readonly attachment Id?: stringID of attachment that needs to be fetched
readonly authentication?: "oAuth2" | "jwt"OAuth Authorization Flow Default: "oAuth2"
readonly binary Property Name?: stringDefault: "data"
readonly campaign Id?: stringID of the campaign that needs to be fetched. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getCampaigns"}
readonly case Id?: stringID of case that needs to be fetched
readonly close Date?: stringRequired. Date when the opportunity is expected to close.
readonly company?: stringCompany of the lead. If person account record types have been enabled, and if the value of Company is null, the lead converts to a person account.
readonly contact Id?: stringID of contact that needs to be fetched
readonly custom Fields Ui?: { ... }Filter by custom fields Default: {} Type options: {"multipleValues":true}
readonly custom Object?: stringName of the custom object. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getCustomObjects"}
readonly external Id?: stringThe field to check to see if the lead already exists. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getExternalIdFields","loadOptionsDependsOn":["resource"]}
readonly external Id Value?: stringIf this value exists in the 'match against' field, update the lead. Otherwise create a new one.
readonly json Parameters?: booleanWhether the input variables should be set via the value-key pair UI or JSON/RAW
readonly lastname?: stringRequired. Last name of the lead. Limited to 80 characters.
readonly lead Id?: stringID of Lead that needs to be fetched
readonly limit?: numberMax number of results to return Default: 50 Type options: {"minValue":1,"maxValue":100}
readonly name?: stringRequired. Last name of the opportunity. Limited to 80 characters.
readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "delete"
| "upsert"
| "upload"
| "query"
| "invoke"
| "addComment"
| "addToCampaign"
| "addNote"
| "getSummary"Default: "create"
readonly opportunity Id?: stringID of opportunity that needs to be fetched
readonly options?:
| {
conditionsUi?: {
conditionValues: {
field?: string;
operation?: "equal"
| "<"
| "<="
| ">"
| ">=";
value?: string;
}[];
};
fields?: string;
}
| { status?: string }
| {
body?: string;
isPrivate?: boolean;
owner?: string;
}
| {
conditionsUi?: {
conditionValues: {
field?: string;
operation?: "equal"
| "<"
| "<="
| ">"
| ">=";
value?: string;
}[];
};
fields?: unknown[];
}
| {
conditionsUi?: {
conditionValues: {
field?: string;
operation?: "equal"
| "<"
| "<="
| ">"
| ">=";
value?: string;
}[];
};
fields?: string;
}
| {
body?: string;
isPrivate?: boolean;
ownerId?: string;
}
| { commentBody?: string; isPublished?: boolean }Default: {}
readonly parent Id?: string§readonly query?: stringA SOQL query. An example query parameter string might look like: “SELECT+Name+FROM+MyObject”. If the SOQL query string is invalid, a MALFORMED_QUERY response is returned.
readonly record Id?: stringRecord ID to be updated
readonly resource?:
| "account"
| "contact"
| "search"
| "document"
| "user"
| "task"
| "lead"
| "opportunity"
| "case"
| "attachment"
| "customObject"
| "flow"Default: "lead"
readonly return All?: booleanWhether to return all results or only up to a given limit
readonly stage Name?: stringRequired. Date when the opportunity is expected to close. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getStages"}
readonly status?: stringThe current status of the task, such as In Progress or Completed. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getTaskStatuses"}
readonly task Id?: stringID of task that needs to be fetched
readonly title?: stringTitle of the note
readonly type?: stringThe type of case. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getCaseTypes"}
readonly update Fields?:
| {
annualRevenue?: number;
city?: string;
company?: string;
country?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
description?: string;
email?: string;
fax?: number;
firstname?: string;
hasOptedOutOfEmail?: boolean;
HasOptedOutOfFax?: boolean;
industry?: string;
IsUnreadByOwner?: boolean;
jigsaw?: string;
lastname?: string;
leadSource?: string;
mobilePhone?: string;
numberOfEmployees?: number;
owner?: string;
phone?: string;
postalCode?: string;
rating?: string;
recordTypeId?: string;
salutation?: string;
state?: string;
status?: string;
street?: string;
title?: string;
website?: string;
}
| {
acconuntId?: string;
"Assistant Phone"?: string;
assistantName?: string;
birthdate?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
department?: string;
description?: string;
email?: string;
emailBouncedDate?: string;
emailBouncedReason?: string;
fax?: string;
firstName?: string;
homePhone?: string;
jigsaw?: string;
lastName?: string;
leadSource?: string;
mailingCity?: string;
mailingCountry?: string;
mailingPostalCode?: string;
mailingState?: string;
mailingStreet?: string;
mobilePhone?: string;
otherCity?: string;
otherCountry?: string;
otherPhone?: string;
otherPostalCode?: string;
otherState?: string;
otherStreet?: string;
owner?: string;
phone?: string;
recordTypeId?: string;
salutation?: string;
title?: string;
}
| { recordTypeId?: string }
| {
accountId?: string;
amount?: number;
campaignId?: string;
closeDate?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
description?: string;
forecastCategoryName?: string;
leadSource?: string;
name?: string;
nextStep?: string;
owner?: string;
phone?: string;
pricebook2Id?: string;
probability?: number;
stageName?: string;
type?: "Business"
| "New Business";
}
| {
accountNumber?: string;
accountSource?: string;
annualRevenue?: number;
billingCity?: string;
billingCountry?: string;
billingPostalCode?: string;
billingState?: string;
billingStreet?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
description?: string;
fax?: string;
industry?: string;
jigsaw?: string;
name?: string;
numberOfEmployees?: number;
ownerId?: string;
parentId?: string;
phone?: string;
recordTypeId?: string;
shippingCity?: string;
shippingCountry?: string;
shippingPostalCode?: string;
shippingState?: string;
shippingStreet?: string;
sicDesc?: string;
type?: string;
website?: string;
}
| {
accountId?: string;
contactId?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
description?: string;
isEscalated?: boolean;
origin?: string;
owner?: string;
ParentId?: string;
priority?: string;
reason?: string;
recordTypeId?: string;
status?: string;
subject?: string;
suppliedCompany?: string;
suppliedEmail?: string;
suppliedName?: string;
suppliedPhone?: string;
type?: string;
}
| {
activityDate?: string;
callDisposition?: string;
callDurationInSeconds?: number;
callObject?: string;
callType?: string;
customFieldsUi?: {
customFieldsValues: {
fieldId?: string;
value?: string;
}[];
};
description?: string;
isReminderSet?: boolean;
owner?: string;
priority?: string;
recurrenceDayOfMonth?: number;
recurrenceDayOfWeekMask?: number;
recurrenceEndDateOnly?: string;
recurrenceInstance?: string;
recurrenceInterval?: number;
recurrenceMonthOfYear?: | "January"
| "February"
| "March"
| "April"
| "May"
| "June"
| "July"
| "August"
| "September"
| "October"
| "November"
| "December";
recurrenceRegeneratedType?: | "RecurrenceRegenerateAfterDueDate"
| "RecurrenceRegenerateAfterToday"
| "RecurrenceRegenerated";
recurrenceTimeZoneSidKey?: string;
recurrenceType?: string;
reminderDateTime?: string;
status?: string;
subject?: string;
type?: string;
whatId?: string;
whoId?: string;
}
| {
binaryPropertyName?: string;
description?: string;
isPrivate?: boolean;
name?: string;
owner?: string;
}Default: {}
readonly user Id?: stringID of user that needs to be fetched
readonly variables Json?: stringInput variables as JSON object
readonly variables Ui?: { ... }The input variable to send Default: {} Type options: {"multipleValues":true}
ID of account that needs to be fetched