/{
“nodes”: [
{
“parameters”: {
“formTitle”: “Join the Customer Success Network”,
“formDescription”: “Welcome to the Customer Success Network”,
“formFields”: {
“values”: [
{
“fieldLabel”: “First Name”,
“requiredField”: true
},
{
“fieldLabel”: “Last Name”,
“requiredField”: true
},
{
“fieldLabel”: “Your email address (private email address preferred)”,
“fieldType”: “email”,
“requiredField”: true
},
{
“fieldLabel”: “What company do you work for?”,
“requiredField”: true
},
{
“fieldLabel”: “Your job title?”,
“requiredField”: true
},
{
“fieldLabel”: “Country”,
“fieldType”: “dropdown”,
“fieldOptions”: {
“values”: [
{
“option”: “Afghanistan”
},
{
“option”: “Åland Islands”
},
{
“option”: “Albania”
},
{
“option”: “Algeria”
},
{
“option”: “American Samoa”
},
{
“option”: “Andorra”
},
{
“option”: “Angola”
},
{
“option”: “Anguilla”
},
{
“option”: “Antigua and Barbuda”
},
{
“option”: “Argentina”
},
{
“option”: “Armenia”
},
{
“option”: “Aruba”
},
{
“option”: “Australia”
},
{
“option”: “Austria”
},
{
“option”: “Azerbaijan”
},
{
“option”: “Bahamas”
},
{
“option”: “Bahrain”
},
{
“option”: “Bangladesh”
},
{
“option”: “Barbados”
},
{
“option”: “Belarus”
},
{
“option”: “Belgium”
},
{
“option”: “Belize”
},
{
“option”: “Benin”
},
{
“option”: “Bermuda”
},
{
“option”: “Bhutan”
},
{
“option”: “Bolivia (Plurinational State of)”
},
{
“option”: “Bonaire, Sint Eustatius and Saba [Caribbean Netherlands]”
},
{
“option”: “Bosnia and Herzegovina”
},
{
“option”: “Botswana”
},
{
“option”: “Bouvet Island”
},
{
“option”: “Brazil”
},
{
“option”: “British Indian Ocean Territory”
},
{
“option”: “British Virgin Islands”
},
{
“option”: “Brunei Darussalam”
},
{
“option”: “Bulgaria”
},
{
“option”: “Burkina Faso”
},
{
“option”: “Burundi”
},
{
“option”: “Cabo Verde [Cape Verde]”
},
{
“option”: “Cambodia”
},
{
“option”: “Cameroon”
},
{
“option”: “Canada”
},
{
“option”: “Cayman Islands”
},
{
“option”: “Central African Republic”
},
{
“option”: “Chad”
},
{
“option”: “Chile”
},
{
“option”: “China”
},
{
“option”: “China, Hong Kong Special Administrative Region”
},
{
“option”: “China, Macao Special Administrative Region”
},
{
“option”: “Christmas Island”
},
{
“option”: “Cocos (Keeling) Islands”
},
{
“option”: “Colombia”
},
{
“option”: “Comoros”
},
{
“option”: “Congo [Republic of the Congo]”
},
{
“option”: “Cook Islands”
},
{
“option”: “Costa Rica”
},
{
“option”: “Côte d’Ivoire [Ivory Coast]”
},
{
“option”: “Croatia”
},
{
“option”: “Cuba”
},
{
“option”: “Curaçao”
},
{
“option”: “Cyprus”
},
{
“option”: “Czechia [Czech Republic]”
},
{
“option”: “Democratic People’s Republic of Korea [North Korea]”
},
{
“option”: “Democratic Republic of the Congo [DR Congo]”
},
{
“option”: “Denmark”
},
{
“option”: “Djibouti”
},
{
“option”: “Dominica”
},
{
“option”: “Dominican Republic”
},
{
“option”: “Ecuador”
},
{
“option”: “Egypt”
},
{
“option”: “El Salvador”
},
{
“option”: “Equatorial Guinea”
},
{
“option”: “Eritrea”
},
{
“option”: “Estonia”
},
{
“option”: “Eswatini [Swaziland]”
},
{
“option”: “Ethiopia”
},
{
“option”: “Falkland Islands (Malvinas)”
},
{
“option”: “Faroe Islands”
},
{
“option”: “Fiji”
},
{
“option”: “Finland”
},
{
“option”: “France”
},
{
“option”: “French Guiana”
},
{
“option”: “French Polynesia”
},
{
“option”: “French Southern Territories”
},
{
“option”: “Gabon”
},
{
“option”: “Gambia”
},
{
“option”: “Georgia”
},
{
“option”: “Germany”
},
{
“option”: “Ghana”
},
{
“option”: “Gibraltar”
},
{
“option”: “Greece”
},
{
“option”: “Greenland”
},
{
“option”: “Grenada”
},
{
“option”: “Guadeloupe”
},
{
“option”: “Guam”
},
{
“option”: “Guatemala”
},
{
“option”: “Guernsey”
},
{
“option”: “Guinea”
},
{
“option”: “Guinea-Bissau”
},
{
“option”: “Guyana”
},
{
“option”: “Haiti”
},
{
“option”: “Heard Island and McDonald Islands”
},
{
“option”: “Honduras”
},
{
“option”: “Hungary”
},
{
“option”: “Iceland”
},
{
“option”: “India”
},
{
“option”: “Indonesia”
},
{
“option”: “Iran (Islamic Republic of)”
},
{
“option”: “Iraq”
},
{
“option”: “Ireland”
},
{
“option”: “Isle of Man”
},
{
“option”: “Israel”
},
{
“option”: “Italy”
},
{
“option”: “Jamaica”
},
{
“option”: “Japan”
},
{
“option”: “Jersey”
},
{
“option”: “Jordan”
},
{
“option”: “Kazakhstan”
},
{
“option”: “Kenya”
},
{
“option”: “Kiribati”
},
{
“option”: “Kuwait”
},
{
“option”: “Kyrgyzstan”
},
{
“option”: “Lao People’s Democratic Republic”
},
{
“option”: “Latvia”
},
{
“option”: “Lebanon”
},
{
“option”: “Lesotho”
},
{
“option”: “Liberia”
},
{
“option”: “Libya”
},
{
“option”: “Liechtenstein”
},
{
“option”: “Lithuania”
},
{
“option”: “Luxembourg”
},
{
“option”: “Madagascar”
},
{
“option”: “Malawi”
},
{
“option”: “Malaysia”
},
{
“option”: “Maldives”
},
{
“option”: “Mali”
},
{
“option”: “Malta”
},
{
“option”: “Marshall Islands”
},
{
“option”: “Martinique”
},
{
“option”: “Mauritania”
},
{
“option”: “Mauritius”
},
{
“option”: “Mayotte”
},
{
“option”: “Mexico”
},
{
“option”: “Micronesia (Federated States of)”
},
{
“option”: “Monaco”
},
{
“option”: “Mongolia”
},
{
“option”: “Montenegro”
},
{
“option”: “Montserrat”
},
{
“option”: “Morocco”
},
{
“option”: “Mozambique”
},
{
“option”: “Myanmar [Burma]”
},
{
“option”: “Namibia”
},
{
“option”: “Nauru”
},
{
“option”: “Nepal”
},
{
“option”: “Netherlands”
},
{
“option”: “New Caledonia”
},
{
“option”: “New Zealand”
},
{
“option”: “Nicaragua”
},
{
“option”: “Niger”
},
{
“option”: “Nigeria”
},
{
“option”: “Niue”
},
{
“option”: “Norfolk Island”
},
{
“option”: “North Macedonia”
},
{
“option”: “Northern Mariana Islands”
},
{
“option”: “Norway”
},
{
“option”: “Oman”
},
{
“option”: “Pakistan”
},
{
“option”: “Palau”
},
{
“option”: “Panama”
},
{
“option”: “Papua New Guinea”
},
{
“option”: “Paraguay”
},
{
“option”: “Peru”
},
{
“option”: “Philippines”
},
{
“option”: “Pitcairn [Pitcairn Islands]”
},
{
“option”: “Poland”
},
{
“option”: “Portugal”
},
{
“option”: “Puerto Rico”
},
{
“option”: “Qatar”
},
{
“option”: “Republic of Korea [South Korea]”
},
{
“option”: “Republic of Moldova”
},
{
“option”: “Réunion”
},
{
“option”: “Romania”
},
{
“option”: “Russian Federation”
},
{
“option”: “Rwanda”
},
{
“option”: “Saint Barthélemy”
},
{
“option”: “Saint Helena [Saint Helena, Ascension and Tristan da Cunha]”
},
{
“option”: “Saint Kitts and Nevis”
},
{
“option”: “Saint Lucia”
},
{
“option”: “Saint Martin (French part)”
},
{
“option”: “Saint Pierre and Miquelon”
},
{
“option”: “Saint Vincent and the Grenadines”
},
{
“option”: “Samoa”
},
{
“option”: “San Marino”
},
{
“option”: “Sao Tome and Principe”
},
{
“option”: “Saudi Arabia”
},
{
“option”: “Senegal”
},
{
“option”: “Serbia”
},
{
“option”: “Seychelles”
},
{
“option”: “Sierra Leone”
},
{
“option”: “Singapore”
},
{
“option”: “Sint Maarten (Dutch part)”
},
{
“option”: “Slovakia”
},
{
“option”: “Slovenia”
},
{
“option”: “Solomon Islands”
},
{
“option”: “Somalia”
},
{
“option”: “South Africa”
},
{
“option”: “South Georgia and the South Sandwich Islands”
},
{
“option”: “South Sudan”
},
{
“option”: “Spain”
},
{
“option”: “Sri Lanka”
},
{
“option”: “State of Palestine”
},
{
“option”: “Sudan”
},
{
“option”: “Suriname”
},
{
“option”: “Svalbard and Jan Mayen Islands”
},
{
“option”: “Sweden”
},
{
“option”: “Switzerland”
},
{
“option”: “Syrian Arab Republic”
},
{
“option”: “Tajikistan”
},
{
“option”: “Thailand”
},
{
“option”: “Timor-Leste [East Timor]”
},
{
“option”: “Togo”
},
{
“option”: “Tokelau”
},
{
“option”: “Tonga”
},
{
“option”: “Trinidad and Tobago”
},
{
“option”: “Tunisia”
},
{
“option”: “Türkiye”
},
{
“option”: “Turkmenistan”
},
{
“option”: “Turks and Caicos Islands”
},
{
“option”: “Tuvalu”
},
{
“option”: “Uganda”
},
{
“option”: “Ukraine”
},
{
“option”: “United Arab Emirates”
},
{
“option”: “United Kingdom of Great Britain and Northern Ireland”
},
{
“option”: “United Republic of Tanzania”
},
{
“option”: “United States Minor Outlying Islands”
},
{
“option”: “United States of America”
},
{
“option”: “United States Virgin Islands”
},
{
“option”: “Uruguay”
},
{
“option”: “Uzbekistan”
},
{
“option”: “Vanuatu”
},
{
“option”: “Venezuela (Bolivarian Republic of)”
},
{
“option”: “Viet Nam”
},
{
“option”: “Wallis and Futuna Islands”
},
{
“option”: “Yemen”
},
{
“option”: “Zambia”
},
{
“option”: “Zimbabwe”
}
]
},
“requiredField”: true
},
{
“fieldLabel”: “How did you hear about CSN?”,
“fieldType”: “dropdown”,
“fieldOptions”: {
“values”: [
{
“option”: “CSN Events”
},
{
“option”: “LinkedIn”
},
{
“option”: “Referral”
},
{
“option”: “Internet search”
},
{
“option”: “Other”
}
]
},
“requiredField”: true
},
{
“fieldLabel”: “Create a password”,
“fieldType”: “password”,
“requiredField”: true
}
]
},
“options”: {
“ignoreBots”: true
}
},
“type”: “n8n-nodes-base.formTrigger”,
“typeVersion”: 2.3,
“position”: [
-176,
-80
],
“id”: “8cc41e64-218a-42d8-983f-c02a88514010”,
“name”: “On form submission”,
“webhookId”: “8660aaa1-5f42-4801-902e-0c9f5ba7b8b2”,
“alwaysOutputData”: true
},
{
“parameters”: {
“list”: “3dffa54041”,
“email”: “={{ $json[‘Your email address (private email address preferred)’] }}”,
“status”: “subscribed”,
“options”: {},
“mergeFieldsUi”: {
“mergeFieldsValues”: [
{
“name”: “FNAME”,
“value”: “={{ $json[‘First Name’] }}”
},
{
“name”: “LNAME”,
“value”: “={{ $json[‘Last Name’] }}”
},
{
“name”: “COMPANY”,
“value”: “={{ $json[‘What company do you work for?’] }}”
},
{
“name”: “ROLE”,
“value”: “={{ $json[‘Your job title?’] }}”
},
{
“name”: “COUNTRY”,
“value”: “={{ $json.Country }}”
},
{
“name”: “REFEREE”,
“value”: “={{ $json[‘How did you hear about CSN?’] }}”
}
]
}
},
“type”: “n8n-nodes-base.mailchimp”,
“typeVersion”: 1,
“position”: [
448,
272
],
“id”: “8b72e681-be9e-4d50-a2a8-71b6da2e1a80”,
“name”: “Create a member”,
“credentials”: {
“mailchimpApi”: {
“id”: “08bJb1QOr4G9vX6U”,
“name”: “Mailchimp account”
}
}
},
{
“parameters”: {
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 2
},
“conditions”: [
{
“id”: “c6325009-1b2d-4810-a792-20baf030e820”,
“leftValue”: “={{ $json.id }}”,
“rightValue”: “”,
“operator”: {
“type”: “string”,
“operation”: “notEmpty”,
“singleValue”: true
}
}
],
“combinator”: “and”
},
“options”: {}
},
“type”: “n8n-nodes-base.if”,
“typeVersion”: 2.2,
“position”: [
656,
96
],
“id”: “3e0b4446-ef4a-4158-ae50-9ef26b44bc06”,
“name”: “If”,
“alwaysOutputData”: true
},
{
“parameters”: {
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 2
},
“conditions”: [
{
“id”: “bf000503-8eff-434d-896b-6e6b9012a4cd”,
“leftValue”: “={{ $json.data }}”,
“rightValue”: “”,
“operator”: {
“type”: “string”,
“operation”: “notEmpty”,
“singleValue”: true
}
}
],
“combinator”: “and”
},
“options”: {}
},
“type”: “n8n-nodes-base.if”,
“typeVersion”: 2.2,
“position”: [
656,
-416
],
“id”: “120cfa2a-5a00-4a11-aef1-40f61eb0893a”,
“name”: “If1”,
“alwaysOutputData”: true
},
{
“parameters”: {
“url”: “=https://api2-us-west-2.insided.com/user/email/{{ $json[‘Your email address (private email address preferred)’] }}”,
“authentication”: “genericCredentialType”,
“genericAuthType”: “oAuth2Api”,
“options”: {}
},
“type”: “n8n-nodes-base.httpRequest”,
“typeVersion”: 4.2,
“position”: [
448,
-416
],
“id”: “9b97e1ee-918d-44c1-a468-25cd44b7f7ae”,
“name”: “Check if user exists in Gainsight”,
“alwaysOutputData”: true,
“credentials”: {
“oAuth2Api”: {
“id”: “Z6mjqhRS85dCfwd6”,
“name”: “Gainsight”
}
},
“onError”: “continueRegularOutput”
},
{
“parameters”: {
“method”: “POST”,
“url”: “=https://api2-us-west-2.insided.com/user/register”,
“authentication”: “genericCredentialType”,
“genericAuthType”: “oAuth2Api”,
“sendHeaders”: true,
“headerParameters”: {
“parameters”: [
{
“name”: “Content-Type”,
“value”: “application/json”
}
]
},
“sendBody”: true,
“specifyBody”: “json”,
“jsonBody”: “{\n “data”: {\n “email”: “[email protected]”,\n “username”: “Christopher Geist”,\n “password”: “123456”,\n \n “user_role”: [\n “roles.registered”\n ],\n “profile_field”: {\n “9”: “Christopher”,\n “10”: “Geist”,\n “5”: “CSN”,\n “6”: “Operations Manager”,\n “11”: “spain”,\n “8”: “csn_events”\n }\n }\n}”,
“options”: {}
},
“type”: “n8n-nodes-base.httpRequest”,
“typeVersion”: 4.2,
“position”: [
1280,
-240
],
“id”: “f71ea78f-396f-4063-a19f-8cb4ba8dece4”,
“name”: “Create new user in Gainsight”,
“credentials”: {
“oAuth2Api”: {
“id”: “Z6mjqhRS85dCfwd6”,
“name”: “Gainsight”
}
}
},
{
“parameters”: {
“authentication”: “oAuth2”,
“operation”: “search”,
“returnAll”: true,
“filterGroupsUi”: {
“filterGroupsValues”: [
{
“filtersUi”: {
“filterValues”: [
{
“propertyName”: “email|string”,
“value”: “={{ $json[‘Your email address (private email address preferred)’] }}”
}
]
}
}
]
},
“additionalFields”: {}
},
“type”: “n8n-nodes-base.hubspot”,
“typeVersion”: 2.1,
“position”: [
448,
96
],
“id”: “d92545a0-646a-4384-a8e2-3e1593c13767”,
“name”: “Check if user exists in Hubspot”,
“alwaysOutputData”: true,
“credentials”: {
“hubspotOAuth2Api”: {
“id”: “JfZruXcI2Si2wLo5”,
“name”: “HubSpot account 2”
}
}
},
{
“parameters”: {
“authentication”: “oAuth2”,
“email”: “”,
“additionalFields”: {
“companyName”: “”,
“country”: “”,
“firstName”: “”,
“jobTitle”: “”,
“lastName”: “”
},
“options”: {
“resolveData”: false
}
},
“type”: “n8n-nodes-base.hubspot”,
“typeVersion”: 2.1,
“position”: [
912,
112
],
“id”: “0a9d2fca-9a29-4af8-a3cf-d6122f8a8ee2”,
“name”: “Create new user in Hubspot”,
“credentials”: {
“hubspotOAuth2Api”: {
“id”: “JfZruXcI2Si2wLo5”,
“name”: “HubSpot account 2”
}
}
},
{
“parameters”: {},
“type”: “n8n-nodes-base.merge”,
“typeVersion”: 3.2,
“position”: [
864,
-240
],
“id”: “224481d9-d4d5-4fb8-99c4-a83c89efe91f”,
“name”: “Merge”,
“alwaysOutputData”: true
},
{
“parameters”: {
“assignments”: {
“assignments”: [
{
“id”: “b73c7d43-b0ac-4216-8111-c23e8facace1”,
“name”: “Username”,
“value”: “={{ $json[‘First Name’] }} {{ $json[‘Last Name’] }}”,
“type”: “string”
}
]
},
“options”: {}
},
“type”: “n8n-nodes-base.set”,
“typeVersion”: 3.4,
“position”: [
1072,
-240
],
“id”: “049ca619-9429-4de2-9ecf-ee86e2e0f82b”,
“name”: “Edit Fields”,
“alwaysOutputData”: true
},
{
“parameters”: {
“jsCode”: “const items = $input.all();\nconst updatedItems = items.map((item) => {\n if (item?.json?.Country) {\n item.json.Country = item.json.Country.toLowerCase().replace(/\s/g, “");\n }\n if (item?.json[“How did you hear about CSN?”]) {\n item.json[“How did you hear about CSN?”] = item.json[\n “How did you hear about CSN?”\n ]\n .toLowerCase()\n .replace(/\s/g, "”);\n }\n return item;\n});\nreturn updatedItems;\n”
},
“type”: “n8n-nodes-base.code”,
“typeVersion”: 2,
“position”: [
448,
-224
],
“id”: “45ddced1-51c2-4f61-98e9-4a70d0276459”,
“name”: “Code2”
}
],
“connections”: {
“On form submission”: {
“main”: [
[
{
“node”: “Create a member”,
“type”: “main”,
“index”: 0
},
{
“node”: “Check if user exists in Gainsight”,
“type”: “main”,
“index”: 0
},
{
“node”: “Check if user exists in Hubspot”,
“type”: “main”,
“index”: 0
},
{
“node”: “Code2”,
“type”: “main”,
“index”: 0
}
]
]
},
“If”: {
“main”: [
,
[
{
“node”: “Create new user in Hubspot”,
“type”: “main”,
“index”: 0
}
]
]
},
“If1”: {
“main”: [
,
[
{
“node”: “Merge”,
“type”: “main”,
“index”: 0
}
]
]
},
“Check if user exists in Gainsight”: {
“main”: [
[
{
“node”: “If1”,
“type”: “main”,
“index”: 0
}
]
]
},
“Check if user exists in Hubspot”: {
“main”: [
[
{
“node”: “If”,
“type”: “main”,
“index”: 0
}
]
]
},
“Merge”: {
“main”: [
[
{
“node”: “Edit Fields”,
“type”: “main”,
“index”: 0
}
]
]
},
“Edit Fields”: {
“main”: [
[
{
“node”: “Create new user in Gainsight”,
“type”: “main”,
“index”: 0
}
]
]
},
“Code2”: {
“main”: [
[
{
“node”: “Merge”,
“type”: “main”,
“index”: 1
}
]
]
}
},
“pinData”: {
“On form submission”: [
{
“First Name”: “Christopher”,
“Last Name”: “Geist”,
“Your email address (private email address preferred)”: “[email protected]”,
“What company do you work for?”: “CSN”,
“Your job title?”: “OP”,
“Country”: “Spain”,
“How did you hear about CSN?”: “CSN Events”,
“Create a password”: “123456”,
“submittedAt”: “2025-09-16T09:41:05.119+02:00”,
“formMode”: “test”
}
]
},
“meta”: {
“instanceId”: “d02105d60f6c36bdc447f66ba6c5028686d311e171c366d247ee0ada985448a9”
}
}