salesforceTrigger.json•4.27 kB
{
"nodeType": "n8n-nodes-base.salesforceTrigger",
"displayName": "Salesforce Trigger",
"description": "Fetches data from Salesforce and starts the workflow on specified polling intervals.",
"version": 1,
"properties": [
{
"name": "triggerOn",
"displayName": "Trigger On",
"type": "options",
"default": "",
"description": "Which Salesforce event should trigger the node",
"options": [
{
"name": "Account Created",
"value": "accountCreated",
"description": "When a new account is created"
},
{
"name": "Account Updated",
"value": "accountUpdated",
"description": "When an existing account is modified"
},
{
"name": "Attachment Created",
"value": "attachmentCreated",
"description": "When a file is uploaded and attached to an object"
},
{
"name": "Attachment Updated",
"value": "attachmentUpdated",
"description": "When an existing file is modified"
},
{
"name": "Case Created",
"value": "caseCreated",
"description": "When a new case is created"
},
{
"name": "Case Updated",
"value": "caseUpdated",
"description": "When an existing case is modified"
},
{
"name": "Contact Created",
"value": "contactCreated",
"description": "When a new contact is created"
},
{
"name": "Contact Updated",
"value": "contactUpdated",
"description": "When an existing contact is modified"
},
{
"name": "Custom Object Created",
"value": "customObjectCreated",
"description": "When a new object of a given type is created"
},
{
"name": "Custom Object Updated",
"value": "customObjectUpdated",
"description": "When an object of a given type is modified"
},
{
"name": "Lead Created",
"value": "leadCreated",
"description": "When a new lead is created"
},
{
"name": "Lead Updated",
"value": "leadUpdated",
"description": "When an existing lead is modified"
},
{
"name": "Opportunity Created",
"value": "opportunityCreated",
"description": "When a new opportunity is created"
},
{
"name": "Opportunity Updated",
"value": "opportunityUpdated",
"description": "When an existing opportunity is created"
},
{
"name": "Task Created",
"value": "taskCreated",
"description": "When a new task is created"
},
{
"name": "Task Updated",
"value": "taskUpdated",
"description": "When an existing task is modified"
},
{
"name": "User Created",
"value": "userCreated",
"description": "When a new user is created"
},
{
"name": "User Updated",
"value": "userUpdated",
"description": "When an existing user is modified"
}
]
},
{
"name": "customObject",
"displayName": "Custom Object Name or ID",
"type": "options",
"default": "",
"description": "Name of the custom object. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true,
"displayOptions": {
"show": {
"triggerOn": [
"customObjectUpdated",
"customObjectCreated"
]
}
}
}
],
"credentialsConfig": [
{
"name": "salesforceOAuth2Api",
"required": true
},
{
"name": "triggerOn",
"required": false
},
{
"name": "customObject",
"required": true
}
],
"io": {
"inputs": [],
"outputs": [
"Main"
],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [],
"produces": [
"Main"
]
}
}