{
	"name": "accounts.workflow",
	"nodes": [
		{
			"parameters": {},
			"type": "n8n-nodes-base.manualTrigger",
			"typeVersion": 1,
			"position": [-240, 700],
			"id": "80ee49ee-d695-41d8-9f94-d59a499d46c1",
			"name": "When clicking ‘Execute workflow’"
		},
		{
			"parameters": {
				"resource": "account",
				"name": "Test Account",
				"additionalFields": {}
			},
			"type": "n8n-nodes-base.salesforce",
			"typeVersion": 1,
			"position": [-20, 100],
			"id": "9256d15e-a14f-4b30-8600-99b64d2635d6",
			"name": "Salesforce",
			"credentials": {
				"salesforceOAuth2Api": {
					"id": "gBXFg0tv79sQS6pc",
					"name": "Salesforce account"
				}
			}
		},
		{
			"parameters": {},
			"type": "n8n-nodes-base.noOp",
			"typeVersion": 1,
			"position": [200, 100],
			"id": "53d96738-6778-410c-a1cd-e552fedc0f8a",
			"name": "No Operation, do nothing"
		},
		{
			"parameters": {
				"resource": "account",
				"operation": "getAll",
				"returnAll": true,
				"options": {}
			},
			"type": "n8n-nodes-base.salesforce",
			"typeVersion": 1,
			"position": [-20, 300],
			"id": "9369fffa-6679-4065-8748-7ba2449eecb7",
			"name": "Salesforce1",
			"credentials": {
				"salesforceOAuth2Api": {
					"id": "gBXFg0tv79sQS6pc",
					"name": "Salesforce account"
				}
			}
		},
		{
			"parameters": {},
			"type": "n8n-nodes-base.noOp",
			"typeVersion": 1,
			"position": [200, 300],
			"id": "55813438-79eb-4513-9586-7ac3213c7ac7",
			"name": "No Operation, do nothing1"
		},
		{
			"parameters": {
				"resource": "account",
				"operation": "addNote",
				"accountId": "id1",
				"title": "New note",
				"options": {}
			},
			"type": "n8n-nodes-base.salesforce",
			"typeVersion": 1,
			"position": [-20, 500],
			"id": "387806dc-9f87-43fd-9e7d-ecf8619c327d",
			"name": "Salesforce2",
			"credentials": {
				"salesforceOAuth2Api": {
					"id": "gBXFg0tv79sQS6pc",
					"name": "Salesforce account"
				}
			}
		},
		{
			"parameters": {},
			"type": "n8n-nodes-base.noOp",
			"typeVersion": 1,
			"position": [200, 500],
			"id": "0a6bce2c-55b0-4b8f-a817-ce8d47723e95",
			"name": "No Operation, do nothing2"
		},
		{
			"parameters": {
				"resource": "account",
				"operation": "get",
				"accountId": "id1"
			},
			"type": "n8n-nodes-base.salesforce",
			"typeVersion": 1,
			"position": [-20, 700],
			"id": "31060d8f-2353-44e1-83c1-86c626125e72",
			"name": "Salesforce3",
			"credentials": {
				"salesforceOAuth2Api": {
					"id": "gBXFg0tv79sQS6pc",
					"name": "Salesforce account"
				}
			}
		},
		{
			"parameters": {},
			"type": "n8n-nodes-base.noOp",
			"typeVersion": 1,
			"position": [200, 700],
			"id": "d9481d27-3cb0-4809-a9a4-d91cb5b7d37c",
			"name": "No Operation, do nothing3"
		},
		{
			"parameters": {
				"resource": "account",
				"operation": "update",
				"accountId": "id1",
				"updateFields": {
					"website": "https://foo.bar.baz"
				}
			},
			"type": "n8n-nodes-base.salesforce",
			"typeVersion": 1,
			"position": [-20, 900],
			"id": "294c3e5b-0e5a-4b13-8cb6-e74618e6e9bb",
			"name": "Salesforce4",
			"credentials": {
				"salesforceOAuth2Api": {
					"id": "gBXFg0tv79sQS6pc",
					"name": "Salesforce account"
				}
			}
		},
		{
			"parameters": {},
			"type": "n8n-nodes-base.noOp",
			"typeVersion": 1,
			"position": [200, 900],
			"id": "ed0920e2-a04b-46b3-8bdb-f8e81969001f",
			"name": "No Operation, do nothing4"
		},
		{
			"parameters": {
				"resource": "account",
				"operation": "upsert",
				"externalId": "Id",
				"externalIdValue": "id1",
				"name": "New account",
				"additionalFields": {}
			},
			"type": "n8n-nodes-base.salesforce",
			"typeVersion": 1,
			"position": [-20, 1100],
			"id": "fcaf7a7e-312d-40c2-a5ab-be4040fd32d9",
			"name": "Salesforce5",
			"credentials": {
				"salesforceOAuth2Api": {
					"id": "gBXFg0tv79sQS6pc",
					"name": "Salesforce account"
				}
			}
		},
		{
			"parameters": {},
			"type": "n8n-nodes-base.noOp",
			"typeVersion": 1,
			"position": [200, 1100],
			"id": "327971b2-6258-4cfd-b126-0905aa8054a9",
			"name": "No Operation, do nothing5"
		},
		{
			"parameters": {
				"resource": "account",
				"operation": "delete",
				"accountId": "id1"
			},
			"type": "n8n-nodes-base.salesforce",
			"typeVersion": 1,
			"position": [-20, 1300],
			"id": "468b78f6-0a62-4c1c-94a4-9180d51ae660",
			"name": "Salesforce6",
			"credentials": {
				"salesforceOAuth2Api": {
					"id": "gBXFg0tv79sQS6pc",
					"name": "Salesforce account"
				}
			}
		},
		{
			"parameters": {},
			"type": "n8n-nodes-base.noOp",
			"typeVersion": 1,
			"position": [200, 1300],
			"id": "e4bf4b7e-8f49-4764-908c-ea393ffa8a24",
			"name": "No Operation, do nothing6"
		}
	],
	"pinData": {
		"No Operation, do nothing": [
			{
				"json": {
					"id": "id1",
					"success": true,
					"errors": []
				}
			}
		],
		"No Operation, do nothing1": [
			{
				"json": {
					"attributes": {
						"type": "Account",
						"url": "/services/data/v59.0/sobjects/Account/id1"
					},
					"Id": "id1",
					"Name": "Account 1",
					"Type": "Customer - Direct"
				}
			},
			{
				"json": {
					"attributes": {
						"type": "Account",
						"url": "/services/data/v59.0/sobjects/Account/id2"
					},
					"Id": "id2",
					"Name": "Account 2",
					"Type": "Customer - Direct"
				}
			}
		],
		"No Operation, do nothing2": [
			{
				"json": {
					"id": "noteid1",
					"success": true,
					"errors": []
				}
			}
		],
		"No Operation, do nothing3": [
			{
				"json": {
					"attributes": {
						"type": "Account",
						"url": "/services/data/v59.0/sobjects/Account/id1"
					},
					"Id": "id1",
					"IsDeleted": false,
					"MasterRecordId": null,
					"Name": "Account 1",
					"Type": "Customer - Direct",
					"ParentId": null,
					"BillingStreet": "Foo",
					"BillingCity": "Bar",
					"BillingState": "TX",
					"BillingPostalCode": null,
					"BillingCountry": "United States",
					"BillingStateCode": "TX",
					"BillingCountryCode": "US",
					"BillingLatitude": null,
					"BillingLongitude": null,
					"BillingGeocodeAccuracy": null,
					"BillingAddress": {
						"city": "Bar",
						"country": "United States",
						"countryCode": "US",
						"geocodeAccuracy": null,
						"latitude": null,
						"longitude": null,
						"postalCode": null,
						"state": "TX",
						"stateCode": "TX",
						"street": "Foo"
					},
					"ShippingStreet": "Foo Bar",
					"ShippingCity": null,
					"ShippingState": null,
					"ShippingPostalCode": null,
					"ShippingCountry": null,
					"ShippingStateCode": null,
					"ShippingCountryCode": null,
					"ShippingLatitude": null,
					"ShippingLongitude": null,
					"ShippingGeocodeAccuracy": null,
					"ShippingAddress": {
						"city": null,
						"country": null,
						"countryCode": null,
						"geocodeAccuracy": null,
						"latitude": null,
						"longitude": null,
						"postalCode": null,
						"state": null,
						"stateCode": null,
						"street": "Foo"
					},
					"Phone": "(123) 123-4567",
					"Fax": "(123) 123-4567",
					"AccountNumber": "AB12345",
					"Website": "http://foo.com",
					"PhotoUrl": "/services/images/photo/id1",
					"Sic": "6576",
					"Industry": "Electronics",
					"AnnualRevenue": 139000000,
					"NumberOfEmployees": 1000,
					"Ownership": "Public",
					"TickerSymbol": "FOO",
					"Description": "Lorem ipsum",
					"Rating": "Hot",
					"Site": null,
					"OwnerId": "005gL000001GYd4QAG",
					"CreatedDate": "2025-03-30T17:57:34.000+0000",
					"CreatedById": "005gL000001GYd4QAG",
					"LastModifiedDate": "2025-03-30T17:57:34.000+0000",
					"LastModifiedById": "005gL000001GYd4QAG",
					"SystemModstamp": "2025-03-30T17:57:34.000+0000",
					"LastActivityDate": null,
					"LastViewedDate": "2025-04-11T12:22:06.000+0000",
					"LastReferencedDate": "2025-04-11T12:22:06.000+0000",
					"Jigsaw": null,
					"JigsawCompanyId": null,
					"CleanStatus": "Pending",
					"AccountSource": null,
					"DunsNumber": null,
					"Tradestyle": null,
					"NaicsCode": null,
					"NaicsDesc": null,
					"YearStarted": null,
					"SicDesc": null,
					"DandbCompanyId": null,
					"OperatingHoursId": null,
					"CustomerPriority__c": "Medium",
					"SLA__c": "Silver",
					"Active__c": "Yes",
					"NumberofLocations__c": 2,
					"UpsellOpportunity__c": "Maybe",
					"SLASerialNumber__c": "2657",
					"SLAExpirationDate__c": "2025-04-23"
				}
			}
		],
		"No Operation, do nothing4": [
			{
				"json": {
					"errors": [],
					"success": true
				}
			}
		],
		"No Operation, do nothing5": [
			{
				"json": {
					"id": "id1",
					"success": true,
					"errors": [],
					"created": false
				}
			}
		],
		"No Operation, do nothing6": [
			{
				"json": {
					"success": true,
					"errors": []
				}
			}
		]
	},
	"connections": {
		"When clicking ‘Execute workflow’": {
			"main": [
				[
					{
						"node": "Salesforce",
						"type": "main",
						"index": 0
					},
					{
						"node": "Salesforce1",
						"type": "main",
						"index": 0
					},
					{
						"node": "Salesforce2",
						"type": "main",
						"index": 0
					},
					{
						"node": "Salesforce3",
						"type": "main",
						"index": 0
					},
					{
						"node": "Salesforce4",
						"type": "main",
						"index": 0
					},
					{
						"node": "Salesforce5",
						"type": "main",
						"index": 0
					},
					{
						"node": "Salesforce6",
						"type": "main",
						"index": 0
					}
				]
			]
		},
		"Salesforce": {
			"main": [
				[
					{
						"node": "No Operation, do nothing",
						"type": "main",
						"index": 0
					}
				]
			]
		},
		"Salesforce1": {
			"main": [
				[
					{
						"node": "No Operation, do nothing1",
						"type": "main",
						"index": 0
					}
				]
			]
		},
		"Salesforce2": {
			"main": [
				[
					{
						"node": "No Operation, do nothing2",
						"type": "main",
						"index": 0
					}
				]
			]
		},
		"Salesforce3": {
			"main": [
				[
					{
						"node": "No Operation, do nothing3",
						"type": "main",
						"index": 0
					}
				]
			]
		},
		"Salesforce4": {
			"main": [
				[
					{
						"node": "No Operation, do nothing4",
						"type": "main",
						"index": 0
					}
				]
			]
		},
		"Salesforce5": {
			"main": [
				[
					{
						"node": "No Operation, do nothing5",
						"type": "main",
						"index": 0
					}
				]
			]
		},
		"Salesforce6": {
			"main": [
				[
					{
						"node": "No Operation, do nothing6",
						"type": "main",
						"index": 0
					}
				]
			]
		}
	},
	"active": false,
	"settings": {
		"executionOrder": "v1"
	},
	"versionId": "52a99175-c048-41ef-a650-cb0df49afc9e",
	"meta": {
		"instanceId": "e115be144a6a5547dbfca93e774dfffa178aa94a181854c13e2ce5e14d195b2e"
	},
	"id": "I1K0IcGLrqCdREVg",
	"tags": []
}
