Skip to content

Salesforce

Salesforce is a cloud-based customer relationship management (CRM) platform that provides tools for sales, service, marketing, and analytics to help businesses manage customer interactions and data.

Categories: crm

Type: salesforce/v1


Connections

Version: 1

OAuth2 Authorization Code

Properties

NameLabelTypeDescriptionRequired
subdomainSubdomainSTRINGThe subdomain of your Salesforce instance.true
clientIdClient IdSTRINGtrue
clientSecretClient SecretSTRINGtrue

Actions

Create Record

Name: createRecord

Creates a new record of a specified Salesforce object.

Properties

NameLabelTypeDescriptionRequired
objectSalesforce ObjectSTRINGtrue
fieldsDYNAMIC_PROPERTIES
Depends On object
true
customFieldsCustom FieldsOBJECT
Properties {}
false

Example JSON Structure

{
"label" : "Create Record",
"name" : "createRecord",
"parameters" : {
"object" : "",
"fields" : { },
"customFields" : { }
},
"type" : "salesforce/v1/createRecord"
}

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRINGID of the created record.

Output Example

{
"id" : ""
}

Delete Record

Name: deleteRecord

Deletes an existing record of a specified Salesforce object.

Properties

NameLabelTypeDescriptionRequired
objectSalesforce ObjectSTRINGtrue
idRecord IDSTRING
Depends On object
ID of the object to delete.true

Example JSON Structure

{
"label" : "Delete Record",
"name" : "deleteRecord",
"parameters" : {
"object" : "",
"id" : ""
},
"type" : "salesforce/v1/deleteRecord"
}

Output

This action does not produce any output.

SOQL Query

Name: soqlQuery

Executes a raw SOQL query to extract data from Salesforce.

Properties

NameLabelTypeDescriptionRequired
qQuerySTRINGSOQL query to execute.true

Example JSON Structure

{
"label" : "SOQL Query",
"name" : "soqlQuery",
"parameters" : {
"q" : ""
},
"type" : "salesforce/v1/soqlQuery"
}

Output

The output for this action is dynamic and may vary depending on the input parameters. To determine the exact structure of the output, you need to execute the action.

Update Record

Name: updateRecord

Updates an existing record for a specified Salesforce object.

Properties

NameLabelTypeDescriptionRequired
objectSalesforce ObjectSTRINGtrue
idRecord IDSTRING
Depends On object
ID of the record to update.true
fieldsDYNAMIC_PROPERTIES
Depends On object
true
customFieldsCustom FieldsOBJECT
Properties {}
false

Example JSON Structure

{
"label" : "Update Record",
"name" : "updateRecord",
"parameters" : {
"object" : "",
"id" : "",
"fields" : { },
"customFields" : { }
},
"type" : "salesforce/v1/updateRecord"
}

Output

This action does not produce any output.

Triggers

New Record

Name: newRecord

Triggers when there is new record in Salesforce.

Type: POLLING

Properties

NameLabelTypeDescriptionRequired
objectSalesforce ObjectSTRINGtrue

Output

The output for this action is dynamic and may vary depending on the input parameters. To determine the exact structure of the output, you need to execute the action.

JSON Example

{
"label" : "New Record",
"name" : "newRecord",
"parameters" : {
"object" : ""
},
"type" : "salesforce/v1/newRecord"
}

Updated Record

Name: updatedRecord

Triggers when record is updated.

Type: POLLING

Properties

NameLabelTypeDescriptionRequired
objectSalesforce ObjectSTRINGtrue

Output

The output for this action is dynamic and may vary depending on the input parameters. To determine the exact structure of the output, you need to execute the action.

JSON Example

{
"label" : "Updated Record",
"name" : "updatedRecord",
"parameters" : {
"object" : ""
},
"type" : "salesforce/v1/updatedRecord"
}