feat: add folder support for workflows (fixes #70)
This commit is contained in:
61
workflows/Manual/0002_Manual_Totp_Automation_Triggered.json
Normal file
61
workflows/Manual/0002_Manual_Totp_Automation_Triggered.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"id": "0wfomsVO0TQtQkwU",
|
||||
"meta": {
|
||||
"instanceId": "2e75c9fb3cdcf631da470c0180f0739986baa0ee860de53281e9edc3491b82a3"
|
||||
},
|
||||
"name": "Complete Guide to Setting Up and Generating TOTP Codes in n8n 🔐",
|
||||
"tags": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "0fe95b9a-be2b-4022-829e-8b6c801e5baf",
|
||||
"name": "When clicking ‘Test workflow’",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
-280,
|
||||
-340
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "02fee6b5-7770-4889-b9bb-89bface8872d",
|
||||
"name": "TOTP",
|
||||
"type": "n8n-nodes-base.totp",
|
||||
"position": [
|
||||
-40,
|
||||
-340
|
||||
],
|
||||
"parameters": {
|
||||
"options": {}
|
||||
},
|
||||
"credentials": {
|
||||
"totpApi": {
|
||||
"id": "9487Zco8UqMQWnpf",
|
||||
"name": "TOTP account Mars55"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"pinData": {},
|
||||
"settings": {
|
||||
"timezone": "Asia/Tehran",
|
||||
"callerPolicy": "workflowsFromSameOwner",
|
||||
"executionOrder": "v1"
|
||||
},
|
||||
"versionId": "d7a5fff3-3fcd-45cd-ba06-564097567ff5",
|
||||
"connections": {
|
||||
"When clicking ‘Test workflow’": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "TOTP",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
255
workflows/Manual/0005_Manual_Twitter_Create_Triggered.json
Normal file
255
workflows/Manual/0005_Manual_Twitter_Create_Triggered.json
Normal file
@@ -0,0 +1,255 @@
|
||||
{
|
||||
"id": 1003,
|
||||
"name": "New tweets",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
240,
|
||||
260
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Twitter",
|
||||
"type": "n8n-nodes-base.twitter",
|
||||
"position": [
|
||||
520,
|
||||
160
|
||||
],
|
||||
"parameters": {
|
||||
"limit": 100,
|
||||
"operation": "search",
|
||||
"searchText": "verstappen",
|
||||
"additionalFields": {
|
||||
"resultType": "mixed"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set_AT_list",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
780,
|
||||
360
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"number": [
|
||||
{
|
||||
"name": "Likes",
|
||||
"value": "={{$node[\"Twitter\"].json[\"favorite_count\"] ? $node[\"Twitter\"].json[\"favorite_count\"] : 0 }}"
|
||||
}
|
||||
],
|
||||
"string": [
|
||||
{
|
||||
"name": "Tweet",
|
||||
"value": "={{$node[\"get airtable list\"].json[\"fields\"][\"Tweet\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "Tweet_id",
|
||||
"value": "={{$node[\"get airtable list\"].json[\"fields\"][\"Tweet_id\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "Tweet URL",
|
||||
"value": "={{$node[\"get airtable list\"].json[\"fields\"][\"Tweet URL\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "Author",
|
||||
"value": "={{$node[\"get airtable list\"].json[\"fields\"][\"Author\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "Time",
|
||||
"value": "={{$node[\"get airtable list\"].json[\"fields\"][\"Time\"]}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {
|
||||
"dotNotation": false
|
||||
},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "get airtable list",
|
||||
"type": "n8n-nodes-base.airtable",
|
||||
"position": [
|
||||
520,
|
||||
360
|
||||
],
|
||||
"parameters": {
|
||||
"table": "tbl6rexxFBodzKVoC",
|
||||
"operation": "list",
|
||||
"application": "app36P08S3Jzki6qJ",
|
||||
"additionalOptions": {}
|
||||
},
|
||||
"credentials": {
|
||||
"airtableApi": {
|
||||
"id": "2",
|
||||
"name": "airtable_api"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "set twitter data",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
780,
|
||||
160
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"number": [
|
||||
{
|
||||
"name": "Likes",
|
||||
"value": "={{$node[\"Twitter\"].json[\"favorite_count\"]}}"
|
||||
}
|
||||
],
|
||||
"string": [
|
||||
{
|
||||
"name": "Tweet",
|
||||
"value": "={{$node[\"Twitter\"].json[\"text\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "Tweet_id",
|
||||
"value": "={{$node[\"Twitter\"].json[\"id\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "Tweet URL",
|
||||
"value": "=https://twitter.com/{{$node[\"Twitter\"].json[\"user\"][\"screen_name\"]}}/status/{{$node[\"Twitter\"].json[\"id_str\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "Author",
|
||||
"value": "={{$node[\"Twitter\"].json[\"in_reply_to_screen_name\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "Time",
|
||||
"value": "={{$node[\"Twitter\"].json[\"created_at\"]}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {
|
||||
"dotNotation": false
|
||||
},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Leave only new tweets",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"position": [
|
||||
1060,
|
||||
260
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "removeKeyMatches",
|
||||
"propertyName1": "Tweet_id",
|
||||
"propertyName2": "Tweet_id"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Append new tweets to airtable",
|
||||
"type": "n8n-nodes-base.airtable",
|
||||
"position": [
|
||||
1300,
|
||||
260
|
||||
],
|
||||
"parameters": {
|
||||
"table": "tbl6rexxFBodzKVoC",
|
||||
"options": {},
|
||||
"operation": "append",
|
||||
"application": "app36P08S3Jzki6qJ",
|
||||
"addAllFields": "={{true}}"
|
||||
},
|
||||
"credentials": {
|
||||
"airtableApi": {
|
||||
"id": "2",
|
||||
"name": "airtable_api"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Twitter": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "set twitter data",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set_AT_list": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Leave only new tweets",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"set twitter data": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Leave only new tweets",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"get airtable list": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set_AT_list",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Leave only new tweets": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Append new tweets to airtable",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Twitter",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "get airtable list",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
47
workflows/Manual/0007_Manual_Todoist_Create_Triggered.json
Normal file
47
workflows/Manual/0007_Manual_Todoist_Create_Triggered.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"id": "100",
|
||||
"name": "Create a new task in Todoist",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
550,
|
||||
250
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Todoist",
|
||||
"type": "n8n-nodes-base.todoist",
|
||||
"position": [
|
||||
750,
|
||||
250
|
||||
],
|
||||
"parameters": {
|
||||
"content": "",
|
||||
"options": {}
|
||||
},
|
||||
"credentials": {
|
||||
"todoistApi": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Todoist",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
119
workflows/Manual/0011_Manual_Copper_Automate_Triggered.json
Normal file
119
workflows/Manual/0011_Manual_Copper_Automate_Triggered.json
Normal file
@@ -0,0 +1,119 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
320
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Copper",
|
||||
"type": "n8n-nodes-base.copper",
|
||||
"position": [
|
||||
450,
|
||||
320
|
||||
],
|
||||
"parameters": {
|
||||
"name": "Harshil",
|
||||
"resource": "person",
|
||||
"additionalFields": {
|
||||
"emails": {
|
||||
"emailFields": [
|
||||
{
|
||||
"email": "harshil@n8n.io",
|
||||
"category": "work"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"copperApi": "Copper API Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Copper1",
|
||||
"type": "n8n-nodes-base.copper",
|
||||
"position": [
|
||||
650,
|
||||
320
|
||||
],
|
||||
"parameters": {
|
||||
"personId": "={{$json[\"id\"]}}",
|
||||
"resource": "person",
|
||||
"operation": "update",
|
||||
"updateFields": {
|
||||
"phone_numbers": {
|
||||
"phoneFields": [
|
||||
{
|
||||
"number": "1234567890",
|
||||
"category": "work"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"copperApi": "Copper API Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Copper2",
|
||||
"type": "n8n-nodes-base.copper",
|
||||
"position": [
|
||||
850,
|
||||
320
|
||||
],
|
||||
"parameters": {
|
||||
"personId": "={{$json[\"id\"]}}",
|
||||
"resource": "person",
|
||||
"operation": "get"
|
||||
},
|
||||
"credentials": {
|
||||
"copperApi": "Copper API Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Copper": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Copper1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Copper1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Copper2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Copper",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
119
workflows/Manual/0012_Manual_Copper_Automate_Triggered.json
Normal file
119
workflows/Manual/0012_Manual_Copper_Automate_Triggered.json
Normal file
@@ -0,0 +1,119 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
320
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Copper",
|
||||
"type": "n8n-nodes-base.copper",
|
||||
"position": [
|
||||
450,
|
||||
320
|
||||
],
|
||||
"parameters": {
|
||||
"name": "Harshil",
|
||||
"resource": "person",
|
||||
"additionalFields": {
|
||||
"emails": {
|
||||
"emailFields": [
|
||||
{
|
||||
"email": "harshil@n8n.io",
|
||||
"category": "work"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"copperApi": "Copper API Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Copper1",
|
||||
"type": "n8n-nodes-base.copper",
|
||||
"position": [
|
||||
650,
|
||||
320
|
||||
],
|
||||
"parameters": {
|
||||
"personId": "={{$json[\"id\"]}}",
|
||||
"resource": "person",
|
||||
"operation": "update",
|
||||
"updateFields": {
|
||||
"phone_numbers": {
|
||||
"phoneFields": [
|
||||
{
|
||||
"number": "1234567890",
|
||||
"category": "work"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"copperApi": "Copper API Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Copper2",
|
||||
"type": "n8n-nodes-base.copper",
|
||||
"position": [
|
||||
850,
|
||||
320
|
||||
],
|
||||
"parameters": {
|
||||
"personId": "={{$json[\"id\"]}}",
|
||||
"resource": "person",
|
||||
"operation": "get"
|
||||
},
|
||||
"credentials": {
|
||||
"copperApi": "Copper API Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Copper": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Copper1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Copper1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Copper2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Copper",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
104
workflows/Manual/0013_Manual_Noop_Import_Triggered.json
Normal file
104
workflows/Manual/0013_Manual_Noop_Import_Triggered.json
Normal file
@@ -0,0 +1,104 @@
|
||||
{
|
||||
"id": "1028",
|
||||
"name": "Loading data into a spreadsheet",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
160,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
650,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "Name",
|
||||
"value": "={{$json[\"properties\"][\"firstname\"][\"value\"]}} {{$json[\"properties\"][\"lastname\"][\"value\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "Email",
|
||||
"value": "={{$json[\"identity-profiles\"][0][\"identities\"][0][\"value\"]}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Mock data (CRM Contacts)",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"notes": "\"Get contacts\" data from Hubspot node. ",
|
||||
"position": [
|
||||
400,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "var newItems = [];\nnewItems.push({json:{\n \"addedAt\": 1606827045601,\n \"vid\": 1,\n \"canonical-vid\": 1,\n \"merged-vids\": [],\n \"portal-id\": 8924380,\n \"is-contact\": true,\n \"profile-token\": \"AO_T-mMZqmgHPI5CLLlw2qE24AlgWOJUL0LdMb2CegxeMzQK1LXyh7iZAgjNd-00ZdPAfnFU9Lv_7nq6qlrKvfAh8hr_cw-VBH1RCCMgHHYQ06DOXoIGAlViWmMKY-0lF9dv7lBVOMf5\",\n \"profile-url\": \"https://app.hubspot.com/contacts/8924380/contact/1\",\n \"properties\": {\n \"firstname\": {\n \"value\": \"Maria\"\n },\n \"lastmodifieddate\": {\n \"value\": \"1606827057310\"\n },\n \"company\": {\n \"value\": \"HubSpot\"\n },\n \"lastname\": {\n \"value\": \"Johnson (Sample Contact)\"\n }\n },\n \"form-submissions\": [],\n \"identity-profiles\": [\n {\n \"vid\": 1,\n \"saved-at-timestamp\": 1606827045478,\n \"deleted-changed-timestamp\": 0,\n \"identities\": [\n {\n \"type\": \"EMAIL\",\n \"value\": \"emailmaria@hubspot.com\",\n \"timestamp\": 1606827045444,\n \"is-primary\": true\n },\n {\n \"type\": \"LEAD_GUID\",\n \"value\": \"cfa8b21f-164e-4c9a-aab1-1235c81a7d26\",\n \"timestamp\": 1606827045475\n }\n ]\n }\n ],\n \"merge-audits\": []\n }});\nnewItems.push({json:{\n \"addedAt\": 1606827045834,\n \"vid\": 51,\n \"canonical-vid\": 51,\n \"merged-vids\": [],\n \"portal-id\": 8924380,\n \"is-contact\": true,\n \"profile-token\": \"AO_T-mMX1jbZjaachMJ8t1F2yRdvyAvsir5RMvooW7XjbPZTdAv8hc24U0Rnc_PDF1gp1qmc8Tg2hDytOaRXRiWVyg-Eg8rbPFEiXNdU6jfMneow46tsSiQH1yyRf03mMi5ALZXMVfyA\",\n \"profile-url\": \"https://app.hubspot.com/contacts/8924380/contact/51\",\n \"properties\": {\n \"firstname\": {\n \"value\": \"Brian\"\n },\n \"lastmodifieddate\": {\n \"value\": \"1606827060106\"\n },\n \"company\": {\n \"value\": \"HubSpot\"\n },\n \"lastname\": {\n \"value\": \"Halligan (Sample Contact)\"\n }\n },\n \"form-submissions\": [],\n \"identity-profiles\": [\n {\n \"vid\": 51,\n \"saved-at-timestamp\": 1606827045720,\n \"deleted-changed-timestamp\": 0,\n \"identities\": [\n {\n \"type\": \"EMAIL\",\n \"value\": \"bh@hubspot.com\",\n \"timestamp\": 1606827045444,\n \"is-primary\": true\n },\n {\n \"type\": \"LEAD_GUID\",\n \"value\": \"d3749acc-06e1-4511-84fd-7b0d847f6eff\",\n \"timestamp\": 1606827045717\n }\n ]\n }\n ],\n \"merge-audits\": []\n } });\nreturn newItems;"
|
||||
},
|
||||
"notesInFlow": true,
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Replace me",
|
||||
"type": "n8n-nodes-base.noOp",
|
||||
"notes": "Google Sheet/ Airtable/ Database with an \"append\" or \"Add row\" operation",
|
||||
"position": [
|
||||
910,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"notesInFlow": true,
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Set": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Replace me",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Mock data (CRM Contacts)",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Mock data (CRM Contacts)": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
87
workflows/Manual/0014_Manual_Coda_Create_Triggered.json
Normal file
87
workflows/Manual/0014_Manual_Coda_Create_Triggered.json
Normal file
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"id": "102",
|
||||
"name": "Insert data into a new row for a table in Coda",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Coda",
|
||||
"type": "n8n-nodes-base.coda",
|
||||
"position": [
|
||||
650,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"docId": "",
|
||||
"options": {},
|
||||
"tableId": ""
|
||||
},
|
||||
"credentials": {
|
||||
"codaApi": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "Column 1",
|
||||
"value": "This is column 1 data"
|
||||
},
|
||||
{
|
||||
"name": "Column 2",
|
||||
"value": "This is column 2 data"
|
||||
},
|
||||
{
|
||||
"name": "Column 3",
|
||||
"value": "This is column 3 data"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Set": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Coda",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
270,
|
||||
280
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Google Slides",
|
||||
"type": "n8n-nodes-base.googleSlides",
|
||||
"position": [
|
||||
470,
|
||||
280
|
||||
],
|
||||
"parameters": {
|
||||
"operation": "getSlides",
|
||||
"returnAll": true,
|
||||
"authentication": "oAuth2",
|
||||
"presentationId": "11myCBTn3IT-Iww01WMz43L7HUmQdL6cCR6NCtpsZer0"
|
||||
},
|
||||
"credentials": {
|
||||
"googleSlidesOAuth2Api": "Google Slides Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Google Slides1",
|
||||
"type": "n8n-nodes-base.googleSlides",
|
||||
"position": [
|
||||
670,
|
||||
280
|
||||
],
|
||||
"parameters": {
|
||||
"download": true,
|
||||
"resource": "page",
|
||||
"operation": "getThumbnail",
|
||||
"pageObjectId": "={{$json[\"objectId\"]}}",
|
||||
"authentication": "oAuth2",
|
||||
"presentationId": "={{$node[\"Google Slides\"].parameter[\"presentationId\"]}}"
|
||||
},
|
||||
"credentials": {
|
||||
"googleSlidesOAuth2Api": "Google Slides Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Google Slides": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Google Slides1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Google Slides",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
50
workflows/Manual/0018_Manual_Chargebee_Create_Triggered.json
Normal file
50
workflows/Manual/0018_Manual_Chargebee_Create_Triggered.json
Normal file
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"id": "103",
|
||||
"name": "Create a new customer in Chargebee",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Chargebee",
|
||||
"type": "n8n-nodes-base.chargebee",
|
||||
"position": [
|
||||
460,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"resource": "customer",
|
||||
"properties": {
|
||||
"last_name": "",
|
||||
"first_name": ""
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"chargebeeApi": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Chargebee",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
101
workflows/Manual/0019_Manual_Uproc_Send_Triggered.json
Normal file
101
workflows/Manual/0019_Manual_Uproc_Send_Triggered.json
Normal file
@@ -0,0 +1,101 @@
|
||||
{
|
||||
"id": "103",
|
||||
"name": "verify email",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
440,
|
||||
510
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Create Email Item",
|
||||
"type": "n8n-nodes-base.functionItem",
|
||||
"position": [
|
||||
640,
|
||||
510
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "item.email = \"mcolomer@gmail.com\";\nreturn item;"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Check Email Exists",
|
||||
"type": "n8n-nodes-base.uproc",
|
||||
"position": [
|
||||
850,
|
||||
510
|
||||
],
|
||||
"parameters": {
|
||||
"tool": "checkEmailExists",
|
||||
"email": "={{$node[\"Create Email Item\"].json[\"email\"]}}",
|
||||
"additionalOptions": {}
|
||||
},
|
||||
"credentials": {
|
||||
"uprocApi": "miquel-uproc"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Email Exists?",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
1050,
|
||||
510
|
||||
],
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$node[\"Check Email Exists\"].json[\"message\"][\"response\"]}}",
|
||||
"value2": "deliverable"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Create Email Item": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Check Email Exists",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Check Email Exists": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Email Exists?",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Create Email Item",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
145
workflows/Manual/0022_Manual_Webflow_Automate_Triggered.json
Normal file
145
workflows/Manual/0022_Manual_Webflow_Automate_Triggered.json
Normal file
@@ -0,0 +1,145 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
200
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Webflow",
|
||||
"type": "n8n-nodes-base.webflow",
|
||||
"position": [
|
||||
450,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"siteId": "601788abebf7aa35c1b038a1",
|
||||
"fieldsUi": {
|
||||
"fieldValues": [
|
||||
{
|
||||
"fieldId": "name",
|
||||
"fieldValue": "n8n"
|
||||
},
|
||||
{
|
||||
"fieldId": "slug",
|
||||
"fieldValue": "n8n"
|
||||
},
|
||||
{
|
||||
"fieldId": "_archived",
|
||||
"fieldValue": "false"
|
||||
},
|
||||
{
|
||||
"fieldId": "_draft",
|
||||
"fieldValue": "false"
|
||||
}
|
||||
]
|
||||
},
|
||||
"operation": "create",
|
||||
"collectionId": "601788ab33a62ac6a2a0284c"
|
||||
},
|
||||
"credentials": {
|
||||
"webflowApi": "Webflow Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Webflow2",
|
||||
"type": "n8n-nodes-base.webflow",
|
||||
"position": [
|
||||
650,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"itemId": "={{$json[\"_id\"]}}",
|
||||
"siteId": "601788abebf7aa35c1b038a1",
|
||||
"fieldsUi": {
|
||||
"fieldValues": [
|
||||
{
|
||||
"fieldId": "name",
|
||||
"fieldValue": "={{$json[\"name\"]}}"
|
||||
},
|
||||
{
|
||||
"fieldId": "slug",
|
||||
"fieldValue": "={{$json[\"slug\"]}}"
|
||||
},
|
||||
{
|
||||
"fieldId": "_archived",
|
||||
"fieldValue": "={{$json[\"_archived\"]}}"
|
||||
},
|
||||
{
|
||||
"fieldId": "_draft",
|
||||
"fieldValue": "={{$json[\"_draft\"]}}"
|
||||
},
|
||||
{
|
||||
"fieldId": "avatar",
|
||||
"fieldValue": "https://n8n.io/n8n-logo.png"
|
||||
}
|
||||
]
|
||||
},
|
||||
"operation": "update",
|
||||
"collectionId": "601788ab33a62ac6a2a0284c"
|
||||
},
|
||||
"credentials": {
|
||||
"webflowApi": "Webflow Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Webflow1",
|
||||
"type": "n8n-nodes-base.webflow",
|
||||
"position": [
|
||||
850,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"itemId": "={{$json[\"_id\"]}}",
|
||||
"siteId": "601788abebf7aa35c1b038a1",
|
||||
"collectionId": "601788ab33a62ac6a2a0284c"
|
||||
},
|
||||
"credentials": {
|
||||
"webflowApi": "Webflow Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Webflow": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Webflow2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Webflow2": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Webflow1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Webflow",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
48
workflows/Manual/0024_Manual_Clearbit_Send_Triggered.json
Normal file
48
workflows/Manual/0024_Manual_Clearbit_Send_Triggered.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"id": "104",
|
||||
"name": "Look up a person using their email in Clearbit",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Clearbit",
|
||||
"type": "n8n-nodes-base.clearbit",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"email": "",
|
||||
"resource": "person",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"clearbitApi": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Clearbit",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
162
workflows/Manual/0025_Manual_Uproc_Automation_Triggered.json
Normal file
162
workflows/Manual/0025_Manual_Uproc_Automation_Triggered.json
Normal file
@@ -0,0 +1,162 @@
|
||||
{
|
||||
"id": "104",
|
||||
"name": "location_by_ip",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
440,
|
||||
510
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Get Location By IP",
|
||||
"type": "n8n-nodes-base.uproc",
|
||||
"position": [
|
||||
850,
|
||||
510
|
||||
],
|
||||
"parameters": {
|
||||
"ip": "={{$node[\"Create IP and Email Item\"].json[\"ip\"]}}",
|
||||
"tool": "getLocationByIp",
|
||||
"group": "geographic",
|
||||
"additionalOptions": {}
|
||||
},
|
||||
"credentials": {
|
||||
"uprocApi": "miquel-uproc"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "User in Spain?",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
1050,
|
||||
510
|
||||
],
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$node[\"Get Location By IP\"].json[\"message\"][\"country_code\"]}}",
|
||||
"value2": "ES"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Create IP and Email Item",
|
||||
"type": "n8n-nodes-base.functionItem",
|
||||
"position": [
|
||||
640,
|
||||
510
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "item.ip = \"83.46.131.46\";\nitem.email = \"miquel@uproc.io\";\n\nreturn item;"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Send English Email",
|
||||
"type": "n8n-nodes-base.awsSes",
|
||||
"position": [
|
||||
1270,
|
||||
650
|
||||
],
|
||||
"parameters": {
|
||||
"body": "Hi,\n\nThank you for your signup!",
|
||||
"subject": "Welcome aboard",
|
||||
"fromEmail": "sample@uproc.io",
|
||||
"toAddresses": [
|
||||
"={{$node[\"Create IP and Email Item\"].json[\"email\"]}}"
|
||||
],
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"aws": "ses"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Send Spanish Email",
|
||||
"type": "n8n-nodes-base.awsSes",
|
||||
"position": [
|
||||
1270,
|
||||
420
|
||||
],
|
||||
"parameters": {
|
||||
"body": "Hola,\n\n¡Gracias por registrarte!",
|
||||
"subject": "Bienvenido a bordo",
|
||||
"fromEmail": "sample@uproc.io",
|
||||
"toAddresses": [
|
||||
"={{$node[\"Create IP and Email Item\"].json[\"email\"]}}"
|
||||
],
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"aws": "ses"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"User in Spain?": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Send Spanish Email",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"node": "Send English Email",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Get Location By IP": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "User in Spain?",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Create IP and Email Item",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Create IP and Email Item": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Get Location By IP",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
145
workflows/Manual/0029_Manual_Orbit_Create_Triggered.json
Normal file
145
workflows/Manual/0029_Manual_Orbit_Create_Triggered.json
Normal file
@@ -0,0 +1,145 @@
|
||||
{
|
||||
"id": "105",
|
||||
"name": "Create a new member, update the information of the member, create a note and a post for the member in Orbit",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Orbit",
|
||||
"type": "n8n-nodes-base.orbit",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"operation": "upsert",
|
||||
"identityUi": {
|
||||
"identityValue": {
|
||||
"source": "github",
|
||||
"searchBy": "username",
|
||||
"username": ""
|
||||
}
|
||||
},
|
||||
"workspaceId": "425",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"orbitApi": "orbit-review"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Orbit1",
|
||||
"type": "n8n-nodes-base.orbit",
|
||||
"position": [
|
||||
650,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"memberId": "={{$node[\"Orbit\"].json[\"id\"]}}",
|
||||
"operation": "update",
|
||||
"workspaceId": "={{$node[\"Orbit\"].parameter[\"workspaceId\"]}}",
|
||||
"updateFields": {
|
||||
"tagsToAdd": ""
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"orbitApi": "orbit-review"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Orbit2",
|
||||
"type": "n8n-nodes-base.orbit",
|
||||
"position": [
|
||||
850,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"note": "",
|
||||
"memberId": "={{$node[\"Orbit\"].json[\"id\"]}}",
|
||||
"resource": "note",
|
||||
"workspaceId": "={{$node[\"Orbit\"].parameter[\"workspaceId\"]}}"
|
||||
},
|
||||
"credentials": {
|
||||
"orbitApi": "orbit-review"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Orbit3",
|
||||
"type": "n8n-nodes-base.orbit",
|
||||
"position": [
|
||||
1050,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://medium.com/n8n-io/sending-sms-the-low-code-way-with-airtable-twilio-programmable-sms-and-n8n-90dbde74223e",
|
||||
"memberId": "={{$node[\"Orbit\"].json[\"id\"]}}",
|
||||
"resource": "post",
|
||||
"workspaceId": "={{$node[\"Orbit\"].parameter[\"workspaceId\"]}}",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"orbitApi": "orbit-review"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Orbit": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Orbit1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Orbit1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Orbit2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Orbit2": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Orbit3",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Orbit",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
51
workflows/Manual/0030_Manual_Clickup_Create_Triggered.json
Normal file
51
workflows/Manual/0030_Manual_Clickup_Create_Triggered.json
Normal file
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"id": "105",
|
||||
"name": "Create a task in ClickUp",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "ClickUp",
|
||||
"type": "n8n-nodes-base.clickUp",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"list": "",
|
||||
"name": "",
|
||||
"team": "",
|
||||
"space": "",
|
||||
"folder": "",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"clickUpApi": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "ClickUp",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
147
workflows/Manual/0032_Manual_Filemaker_Automate_Triggered.json
Normal file
147
workflows/Manual/0032_Manual_Filemaker_Automate_Triggered.json
Normal file
@@ -0,0 +1,147 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "FileMaker",
|
||||
"type": "n8n-nodes-base.filemaker",
|
||||
"position": [
|
||||
450,
|
||||
320
|
||||
],
|
||||
"parameters": {
|
||||
"action": "create",
|
||||
"layout": "My Form Layout",
|
||||
"fieldsParametersUi": {
|
||||
"fields": [
|
||||
{
|
||||
"name": "first_name",
|
||||
"value": "Harshil"
|
||||
},
|
||||
{
|
||||
"name": "last_name",
|
||||
"value": "Agrawal"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"fileMaker": "FileMaker API Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
320
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "FileMaker",
|
||||
"type": "n8n-nodes-base.filemaker",
|
||||
"position": [
|
||||
450,
|
||||
320
|
||||
],
|
||||
"parameters": {
|
||||
"action": "create",
|
||||
"layout": "My Form Layout",
|
||||
"fieldsParametersUi": {
|
||||
"fields": [
|
||||
{
|
||||
"name": "first_name",
|
||||
"value": "Harshil"
|
||||
},
|
||||
{
|
||||
"name": "last_name",
|
||||
"value": "Agrawal"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"fileMaker": "FileMaker API Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "FileMaker2",
|
||||
"type": "n8n-nodes-base.filemaker",
|
||||
"position": [
|
||||
650,
|
||||
320
|
||||
],
|
||||
"parameters": {
|
||||
"modId": "={{$json[\"response\"][\"modId\"]}}",
|
||||
"recid": "={{$json[\"response\"][\"recordId\"]}}",
|
||||
"action": "edit",
|
||||
"layout": "My Form Layout",
|
||||
"fieldsParametersUi": {
|
||||
"fields": [
|
||||
{
|
||||
"name": "address_country",
|
||||
"value": "Germany"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"fileMaker": "FileMaker API Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "FileMaker3",
|
||||
"type": "n8n-nodes-base.filemaker",
|
||||
"position": [
|
||||
850,
|
||||
320
|
||||
],
|
||||
"parameters": {
|
||||
"recid": "={{$node[\"FileMaker\"].json[\"response\"][\"recordId\"]}}",
|
||||
"layout": "My Form Layout"
|
||||
},
|
||||
"credentials": {
|
||||
"fileMaker": "FileMaker API Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"FileMaker": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "FileMaker2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"FileMaker2": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "FileMaker3",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "FileMaker",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
107
workflows/Manual/0037_Manual_Googlebooks_Create_Triggered.json
Normal file
107
workflows/Manual/0037_Manual_Googlebooks_Create_Triggered.json
Normal file
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"id": "107",
|
||||
"name": "Get a volume and add it to your bookshelf",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
260,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Google Books",
|
||||
"type": "n8n-nodes-base.googleBooks",
|
||||
"position": [
|
||||
460,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"resource": "volume",
|
||||
"volumeId": "XxUJ2U2FXtYC",
|
||||
"authentication": "oAuth2"
|
||||
},
|
||||
"credentials": {
|
||||
"googleBooksOAuth2Api": "google-books"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Google Books1",
|
||||
"type": "n8n-nodes-base.googleBooks",
|
||||
"position": [
|
||||
660,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"shelfId": "2",
|
||||
"resource": "bookshelfVolume",
|
||||
"volumeId": "={{$node[\"Google Books\"].json[\"id\"]}}",
|
||||
"operation": "add",
|
||||
"authentication": "oAuth2"
|
||||
},
|
||||
"credentials": {
|
||||
"googleBooksOAuth2Api": "google-books"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Google Books2",
|
||||
"type": "n8n-nodes-base.googleBooks",
|
||||
"position": [
|
||||
860,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"shelfId": "={{$node[\"Google Books1\"].parameter[\"shelfId\"]}}",
|
||||
"resource": "bookshelfVolume",
|
||||
"myLibrary": true,
|
||||
"authentication": "oAuth2"
|
||||
},
|
||||
"credentials": {
|
||||
"googleBooksOAuth2Api": "google-books"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Google Books": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Google Books1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Google Books1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Google Books2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Google Books",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
71
workflows/Manual/0038_Manual_Ical_Send_Triggered.json
Normal file
71
workflows/Manual/0038_Manual_Ical_Send_Triggered.json
Normal file
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
350,
|
||||
200
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "iCalendar",
|
||||
"type": "n8n-nodes-base.iCal",
|
||||
"position": [
|
||||
550,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"end": "2021-06-11T16:15:00.000Z",
|
||||
"start": "2021-06-11T15:30:00.000Z",
|
||||
"title": "n8n Community Meetup",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Send Email",
|
||||
"type": "n8n-nodes-base.emailSend",
|
||||
"position": [
|
||||
750,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"text": "Hey Harshil,\n\nWe are excited to invite you to the n8n community meetup!\n\nWith this email you will find the invite attached.\n\nLooking forward to seeing you at the meetup!\n\nCheers,\nHarshil",
|
||||
"options": {},
|
||||
"subject": "n8n Community Meetup 🚀",
|
||||
"attachments": "data"
|
||||
},
|
||||
"credentials": {
|
||||
"smtp": "Outlook Burner Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"iCalendar": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Send Email",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "iCalendar",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
130
workflows/Manual/0045_Manual_Telegram_Import_Triggered.json
Normal file
130
workflows/Manual/0045_Manual_Telegram_Import_Triggered.json
Normal file
@@ -0,0 +1,130 @@
|
||||
{
|
||||
"id": "110",
|
||||
"name": "Get SSL Certificate",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
240,
|
||||
290
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Create Domain Item",
|
||||
"type": "n8n-nodes-base.functionItem",
|
||||
"position": [
|
||||
450,
|
||||
290
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "item.domain = \"n8n.io\";\nreturn item;"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Get SSL Certificate",
|
||||
"type": "n8n-nodes-base.uproc",
|
||||
"position": [
|
||||
650,
|
||||
290
|
||||
],
|
||||
"parameters": {
|
||||
"tool": "getDomainCertificate",
|
||||
"group": "internet",
|
||||
"domain": "= {{$node[\"Create Domain Item\"].json[\"domain\"]}}",
|
||||
"additionalOptions": {}
|
||||
},
|
||||
"credentials": {
|
||||
"uprocApi": "miquel-uproc"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Send Expired Alarm",
|
||||
"type": "n8n-nodes-base.telegram",
|
||||
"position": [
|
||||
1070,
|
||||
270
|
||||
],
|
||||
"parameters": {
|
||||
"text": "=The certificate of the domain {{$node[\"Create Domain Item\"].json[\"domain\"]}} has expired!",
|
||||
"chatId": "-1415703867",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"telegramApi": "test killia bot"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Certificate has expired?",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
840,
|
||||
290
|
||||
],
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$node[\"Get SSL Certificate\"].json[\"message\"][\"valid\"]+\"\"}}",
|
||||
"value2": "false"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Create Domain Item": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Get SSL Certificate",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Get SSL Certificate": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Certificate has expired?",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Create Domain Item",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Certificate has expired?": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Send Expired Alarm",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
81
workflows/Manual/0046_Manual_Storyblok_Import_Triggered.json
Normal file
81
workflows/Manual/0046_Manual_Storyblok_Import_Triggered.json
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"id": "110",
|
||||
"name": "Get all the stories starting with `release` and publish them",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Storyblok",
|
||||
"type": "n8n-nodes-base.storyblok",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"space": 96940,
|
||||
"source": "managementApi",
|
||||
"filters": {
|
||||
"starts_with": "release"
|
||||
},
|
||||
"operation": "getAll"
|
||||
},
|
||||
"credentials": {
|
||||
"storyblokManagementApi": "storyblok-tanay"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Storyblok1",
|
||||
"type": "n8n-nodes-base.storyblok",
|
||||
"position": [
|
||||
650,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"space": "={{$node[\"Storyblok\"].parameter[\"space\"]}}",
|
||||
"source": "managementApi",
|
||||
"options": {},
|
||||
"storyId": "={{$node[\"Storyblok\"].json[\"id\"]}}",
|
||||
"operation": "publish"
|
||||
},
|
||||
"credentials": {
|
||||
"storyblokManagementApi": "storyblok-tanay"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Storyblok": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Storyblok1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Storyblok",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
74
workflows/Manual/0049_Manual_Awss3_Automate_Triggered.json
Normal file
74
workflows/Manual/0049_Manual_Awss3_Automate_Triggered.json
Normal file
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
190,
|
||||
160
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "AWS Transcribe",
|
||||
"type": "n8n-nodes-base.awsTranscribe",
|
||||
"position": [
|
||||
590,
|
||||
160
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"mediaFileUri": "=s3://{{$node[\"AWS S3\"].parameter[\"bucketName\"]}}/{{$json[\"Key\"]}}",
|
||||
"detectLanguage": true,
|
||||
"transcriptionJobName": "={{$json[\"Key\"].replace(/\\s/g,'-')}}"
|
||||
},
|
||||
"credentials": {
|
||||
"aws": "AWS Transcribe Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "AWS S3",
|
||||
"type": "n8n-nodes-base.awsS3",
|
||||
"position": [
|
||||
390,
|
||||
160
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"operation": "getAll",
|
||||
"returnAll": true,
|
||||
"bucketName": "n8n-docs"
|
||||
},
|
||||
"credentials": {
|
||||
"aws": "AWS S3 Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"AWS S3": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "AWS Transcribe",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "AWS S3",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
200
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Microsoft To Do",
|
||||
"type": "n8n-nodes-base.microsoftToDo",
|
||||
"position": [
|
||||
450,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"title": "Document Microsoft To Do node",
|
||||
"operation": "create",
|
||||
"taskListId": "AQMkADAwATNiZmYAZC0zOTkAMy02ZWZjLTAwAi0wMAoALgAAA3i1fHMTrftIhQBzhywL64UBAFB0wRiJW1FJmmlvlAkVFQA-AAACARIAAAA=",
|
||||
"additionalFields": {
|
||||
"importance": "high"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"microsoftToDoOAuth2Api": "Microsoft OAuth Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Microsoft To Do1",
|
||||
"type": "n8n-nodes-base.microsoftToDo",
|
||||
"position": [
|
||||
650,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"taskId": "={{$json[\"id\"]}}",
|
||||
"operation": "update",
|
||||
"taskListId": "={{$node[\"Microsoft To Do\"].parameter[\"taskListId\"]}}",
|
||||
"updateFields": {
|
||||
"status": "inProgress"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"microsoftToDoOAuth2Api": "Microsoft OAuth Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Microsoft To Do2",
|
||||
"type": "n8n-nodes-base.microsoftToDo",
|
||||
"position": [
|
||||
850,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"taskId": "={{$json[\"id\"]}}",
|
||||
"taskListId": "={{$node[\"Microsoft To Do\"].parameter[\"taskListId\"]}}"
|
||||
},
|
||||
"credentials": {
|
||||
"microsoftToDoOAuth2Api": "Microsoft OAuth Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Microsoft To Do": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Microsoft To Do1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Microsoft To Do1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Microsoft To Do2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Microsoft To Do",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
116
workflows/Manual/0052_Manual_Git_Automate_Triggered.json
Normal file
116
workflows/Manual/0052_Manual_Git_Automate_Triggered.json
Normal file
@@ -0,0 +1,116 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
230,
|
||||
320
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Git",
|
||||
"type": "n8n-nodes-base.git",
|
||||
"position": [
|
||||
430,
|
||||
320
|
||||
],
|
||||
"parameters": {
|
||||
"operation": "add",
|
||||
"pathsToAdd": "README.md"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Git1",
|
||||
"type": "n8n-nodes-base.git",
|
||||
"position": [
|
||||
630,
|
||||
320
|
||||
],
|
||||
"parameters": {
|
||||
"message": "✨ First commit from n8n",
|
||||
"options": {},
|
||||
"operation": "commit",
|
||||
"repositoryPath": "={{$node[\"Git\"].parameter[\"repositoryPath\"]}}"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Git2",
|
||||
"type": "n8n-nodes-base.git",
|
||||
"position": [
|
||||
830,
|
||||
320
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"repositoryPath": "={{$node[\"Git\"].parameter[\"repositoryPath\"]}}"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Git3",
|
||||
"type": "n8n-nodes-base.git",
|
||||
"position": [
|
||||
1030,
|
||||
320
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"operation": "push",
|
||||
"repositoryPath": "={{$node[\"Git\"].parameter[\"repositoryPath\"]}}"
|
||||
},
|
||||
"executeOnce": false,
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Git": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Git1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Git1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Git2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Git2": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Git3",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Git",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,118 @@
|
||||
{
|
||||
"id": 111,
|
||||
"name": "Standup Bot - Initialize",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
240,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Write Binary File",
|
||||
"type": "n8n-nodes-base.writeBinaryFile",
|
||||
"position": [
|
||||
880,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"fileName": "/home/node/.n8n/standup-bot-config.json"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Move Binary Data",
|
||||
"type": "n8n-nodes-base.moveBinaryData",
|
||||
"position": [
|
||||
660,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "jsonToBinary",
|
||||
"options": {
|
||||
"encoding": "utf8",
|
||||
"fileName": "standup-bot-config.json"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Use Default Config",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
440,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "config.slashCmdToken",
|
||||
"value": "xxxxx"
|
||||
},
|
||||
{
|
||||
"name": "config.mattermostBaseUrl",
|
||||
"value": "https://mattermost.yourdomain.tld"
|
||||
},
|
||||
{
|
||||
"name": "config.botUserToken",
|
||||
"value": "xxxxx"
|
||||
},
|
||||
{
|
||||
"name": "config.n8nWebhookUrl",
|
||||
"value": "https://n8n.yourdomain.tld/webhook/standup-bot/action/f6f9b174745fa4651f750c36957d674c"
|
||||
},
|
||||
{
|
||||
"name": "config.botUserId",
|
||||
"value": "xxxxx"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Move Binary Data": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Write Binary File",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Use Default Config": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Move Binary Data",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Use Default Config",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
105
workflows/Manual/0056_Manual_Uproc_Import_Triggered.json
Normal file
105
workflows/Manual/0056_Manual_Uproc_Import_Triggered.json
Normal file
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"id": "112",
|
||||
"name": "Get Company by Name",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
440,
|
||||
510
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Create Company Item",
|
||||
"type": "n8n-nodes-base.functionItem",
|
||||
"position": [
|
||||
640,
|
||||
510
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "item.company = \"Killia technologies\";\nitem.country = \"Spain\";\n\nreturn item;"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Get Company by Name",
|
||||
"type": "n8n-nodes-base.uproc",
|
||||
"position": [
|
||||
850,
|
||||
510
|
||||
],
|
||||
"parameters": {
|
||||
"name": "={{$node[\"Create Company Item\"].json[\"company\"]}}",
|
||||
"tool": "getCompanyByName",
|
||||
"group": "company",
|
||||
"country": "={{$node[\"Create Company Item\"].json[\"country\"]}}",
|
||||
"additionalOptions": {}
|
||||
},
|
||||
"credentials": {
|
||||
"uprocApi": "miquel-uproc"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Company Found?",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
1050,
|
||||
510
|
||||
],
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"number": [],
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$node[\"Get Company by Name\"].json[\"message\"][\"name\"]}}",
|
||||
"value2": ".+",
|
||||
"operation": "regex"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Create Company Item": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Get Company by Name",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Get Company by Name": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Company Found?",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Create Company Item",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"id": 112,
|
||||
"name": "Standup Bot - Read Config",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
240,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Read Config File",
|
||||
"type": "n8n-nodes-base.readBinaryFile",
|
||||
"position": [
|
||||
420,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"filePath": "/home/node/.n8n/standup-bot-config.json",
|
||||
"dataPropertyName": "config"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Convert to JSON",
|
||||
"type": "n8n-nodes-base.moveBinaryData",
|
||||
"position": [
|
||||
600,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"options": {
|
||||
"encoding": "utf8"
|
||||
},
|
||||
"sourceKey": "config"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Read Config File": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Convert to JSON",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Read Config File",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
101
workflows/Manual/0059_Manual_Twitter_Automate_Triggered.json
Normal file
101
workflows/Manual/0059_Manual_Twitter_Automate_Triggered.json
Normal file
@@ -0,0 +1,101 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "IF",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
600,
|
||||
150
|
||||
],
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"number": [
|
||||
{
|
||||
"value1": "={{$runIndex}}",
|
||||
"value2": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "NoOp",
|
||||
"type": "n8n-nodes-base.noOp",
|
||||
"position": [
|
||||
750,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Twitter",
|
||||
"type": "n8n-nodes-base.twitter",
|
||||
"position": [
|
||||
440,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"text": "Hello from n8n!",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"twitterOAuth1Api": "Dummy Account"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"IF": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Twitter",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"node": "NoOp",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Twitter": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "IF",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Twitter",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
47
workflows/Manual/0062_Manual_Pipedrive_Create_Triggered.json
Normal file
47
workflows/Manual/0062_Manual_Pipedrive_Create_Triggered.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"id": "113",
|
||||
"name": "Create an deal in Pipedrive",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Pipedrive",
|
||||
"type": "n8n-nodes-base.pipedrive",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"title": "",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"pipedriveApi": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Pipedrive",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
72
workflows/Manual/0063_Manual_Uproc_Import_Triggered.json
Normal file
72
workflows/Manual/0063_Manual_Uproc_Import_Triggered.json
Normal file
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"id": "113",
|
||||
"name": "Get DNS entries",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
240,
|
||||
290
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Create Domain Item",
|
||||
"type": "n8n-nodes-base.functionItem",
|
||||
"position": [
|
||||
450,
|
||||
290
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "item.domain = \"n8n.io\";\nreturn item;"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Get DNS records",
|
||||
"type": "n8n-nodes-base.uproc",
|
||||
"position": [
|
||||
650,
|
||||
290
|
||||
],
|
||||
"parameters": {
|
||||
"tool": "getDomainRecords",
|
||||
"group": "internet",
|
||||
"domain": "= {{$node[\"Create Domain Item\"].json[\"domain\"]}}",
|
||||
"additionalOptions": {}
|
||||
},
|
||||
"credentials": {
|
||||
"uprocApi": "miquel-uproc"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Create Domain Item": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Get DNS records",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Create Domain Item",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"id": 113,
|
||||
"name": "Standup Bot - Override Config",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
240,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Write Binary File",
|
||||
"type": "n8n-nodes-base.writeBinaryFile",
|
||||
"position": [
|
||||
600,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"fileName": "/home/node/.n8n/standup-bot-config.json"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Move Binary Data",
|
||||
"type": "n8n-nodes-base.moveBinaryData",
|
||||
"position": [
|
||||
420,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "jsonToBinary",
|
||||
"options": {
|
||||
"encoding": "utf8",
|
||||
"fileName": "standup-bot-config.json"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Move Binary Data": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Write Binary File",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Move Binary Data",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
101
workflows/Manual/0067_Manual_Uproc_Automation_Triggered.json
Normal file
101
workflows/Manual/0067_Manual_Uproc_Automation_Triggered.json
Normal file
@@ -0,0 +1,101 @@
|
||||
{
|
||||
"id": "114",
|
||||
"name": "Verify phone numbers",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
440,
|
||||
510
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Create Phone Item",
|
||||
"type": "n8n-nodes-base.functionItem",
|
||||
"position": [
|
||||
640,
|
||||
510
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "item.phone = \"+34605281220\";\nreturn item;"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Parse and Validate Phone",
|
||||
"type": "n8n-nodes-base.uproc",
|
||||
"position": [
|
||||
850,
|
||||
510
|
||||
],
|
||||
"parameters": {
|
||||
"tool": "getPhoneParsed",
|
||||
"phone": "={{$node[\"Create Phone Item\"].json[\"phone\"]}}",
|
||||
"additionalOptions": {}
|
||||
},
|
||||
"credentials": {
|
||||
"uprocApi": "miquel-uproc"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Phone is Valid?",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
1050,
|
||||
510
|
||||
],
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$node[\"Parse and Validate Phone\"].json[\"message\"][\"valid\"]+\"\"}}",
|
||||
"value2": "true"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Create Phone Item": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Parse and Validate Phone",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Create Phone Item",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Parse and Validate Phone": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Phone is Valid?",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
111
workflows/Manual/0069_Manual_Gmail_Automation_Triggered.json
Normal file
111
workflows/Manual/0069_Manual_Gmail_Automation_Triggered.json
Normal file
@@ -0,0 +1,111 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
-40,
|
||||
240
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Gmail",
|
||||
"type": "n8n-nodes-base.gmail",
|
||||
"position": [
|
||||
150,
|
||||
240
|
||||
],
|
||||
"parameters": {
|
||||
"resource": "message",
|
||||
"operation": "getAll",
|
||||
"returnAll": true,
|
||||
"additionalFields": {
|
||||
"q": "-in:chats unsubscribe -license -key -password",
|
||||
"format": "ids"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"gmailOAuth2": "Gmail"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Delete Old Gmail",
|
||||
"type": "n8n-nodes-base.gmail",
|
||||
"position": [
|
||||
500,
|
||||
410
|
||||
],
|
||||
"parameters": {
|
||||
"resource": "message",
|
||||
"messageId": "={{$json[\"id\"]}}",
|
||||
"operation": "delete"
|
||||
},
|
||||
"credentials": {
|
||||
"gmailOAuth2": "Gmail"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "SplitInBatches",
|
||||
"type": "n8n-nodes-base.splitInBatches",
|
||||
"position": [
|
||||
310,
|
||||
240
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"batchSize": 100
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Gmail": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "SplitInBatches",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"SplitInBatches": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Delete Old Gmail",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Delete Old Gmail": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "SplitInBatches",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Gmail",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
146
workflows/Manual/0073_Manual_Rssfeedread_Automate_Triggered.json
Normal file
146
workflows/Manual/0073_Manual_Rssfeedread_Automate_Triggered.json
Normal file
@@ -0,0 +1,146 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
270,
|
||||
330
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Merge Data",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
1230,
|
||||
430
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "const allData = []\n\nlet counter = 0;\ndo {\n try {\n const items = $items(\"RSS Feed Read\", 0, counter).map(item => item.json);\n allData.push.apply(allData, items);\n } catch (error) {\n return [{json: {allData}}]; \n }\n\n counter++;\n} while(true);\n\n\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Function",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
470,
|
||||
330
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "return [\n {\n json: {\n url: 'https://medium.com/feed/n8n-io',\n }\n },\n {\n json: {\n url: 'https://dev.to/feed/n8n',\n }\n }\n];"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "RSS Feed Read",
|
||||
"type": "n8n-nodes-base.rssFeedRead",
|
||||
"position": [
|
||||
870,
|
||||
330
|
||||
],
|
||||
"parameters": {
|
||||
"url": "={{$json[\"url\"]}}"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "SplitInBatches",
|
||||
"type": "n8n-nodes-base.splitInBatches",
|
||||
"position": [
|
||||
670,
|
||||
330
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"batchSize": 1
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "IF",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
1070,
|
||||
520
|
||||
],
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"boolean": [
|
||||
{
|
||||
"value1": true,
|
||||
"value2": "={{$node[\"SplitInBatches\"].context[\"noItemsLeft\"]}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"IF": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge Data",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"node": "SplitInBatches",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Function": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "SplitInBatches",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"RSS Feed Read": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "IF",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"SplitInBatches": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "RSS Feed Read",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Function",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
213
workflows/Manual/0074_Manual_HTTP_Monitor_Webhook.json
Normal file
213
workflows/Manual/0074_Manual_HTTP_Monitor_Webhook.json
Normal file
@@ -0,0 +1,213 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
200,
|
||||
470
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "HTTP Request",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
600,
|
||||
470
|
||||
],
|
||||
"parameters": {
|
||||
"url": "={{$node[\"Config URL\"].json[\"next\"]}}",
|
||||
"options": {},
|
||||
"queryParametersUi": {
|
||||
"parameter": [
|
||||
{
|
||||
"name": "hapikey",
|
||||
"value": "<YOUR_API_KEY>"
|
||||
},
|
||||
{
|
||||
"name": "limit",
|
||||
"value": "100"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "NoOp",
|
||||
"type": "n8n-nodes-base.noOp",
|
||||
"position": [
|
||||
800,
|
||||
470
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Wait",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
1000,
|
||||
470
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "return new Promise((resolve, reject) => {\n setTimeout(() => { resolve([{ json: {} }]) }, 5000);\n })\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Config URL",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
400,
|
||||
470
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "\nlet next = 'https://api.hubapi.com/crm/v3/objects/contacts'\n\nif (items[0].json.next) {\n next = items[0].json.next\n}\n\nreturn [\n {\n json: {\n next : next\n }\n }\n]"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Check if pagination?",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
1250,
|
||||
470
|
||||
],
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [],
|
||||
"boolean": [
|
||||
{
|
||||
"value1": "={{$node[\"HTTP Request\"].json[\"paging\"] ? true : false}}",
|
||||
"value2": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set next URL",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
890,
|
||||
210
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "next",
|
||||
"value": "={{$node[\"HTTP Request\"].json[\"paging\"][\"next\"][\"link\"]}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"executeOnce": true,
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Combine all data",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
1500,
|
||||
560
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "const allData = []\n\nlet counter = 0;\ndo {\n try {\n const items = $items(\"HTTP Request\", 0, counter).map(item => item.json.results);\n \n const aja = items[0].map(item => {\n return { json: item }\n }) \n \n allData.push.apply(allData, aja);\n //allData.push($items(\"Increment\", 0, counter));\n } catch (error) {\n return allData; \n }\n\n counter++;\n} while(true);\n\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"NoOp": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Wait",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Wait": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Check if pagination?",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Config URL": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTTP Request": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "NoOp",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set next URL": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Config URL",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Check if pagination?": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set next URL",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"node": "Combine all data",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Config URL",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
126
workflows/Manual/0075_Manual_Noop_Update_Triggered.json
Normal file
126
workflows/Manual/0075_Manual_Noop_Update_Triggered.json
Normal file
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"id": "116",
|
||||
"name": "Get all the contacts from GetResponse and update them",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "GetResponse",
|
||||
"type": "n8n-nodes-base.getResponse",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"operation": "getAll",
|
||||
"returnAll": true
|
||||
},
|
||||
"credentials": {
|
||||
"getResponseApi": "getresponse-api"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "IF",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
650,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$node[\"GetResponse\"].json[\"campaign\"][\"name\"]}}",
|
||||
"value2": "n8n",
|
||||
"operation": "notEqual"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "GetResponse1",
|
||||
"type": "n8n-nodes-base.getResponse",
|
||||
"position": [
|
||||
860,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"contactId": "={{$node[\"IF\"].json[\"contactId\"]}}",
|
||||
"operation": "update",
|
||||
"updateFields": {
|
||||
"campaignId": "WRVXO"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"getResponseApi": "getresponse-api"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "NoOp",
|
||||
"type": "n8n-nodes-base.noOp",
|
||||
"position": [
|
||||
860,
|
||||
400
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"IF": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "GetResponse1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"node": "NoOp",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"GetResponse": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "IF",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "GetResponse",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
252
workflows/Manual/0078_Manual_Slack_Monitor_Webhook.json
Normal file
252
workflows/Manual/0078_Manual_Slack_Monitor_Webhook.json
Normal file
@@ -0,0 +1,252 @@
|
||||
{
|
||||
"id": 118,
|
||||
"name": "Google Calendar to Slack Status & Philips Hue",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"disabled": true,
|
||||
"position": [
|
||||
420,
|
||||
420
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Google Calendar",
|
||||
"type": "n8n-nodes-base.googleCalendar",
|
||||
"position": [
|
||||
720,
|
||||
600
|
||||
],
|
||||
"parameters": {
|
||||
"eventId": "={{$node[\"Event Started\"].json[\"id\"].split(\"_\")[0]}}",
|
||||
"options": {},
|
||||
"calendar": "youremail@domain.com",
|
||||
"operation": "get"
|
||||
},
|
||||
"credentials": {
|
||||
"googleCalendarOAuth2Api": {
|
||||
"id": "15",
|
||||
"name": "GoogleCalendar - Personal"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Light - Busy",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
1220,
|
||||
180
|
||||
],
|
||||
"parameters": {
|
||||
"url": "WEBHOOK1",
|
||||
"options": {},
|
||||
"requestMethod": "POST"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Light - Available",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
1220,
|
||||
600
|
||||
],
|
||||
"parameters": {
|
||||
"url": "WEBHOOK3",
|
||||
"options": {},
|
||||
"requestMethod": "POST"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Switch",
|
||||
"type": "n8n-nodes-base.switch",
|
||||
"position": [
|
||||
1040,
|
||||
460
|
||||
],
|
||||
"parameters": {
|
||||
"rules": {
|
||||
"rules": [
|
||||
{
|
||||
"value2": "4dw_doing",
|
||||
"operation": "startsWith"
|
||||
},
|
||||
{
|
||||
"value2": "4dw_managing",
|
||||
"operation": "startsWith"
|
||||
},
|
||||
{
|
||||
"value2": "4dw_leading",
|
||||
"operation": "startsWith"
|
||||
},
|
||||
{
|
||||
"output": 1,
|
||||
"value2": "4dw_living",
|
||||
"operation": "startsWith"
|
||||
}
|
||||
]
|
||||
},
|
||||
"value1": "={{$json[\"calColor\"]}}",
|
||||
"dataType": "string",
|
||||
"fallbackOutput": 3
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Light - Personal",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
1220,
|
||||
340
|
||||
],
|
||||
"parameters": {
|
||||
"url": "WEBHOOK2",
|
||||
"options": {},
|
||||
"requestMethod": "POST"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Event Started",
|
||||
"type": "n8n-nodes-base.googleCalendarTrigger",
|
||||
"position": [
|
||||
540,
|
||||
600
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"pollTimes": {
|
||||
"item": [
|
||||
{
|
||||
"mode": "everyX",
|
||||
"unit": "minutes",
|
||||
"value": 5
|
||||
}
|
||||
]
|
||||
},
|
||||
"triggerOn": "eventStarted",
|
||||
"calendarId": "youremail@domain.com"
|
||||
},
|
||||
"credentials": {
|
||||
"googleCalendarOAuth2Api": {
|
||||
"id": "15",
|
||||
"name": "GoogleCalendar - Personal"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Slack - Status",
|
||||
"type": "n8n-nodes-base.slack",
|
||||
"position": [
|
||||
1040,
|
||||
720
|
||||
],
|
||||
"parameters": {
|
||||
"resource": "userProfile",
|
||||
"operation": "update",
|
||||
"additionalFields": {
|
||||
"status_text": "={{$json[\"summary\"]}}",
|
||||
"status_emoji": "=:{{$json[\"calColor\"]}}:"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"slackApi": {
|
||||
"id": "17",
|
||||
"name": "CompanySlack"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set CalColor",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
880,
|
||||
600
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "for (item of items) {\n\n switch (item.json.colorId) {\n case '1':\n calColor = 'Lavendar';\n break;\n case '2':\n calColor = '4dw_leading';\n break;\n case '3':\n calColor = 'Grape';\n break;\n case '4':\n calColor = 'Flamingo';\n break;\n case '5':\n calColor = '4dw_managing';\n break;\n case '6':\n calColor = 'Tangerine';\n break;\n case '7':\n calColor = '4dw_living';\n break;\n case '8':\n calColor = 'Graphite';\n break;\n case '9':\n calColor = 'Blueberry';\n break;\n case '10':\n calColor = 'Basil';\n break;\n case '11':\n calColor = '4dw_doing';\n break;\n default:\n calColor = 'undefined';\n }\n item.json.calColor = calColor;\n}\n\nreturn items;"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Switch": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Light - Busy",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"node": "Light - Personal",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[],
|
||||
[
|
||||
{
|
||||
"node": "Light - Available",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set CalColor": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Slack - Status",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Switch",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Event Started": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Google Calendar",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Google Calendar": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set CalColor",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
178
workflows/Manual/0079_Manual_Strapi_Create_Triggered.json
Normal file
178
workflows/Manual/0079_Manual_Strapi_Create_Triggered.json
Normal file
@@ -0,0 +1,178 @@
|
||||
{
|
||||
"id": "119",
|
||||
"name": "Create, update, and get an entry in Strapi",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Strapi",
|
||||
"type": "n8n-nodes-base.strapi",
|
||||
"position": [
|
||||
650,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"columns": "Title, Content, Description",
|
||||
"operation": "create",
|
||||
"contentType": "posts"
|
||||
},
|
||||
"credentials": {
|
||||
"strapiApi": "strapi"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "Title",
|
||||
"value": "Automate Strapi with n8n"
|
||||
},
|
||||
{
|
||||
"name": "Content",
|
||||
"value": "Strapi is a headless CMS. We will use Strapi and n8n to automate our content creation workflows."
|
||||
},
|
||||
{
|
||||
"name": "Description",
|
||||
"value": "Learn how to automate Strapi with n8n."
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Strapi1",
|
||||
"type": "n8n-nodes-base.strapi",
|
||||
"position": [
|
||||
1050,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"columns": "slug",
|
||||
"operation": "update",
|
||||
"contentType": "={{$node[\"Strapi\"].parameter[\"contentType\"]}}"
|
||||
},
|
||||
"credentials": {
|
||||
"strapiApi": "strapi"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set1",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
850,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "id",
|
||||
"value": "={{$node[\"Strapi\"].json[\"id\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "slug",
|
||||
"value": "automate-strapi-with-n8n"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Strapi2",
|
||||
"type": "n8n-nodes-base.strapi",
|
||||
"position": [
|
||||
1250,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"entryId": "={{$node[\"Strapi1\"].json[\"id\"]}}",
|
||||
"contentType": "={{$node[\"Strapi\"].parameter[\"contentType\"]}}"
|
||||
},
|
||||
"credentials": {
|
||||
"strapiApi": "strapi"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Set": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Strapi",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Strapi1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Strapi": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Strapi1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Strapi2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
47
workflows/Manual/0080_Manual_Disqus_Import_Triggered.json
Normal file
47
workflows/Manual/0080_Manual_Disqus_Import_Triggered.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"id": "119",
|
||||
"name": "Get details of a forum in Disqus",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Disqus",
|
||||
"type": "n8n-nodes-base.disqus",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"id": "hackernoon",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"disqusApi": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Disqus",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
49
workflows/Manual/0088_Manual_Harvest_Create_Triggered.json
Normal file
49
workflows/Manual/0088_Manual_Harvest_Create_Triggered.json
Normal file
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"id": "120",
|
||||
"name": "Create a client in Harvest",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Harvest",
|
||||
"type": "n8n-nodes-base.harvest",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"name": "",
|
||||
"resource": "client",
|
||||
"operation": "create",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"harvestApi": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Harvest",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
47
workflows/Manual/0098_Manual_Segment_Monitor_Triggered.json
Normal file
47
workflows/Manual/0098_Manual_Segment_Monitor_Triggered.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"id": "122",
|
||||
"name": "Track an event in Segment",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Segment",
|
||||
"type": "n8n-nodes-base.segment",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"event": "",
|
||||
"resource": "track"
|
||||
},
|
||||
"credentials": {
|
||||
"segmentApi": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Segment",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
47
workflows/Manual/0100_Manual_Zendesk_Create_Triggered.json
Normal file
47
workflows/Manual/0100_Manual_Zendesk_Create_Triggered.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"id": "123",
|
||||
"name": "Create a ticket in Zendesk",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Zendesk",
|
||||
"type": "n8n-nodes-base.zendesk",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"description": "",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"zendeskApi": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Zendesk",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
229
workflows/Manual/0102_Manual_HTTP_Create_Webhook.json
Normal file
229
workflows/Manual/0102_Manual_HTTP_Create_Webhook.json
Normal file
@@ -0,0 +1,229 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
-100,
|
||||
470
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "HTTP Request",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"notes": "Get news page",
|
||||
"position": [
|
||||
100,
|
||||
470
|
||||
],
|
||||
"parameters": {
|
||||
"url": "=https://news.ycombinator.com/",
|
||||
"options": {
|
||||
"fullResponse": true,
|
||||
"batchInterval": 500
|
||||
},
|
||||
"responseFormat": "file",
|
||||
"queryParametersUi": {
|
||||
"parameter": []
|
||||
},
|
||||
"headerParametersUi": {
|
||||
"parameter": []
|
||||
},
|
||||
"allowUnauthorizedCerts": true
|
||||
},
|
||||
"notesInFlow": true,
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "HTML Extract",
|
||||
"type": "n8n-nodes-base.htmlExtract",
|
||||
"notes": "extract news data",
|
||||
"position": [
|
||||
310,
|
||||
470
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"sourceData": "binary",
|
||||
"extractionValues": {
|
||||
"values": [
|
||||
{
|
||||
"key": "news_title",
|
||||
"cssSelector": ".storylink",
|
||||
"returnArray": true
|
||||
},
|
||||
{
|
||||
"key": "news_url",
|
||||
"attribute": "href",
|
||||
"cssSelector": ".storylink",
|
||||
"returnArray": true,
|
||||
"returnValue": "attribute"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"notesInFlow": true,
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "list news url",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"position": [
|
||||
500,
|
||||
570
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"fieldToSplitOut": "news_url"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "list news title",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"position": [
|
||||
500,
|
||||
390
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"fieldToSplitOut": "news_title"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Merge",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"position": [
|
||||
700,
|
||||
470
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "mergeByIndex"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Spreadsheet File",
|
||||
"type": "n8n-nodes-base.spreadsheetFile",
|
||||
"position": [
|
||||
870,
|
||||
470
|
||||
],
|
||||
"parameters": {
|
||||
"options": {
|
||||
"fileName": "=Ycombinator_news_{{new Date().toISOString().split('T', 1)[0]}}.{{$parameter[\"fileFormat\"]}}",
|
||||
"sheetName": "Latest news"
|
||||
},
|
||||
"operation": "toFile"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Send email notification",
|
||||
"type": "n8n-nodes-base.emailSend",
|
||||
"position": [
|
||||
1050,
|
||||
470
|
||||
],
|
||||
"parameters": {
|
||||
"text": "=Here are the latest news attached!",
|
||||
"options": {},
|
||||
"subject": "Ycombinator news",
|
||||
"toEmail": "",
|
||||
"fromEmail": "",
|
||||
"attachments": "data"
|
||||
},
|
||||
"credentials": {
|
||||
"smtp": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Merge": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Spreadsheet File",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTML Extract": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "list news title",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "list news url",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTTP Request": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTML Extract",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"list news url": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"list news title": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Spreadsheet File": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Send email notification",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
47
workflows/Manual/0106_Manual_Drift_Create_Triggered.json
Normal file
47
workflows/Manual/0106_Manual_Drift_Create_Triggered.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"id": "125",
|
||||
"name": "Create a contact in Drift",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Drift ",
|
||||
"type": "n8n-nodes-base.drift",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"email": "",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"driftApi": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Drift ",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
46
workflows/Manual/0107_Manual_Zulip_Send_Triggered.json
Normal file
46
workflows/Manual/0107_Manual_Zulip_Send_Triggered.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "126",
|
||||
"name": "Send a private message on Zulip",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Zulip",
|
||||
"type": "n8n-nodes-base.zulip",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"to": []
|
||||
},
|
||||
"credentials": {
|
||||
"zulipApi": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Zulip",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
131
workflows/Manual/0110_Manual_Humanticai_Create_Webhook.json
Normal file
131
workflows/Manual/0110_Manual_Humanticai_Create_Webhook.json
Normal file
@@ -0,0 +1,131 @@
|
||||
{
|
||||
"id": "127",
|
||||
"name": "Create, update, and get a profile in Humantic AI",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
290,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Humantic AI",
|
||||
"type": "n8n-nodes-base.humanticAi",
|
||||
"position": [
|
||||
490,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"userId": "https://www.linkedin.com/in/harshil1712/"
|
||||
},
|
||||
"credentials": {
|
||||
"humanticAiApi": "humantic"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "HTTP Request",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
690,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"url": "",
|
||||
"options": {},
|
||||
"responseFormat": "file"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Humantic AI1",
|
||||
"type": "n8n-nodes-base.humanticAi",
|
||||
"position": [
|
||||
890,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"userId": "={{$node[\"Humantic AI\"].json[\"results\"][\"userid\"]}}",
|
||||
"operation": "update",
|
||||
"sendResume": true
|
||||
},
|
||||
"credentials": {
|
||||
"humanticAiApi": "humantic"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Humantic AI2",
|
||||
"type": "n8n-nodes-base.humanticAi",
|
||||
"position": [
|
||||
1090,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"userId": "={{$node[\"Humantic AI\"].json[\"results\"][\"userid\"]}}",
|
||||
"options": {
|
||||
"persona": [
|
||||
"hiring"
|
||||
]
|
||||
},
|
||||
"operation": "get"
|
||||
},
|
||||
"credentials": {
|
||||
"humanticAiApi": "humantic"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Humantic AI": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTTP Request": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Humantic AI1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Humantic AI1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Humantic AI2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Humantic AI",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
47
workflows/Manual/0111_Manual_Vero_Create_Triggered.json
Normal file
47
workflows/Manual/0111_Manual_Vero_Create_Triggered.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"id": "127",
|
||||
"name": "Create a user profile in Vero",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Vero",
|
||||
"type": "n8n-nodes-base.vero",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"id": "",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"veroApi": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Vero",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "AWS Textract",
|
||||
"type": "n8n-nodes-base.awsTextract",
|
||||
"position": [
|
||||
650,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"credentials": {
|
||||
"aws": {
|
||||
"id": "12",
|
||||
"name": "AWS account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "AWS S3",
|
||||
"type": "n8n-nodes-base.awsS3",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"fileKey": "Rechnung.jpg",
|
||||
"bucketName": "textract-demodata"
|
||||
},
|
||||
"credentials": {
|
||||
"aws": {
|
||||
"id": "12",
|
||||
"name": "AWS account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"AWS S3": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "AWS Textract",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "AWS S3",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
49
workflows/Manual/0114_Manual_Salesmate_Create_Triggered.json
Normal file
49
workflows/Manual/0114_Manual_Salesmate_Create_Triggered.json
Normal file
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"id": "128",
|
||||
"name": "Create a company in Salesmate",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Salesmate",
|
||||
"type": "n8n-nodes-base.salesmate",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"name": "",
|
||||
"owner": "",
|
||||
"resource": "company",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"salesmateApi": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Salesmate",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
46
workflows/Manual/0117_Manual_Uplead_Import_Triggered.json
Normal file
46
workflows/Manual/0117_Manual_Uplead_Import_Triggered.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "129",
|
||||
"name": "Get information about a company with UpLead",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Uplead",
|
||||
"type": "n8n-nodes-base.uplead",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"company": "Apple"
|
||||
},
|
||||
"credentials": {
|
||||
"upleadApi": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Uplead",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
399
workflows/Manual/0119_Manual_Cron_Create_Webhook.json
Normal file
399
workflows/Manual/0119_Manual_Cron_Create_Webhook.json
Normal file
@@ -0,0 +1,399 @@
|
||||
{
|
||||
"id": "12",
|
||||
"name": "Find a New Book",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
40,
|
||||
140
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Every Friday at 11:00 AM",
|
||||
"type": "n8n-nodes-base.cron",
|
||||
"position": [
|
||||
20,
|
||||
330
|
||||
],
|
||||
"parameters": {
|
||||
"triggerTimes": {
|
||||
"item": [
|
||||
{
|
||||
"hour": 11,
|
||||
"mode": "everyWeek",
|
||||
"weekday": "5"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set Subject",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
220,
|
||||
330
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "subject",
|
||||
"value": "juvenile_literature"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Retrieve Book Count",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
420,
|
||||
330
|
||||
],
|
||||
"parameters": {
|
||||
"url": "=http://openlibrary.org/subjects/{{$json[\"subject\"]}}.json",
|
||||
"options": {},
|
||||
"queryParametersUi": {
|
||||
"parameter": [
|
||||
{
|
||||
"name": "limit",
|
||||
"value": "0"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Check Book Count",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
620,
|
||||
330
|
||||
],
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"number": [
|
||||
{
|
||||
"value1": "={{$node[\"Retrieve Book Count\"].json[\"work_count\"]}}",
|
||||
"operation": "larger"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Select Random Book",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
820,
|
||||
330
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "var retrieve_book = 0;\nvar book_count = items[0].json.work_count;\n\nretrieve_book = Math.floor(Math.random() * book_count) + 1\n\nitems[0].json.retrieve_book = retrieve_book;\nreturn items;"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Retrieve Detailed Book Info",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
1260,
|
||||
330
|
||||
],
|
||||
"parameters": {
|
||||
"url": "=http://openlibrary.org.{{$node[\"Retrieve Basic Book Info\"].json[\"works\"][0][\"key\"]}}.json",
|
||||
"options": {},
|
||||
"queryParametersUi": {
|
||||
"parameter": [
|
||||
{
|
||||
"name": "limit",
|
||||
"value": "1"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Retrieve Basic Book Info",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
1040,
|
||||
330
|
||||
],
|
||||
"parameters": {
|
||||
"url": "=http://openlibrary.org/subjects/{{$json[\"name\"]}}.json",
|
||||
"options": {},
|
||||
"queryParametersUi": {
|
||||
"parameter": [
|
||||
{
|
||||
"name": "limit",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"name": "offset",
|
||||
"value": "={{$json[\"retrieve_book\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "detail",
|
||||
"value": "true"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Book Recommendation",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
1830,
|
||||
330
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "msgSubject",
|
||||
"value": "=Book Recommendation: {{$node[\"Create Author String\"].json[\"title\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "msgBody",
|
||||
"value": "=<H2><a href=\"{{$node[\"Create Author String\"].json[\"URL\"]}}\">{{$node[\"Create Author String\"].json[\"title\"]}}</a></H2>\n<p><em>By {{$node[\"Create Author String\"].json[\"authors\"]}}</em><br>\n{{$node[\"Create Author String\"].json[\"description\"]}}</p>"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Filtered Book Info",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
1460,
|
||||
330
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "authors",
|
||||
"value": "={{$node[\"Retrieve Basic Book Info\"].json[\"works\"][0][\"authors\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "title",
|
||||
"value": "={{$node[\"Retrieve Basic Book Info\"].json[\"works\"][0][\"title\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "description",
|
||||
"value": "={{$node[\"Retrieve Detailed Book Info\"].json[\"description\"][\"value\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "URL",
|
||||
"value": "=https://openlibrary.org{{$node[\"Retrieve Basic Book Info\"].json[\"works\"][0][\"key\"]}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Create Author String",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
1630,
|
||||
330
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "var arrAuthors = items[0].json.authors;\n\nvar arrNames = arrAuthors.map(function(author) {\n return \"<a href=\\\"https://openlibrary.org\" + author['key'] + \"\\\">\" + author['name'] + \"</a>\";\n});\n\nvar names = arrNames.join(\", \");\n\nitems[0].json.authors = names;\n\nreturn items;"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Send No Book Email",
|
||||
"type": "n8n-nodes-base.emailSend",
|
||||
"position": [
|
||||
830,
|
||||
520
|
||||
],
|
||||
"parameters": {
|
||||
"html": "=<p>Unfortunately, there are no books available for the subject of <em>{{$node[\"Check Book Count\"].json[\"name\"]}}</em>. Please update your n8n workflow with a different subject.</p>\n\n<p>A list of all available subjects can be found at <a href=\"https://openlibrary.org/subjects\">the Open Library</a>.</p>",
|
||||
"options": {},
|
||||
"subject": "=Book not found in {{$node[\"Check Book Count\"].json[\"name\"]}}",
|
||||
"toEmail": "john.doe@example.com",
|
||||
"fromEmail": "john.doe@example.com"
|
||||
},
|
||||
"credentials": {
|
||||
"smtp": "Gmail Creds"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Send Book Email",
|
||||
"type": "n8n-nodes-base.emailSend",
|
||||
"position": [
|
||||
2030,
|
||||
330
|
||||
],
|
||||
"parameters": {
|
||||
"html": "={{$node[\"Book Recommendation\"].json[\"msgBody\"]}}",
|
||||
"options": {},
|
||||
"subject": "={{$node[\"Book Recommendation\"].json[\"msgSubject\"]}}",
|
||||
"toEmail": "john.doe@example.com",
|
||||
"fromEmail": "john.doe@example.com"
|
||||
},
|
||||
"credentials": {
|
||||
"smtp": "Gmail Creds"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Set Subject": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Retrieve Book Count",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Check Book Count": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Select Random Book",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"node": "Send No Book Email",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Filtered Book Info": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Create Author String",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Select Random Book": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Retrieve Basic Book Info",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Book Recommendation": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Send Book Email",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Retrieve Book Count": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Check Book Count",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Create Author String": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Book Recommendation",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set Subject",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Every Friday at 11:00 AM": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set Subject",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Retrieve Basic Book Info": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Retrieve Detailed Book Info",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Retrieve Detailed Book Info": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Filtered Book Info",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Dropcontact",
|
||||
"type": "n8n-nodes-base.dropcontact",
|
||||
"position": [
|
||||
650,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"email": "={{$json[\"email\"]}}",
|
||||
"options": {
|
||||
"siren": true,
|
||||
"language": "fr"
|
||||
},
|
||||
"additionalFields": {
|
||||
"company": "={{$json[\"companyName\"]}}",
|
||||
"website": "={{$json[\"website\"]}}",
|
||||
"linkedin": "={{$json[\"LinkedIn\"]}}",
|
||||
"full_name": "={{$json[\"fullName\"]}}",
|
||||
"last_name": "={{$json[\"lastName\"]}}",
|
||||
"first_name": "={{$json[\"firstName\"]}}"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"dropcontactApi": {
|
||||
"id": "6",
|
||||
"name": ""
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Google Sheets",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"range": "A:K",
|
||||
"options": {
|
||||
"continue": false
|
||||
},
|
||||
"sheetId": "",
|
||||
"authentication": "oAuth2"
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "7",
|
||||
"name": "Google Sheets account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Lemlist",
|
||||
"type": "n8n-nodes-base.lemlist",
|
||||
"position": [
|
||||
850,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"email": "={{$node[\"Dropcontact\"].json[\"email\"][0][\"email\"]}}",
|
||||
"resource": "lead",
|
||||
"campaignId": "",
|
||||
"additionalFields": {
|
||||
"lastName": "={{$node[\"Dropcontact\"].json[\"last_name\"]}}",
|
||||
"firstName": "={{$node[\"Dropcontact\"].json[\"first_name\"]}}",
|
||||
"companyName": "={{$node[\"Dropcontact\"].json[\"company\"]}}"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"lemlistApi": {
|
||||
"id": "9",
|
||||
"name": "Lemlist account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Dropcontact": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Lemlist",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Google Sheets": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Dropcontact",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Google Sheets",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
48
workflows/Manual/0122_Manual_Flow_Import_Triggered.json
Normal file
48
workflows/Manual/0122_Manual_Flow_Import_Triggered.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"id": "130",
|
||||
"name": "Get all the tasks in Flow",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Flow",
|
||||
"type": "n8n-nodes-base.flow",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"filters": {},
|
||||
"operation": "getAll",
|
||||
"returnAll": true
|
||||
},
|
||||
"credentials": {
|
||||
"flowApi": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Flow",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
171
workflows/Manual/0127_Manual_Noop_Monitor_Triggered.json
Normal file
171
workflows/Manual/0127_Manual_Noop_Monitor_Triggered.json
Normal file
@@ -0,0 +1,171 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Check for Close Date",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
660,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$json[\"Close Date\"]}}",
|
||||
"value2": "/\\d\\d\\d\\d-\\d\\d-\\d\\d/i",
|
||||
"operation": "regex"
|
||||
}
|
||||
]
|
||||
},
|
||||
"combineOperation": "any"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set Close Date 3 Weeks Later",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
910,
|
||||
370
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "Close Date",
|
||||
"value": "={{new Date(new Date().setDate(new Date().getDate() + 21)).toISOString()}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "NoOp",
|
||||
"type": "n8n-nodes-base.noOp",
|
||||
"position": [
|
||||
1140,
|
||||
280
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set Close Date",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "Close Date",
|
||||
"value": "2021-11-29T00:00:00.000Z"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set Close Date To Original",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
910,
|
||||
210
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "Close Date",
|
||||
"value": "={{$node[\"Set Close Date\"].json[\"Close Date\"]}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Set Close Date": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Check for Close Date",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Check for Close Date": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set Close Date To Original",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"node": "Set Close Date 3 Weeks Later",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set Close Date",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set Close Date To Original": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "NoOp",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set Close Date 3 Weeks Later": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "NoOp",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "apiKey",
|
||||
"value": "n8n-secret-keey"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Customer Datastore",
|
||||
"type": "n8n-nodes-base.n8nTrainingCustomerDatastore",
|
||||
"position": [
|
||||
650,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"operation": "getAllPeople",
|
||||
"returnAll": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "HTTP Request",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
850,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://webhook.site/f99d65ab-8959-4466-a427-cdd0ad482220",
|
||||
"options": {},
|
||||
"requestMethod": "POST",
|
||||
"bodyParametersUi": {
|
||||
"parameter": [
|
||||
{
|
||||
"name": "name",
|
||||
"value": "={{$json[\"name\"]}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"headerParametersUi": {
|
||||
"parameter": [
|
||||
{
|
||||
"name": "api-key",
|
||||
"value": "={{ $item(0).$node[\"Set\"].json[\"apiKey\"] }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Set": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Customer Datastore",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Customer Datastore": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
89
workflows/Manual/0131_Manual_Start_Automation_Webhook.json
Normal file
89
workflows/Manual/0131_Manual_Start_Automation_Webhook.json
Normal file
@@ -0,0 +1,89 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "HTTP Request",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://unsplash.com/photos/lUDMZUWFUXE/download?ixid=MnwxMjA3fDB8MXxhbGx8Mnx8fHx8fDJ8fDE2MzczMjY4Mjc&force=true",
|
||||
"options": {},
|
||||
"responseFormat": "file",
|
||||
"headerParametersUi": {
|
||||
"parameter": []
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "HTTP Request1",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
650,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://api.twitter.com/1.1/account/update_profile_banner.json",
|
||||
"options": {},
|
||||
"requestMethod": "POST",
|
||||
"authentication": "oAuth1",
|
||||
"jsonParameters": true,
|
||||
"sendBinaryData": true,
|
||||
"binaryPropertyName": "banner:data"
|
||||
},
|
||||
"credentials": {
|
||||
"oAuth1Api": {
|
||||
"id": "300",
|
||||
"name": "Unnamed credential"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"HTTP Request": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
358
workflows/Manual/0137_Manual_Editimage_Create_Webhook.json
Normal file
358
workflows/Manual/0137_Manual_Editimage_Create_Webhook.json
Normal file
@@ -0,0 +1,358 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
260,
|
||||
210
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Fetch new followers",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
460,
|
||||
210
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://api.twitter.com/2/users/{YOUR_USER_ID}/followers?user.fields=profile_image_url&max_results=3",
|
||||
"options": {},
|
||||
"authentication": "headerAuth"
|
||||
},
|
||||
"credentials": {
|
||||
"httpHeaderAuth": {
|
||||
"id": "2",
|
||||
"name": "Twitter Token"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Item Lists",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"position": [
|
||||
660,
|
||||
210
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"fieldToSplitOut": "data"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Function",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
1660,
|
||||
210
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "const binary = {};\nfor (let i=0; i < items.length; i++) {\n binary[`data${i}`] = items[i].binary.avatar;\n}\n\nreturn [\n {\n json: {\n numIcons: items.length,\n },\n binary,\n }\n];\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Merge",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"position": [
|
||||
1910,
|
||||
110
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "mergeByIndex"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Fetching images",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
860,
|
||||
210
|
||||
],
|
||||
"parameters": {
|
||||
"url": "={{$json[\"profile_image_url\"].replace('normal','400x400')}}",
|
||||
"options": {},
|
||||
"responseFormat": "file",
|
||||
"dataPropertyName": "avatar"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Fetch bg",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
1660,
|
||||
-40
|
||||
],
|
||||
"parameters": {
|
||||
"url": "{TEMPLATE_IMAGE_URL}",
|
||||
"options": {},
|
||||
"responseFormat": "file",
|
||||
"dataPropertyName": "bg"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Resize",
|
||||
"type": "n8n-nodes-base.editImage",
|
||||
"position": [
|
||||
1060,
|
||||
210
|
||||
],
|
||||
"parameters": {
|
||||
"width": 200,
|
||||
"height": 200,
|
||||
"options": {},
|
||||
"operation": "resize",
|
||||
"dataPropertyName": "avatar"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Crop",
|
||||
"type": "n8n-nodes-base.editImage",
|
||||
"position": [
|
||||
1260,
|
||||
210
|
||||
],
|
||||
"parameters": {
|
||||
"options": {
|
||||
"format": "png"
|
||||
},
|
||||
"operation": "multiStep",
|
||||
"operations": {
|
||||
"operations": [
|
||||
{
|
||||
"width": 200,
|
||||
"height": 200,
|
||||
"operation": "create",
|
||||
"backgroundColor": "#000000ff"
|
||||
},
|
||||
{
|
||||
"color": "#ffffff00",
|
||||
"operation": "draw",
|
||||
"primitive": "circle",
|
||||
"endPositionX": 25,
|
||||
"endPositionY": 50,
|
||||
"startPositionX": 100,
|
||||
"startPositionY": 100
|
||||
},
|
||||
{
|
||||
"operator": "In",
|
||||
"operation": "composite",
|
||||
"dataPropertyNameComposite": "avatar"
|
||||
}
|
||||
]
|
||||
},
|
||||
"dataPropertyName": "avatar"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Edit Image",
|
||||
"type": "n8n-nodes-base.editImage",
|
||||
"position": [
|
||||
2110,
|
||||
110
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"operation": "multiStep",
|
||||
"operations": {
|
||||
"operations": [
|
||||
{
|
||||
"operation": "composite",
|
||||
"positionX": 1000,
|
||||
"positionY": 375,
|
||||
"dataPropertyNameComposite": "data0"
|
||||
},
|
||||
{
|
||||
"operation": "composite",
|
||||
"positionX": 1100,
|
||||
"positionY": 375,
|
||||
"dataPropertyNameComposite": "data1"
|
||||
},
|
||||
{
|
||||
"operation": "composite",
|
||||
"positionX": 1200,
|
||||
"positionY": 375,
|
||||
"dataPropertyNameComposite": "data2"
|
||||
}
|
||||
]
|
||||
},
|
||||
"dataPropertyName": "bg"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Resize1",
|
||||
"type": "n8n-nodes-base.editImage",
|
||||
"position": [
|
||||
1450,
|
||||
210
|
||||
],
|
||||
"parameters": {
|
||||
"width": 75,
|
||||
"height": 75,
|
||||
"options": {},
|
||||
"operation": "resize",
|
||||
"dataPropertyName": "avatar"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "HTTP Request",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
2310,
|
||||
110
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://api.twitter.com/1.1/account/update_profile_banner.json",
|
||||
"options": {
|
||||
"bodyContentType": "multipart-form-data"
|
||||
},
|
||||
"requestMethod": "POST",
|
||||
"authentication": "oAuth1",
|
||||
"jsonParameters": true,
|
||||
"sendBinaryData": true,
|
||||
"binaryPropertyName": "banner:bg"
|
||||
},
|
||||
"credentials": {
|
||||
"oAuth1Api": {
|
||||
"id": "13",
|
||||
"name": "Twitter OAuth1.0"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Crop": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Resize1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Merge": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Edit Image",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Resize": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Crop",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Resize1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Function",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Fetch bg": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Function": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Edit Image": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Item Lists": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Fetching images",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Fetching images": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Resize",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Fetch new followers": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Item Lists",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Fetch new followers",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
71
workflows/Manual/0145_Manual_Send_Triggered.json
Normal file
71
workflows/Manual/0145_Manual_Send_Triggered.json
Normal file
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
240,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Extract domain name",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
700,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "// Take email and extract the domain name \nvar email = ($json[\"email\"]);\nvar name = email.substring(0, email.lastIndexOf(\"@\"));\nvar domain = email.substring(email.lastIndexOf(\"@\") +1);\n\n//To display the final domain name. (result)\n\nreturn [{\n json: { domain }\n}]"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Sample email",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
460,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "email",
|
||||
"value": "email@domain2.com"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Sample email": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Extract domain name",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Sample email",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
43
workflows/Manual/0157_Manual_Import_Triggered.json
Normal file
43
workflows/Manual/0157_Manual_Import_Triggered.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"id": "140",
|
||||
"name": "Get today's date and day using the Function node",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Function",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "var date = new Date().toISOString();\nvar day = new Date().getDay();\nconst weekday = [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"];\n\nitems[0].json.date_today = date;\nitems[0].json.day_today = weekday[day];\n\nreturn items;"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Function",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
63
workflows/Manual/0160_Manual_Automation_Triggered.json
Normal file
63
workflows/Manual/0160_Manual_Automation_Triggered.json
Normal file
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"id": "141",
|
||||
"name": "Assign values to variables using the Set node",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"number": [
|
||||
{
|
||||
"name": "number",
|
||||
"value": 20
|
||||
}
|
||||
],
|
||||
"string": [
|
||||
{
|
||||
"name": "string",
|
||||
"value": "From n8n with love"
|
||||
}
|
||||
],
|
||||
"boolean": [
|
||||
{
|
||||
"name": "boolean",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"id": "145",
|
||||
"name": "Translate cocktail instructions using LingvaNex",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "LingvaNex",
|
||||
"type": "n8n-nodes-base.lingvaNex",
|
||||
"position": [
|
||||
650,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"text": "={{$node[\"HTTP Request\"].json[\"drinks\"][0][\"strInstructions\"]}}",
|
||||
"options": {},
|
||||
"translateTo": "it_IT"
|
||||
},
|
||||
"credentials": {
|
||||
"lingvaNexApi": "LingvaNex"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "HTTP Request",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://www.thecocktaildb.com/api/json/v1/1/random.php",
|
||||
"options": {}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"HTTP Request": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "LingvaNex",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
62
workflows/Manual/0173_Manual_Automate_Triggered.json
Normal file
62
workflows/Manual/0173_Manual_Automate_Triggered.json
Normal file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
220,
|
||||
80
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Mock data",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
420,
|
||||
80
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "// Code here will run only once, no matter how many input items there are.\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.function\n\n\nreturn [ { json: { amount_USD: 50 } }, { json: { amount_USD: 20 } }, { json: { amount_USD: 60 } } ];"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Summing function",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
660,
|
||||
80
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "// Code here will run only once, no matter how many input items there are.\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.function\n\n//Setup an empty variable to hold the count\nlet total = 0;\n\n//Loop over the incoming items of data\nfor (item of items) {\n //For each item of data, add the amount_USD to our total counter\n total += item.json.amount_USD;\n}\n\n//Returns a well formed JSON object with just the total_value . You can either add more data to this returned object OR use the set node afterwards to do it in a no-code way.\nreturn [ { json: { total_value: total } } ];"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Mock data": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Summing function",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Mock data",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
86
workflows/Manual/0175_Manual_Sendy_Create_Triggered.json
Normal file
86
workflows/Manual/0175_Manual_Sendy_Create_Triggered.json
Normal file
@@ -0,0 +1,86 @@
|
||||
{
|
||||
"id": "14",
|
||||
"name": "Add a subscriber to a list and create and send a campaign",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Sendy",
|
||||
"type": "n8n-nodes-base.sendy",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"email": "harshil@n8n.io",
|
||||
"listId": "2",
|
||||
"additionalFields": {
|
||||
"name": "Harshil"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"sendyApi": "sendy"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Sendy1",
|
||||
"type": "n8n-nodes-base.sendy",
|
||||
"position": [
|
||||
650,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"title": "Welcome to n8n",
|
||||
"replyTo": "docs@n8n.io",
|
||||
"subject": "Welcome to n8n",
|
||||
"fromName": "n8n",
|
||||
"htmlText": "<body>\n <p>Hey!</p>\n <p>Welcome to n8n!</p>\n</body>",
|
||||
"resource": "campaign",
|
||||
"fromEmail": "docs@n8n.io",
|
||||
"sendCampaign": true,
|
||||
"additionalFields": {
|
||||
"listIds": "2"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"sendyApi": "sendy"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Sendy": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Sendy1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Sendy",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
62
workflows/Manual/0179_Manual_Automate_Triggered.json
Normal file
62
workflows/Manual/0179_Manual_Automate_Triggered.json
Normal file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
220,
|
||||
80
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Mock data",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
420,
|
||||
80
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "// Code here will run only once, no matter how many input items there are.\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.function\n\n\nreturn [ { json: { amount_USD: 50 } }, { json: { amount_USD: 20 } }, { json: { amount_USD: 60 } } ];"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Summing function",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
660,
|
||||
80
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "// Code here will run only once, no matter how many input items there are.\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.function\n\n//Setup an empty variable to hold the count\nlet total = 0;\n\n//Loop over the incoming items of data\nfor (item of items) {\n //For each item of data, add the amount_USD to our total counter\n total += item.json.amount_USD;\n}\n\n//Returns a well formed JSON object with just the total_value . You can either add more data to this returned object OR use the set node afterwards to do it in a no-code way.\nreturn [ { json: { total_value: total } } ];"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Mock data": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Summing function",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Mock data",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
135
workflows/Manual/0181_Manual_HTTP_Automation_Webhook.json
Normal file
135
workflows/Manual/0181_Manual_HTTP_Automation_Webhook.json
Normal file
@@ -0,0 +1,135 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "FunctionItem",
|
||||
"type": "n8n-nodes-base.functionItem",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "// hashtag list\nconst Hashtags = [\n \"#techtwitter\",\n \"#n8n\"\n];\n\n// random output function\nconst randomHashtag = Hashtags[Math.floor(Math.random() * Hashtags.length)];\nitem.hashtag = randomHashtag;\nreturn item;"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "HTTP Request",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
650,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://api.openai.com/v1/engines/text-davinci-001/completions",
|
||||
"options": {},
|
||||
"requestMethod": "POST",
|
||||
"authentication": "headerAuth",
|
||||
"jsonParameters": true,
|
||||
"bodyParametersJson": "={\n \"prompt\": \"Generate a tweet, with under 100 characters, about and including the hashtag {{$node[\"FunctionItem\"].json[\"hashtag\"]}}:\",\n \"temperature\": 0.7,\n \"max_tokens\": 64,\n \"top_p\": 1,\n \"frequency_penalty\": 0,\n \"presence_penalty\": 0\n}"
|
||||
},
|
||||
"credentials": {
|
||||
"httpHeaderAuth": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Airtable",
|
||||
"type": "n8n-nodes-base.airtable",
|
||||
"position": [
|
||||
1050,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"table": "main",
|
||||
"options": {},
|
||||
"operation": "append",
|
||||
"application": "appOaG8kEA8FAABOr"
|
||||
},
|
||||
"credentials": {
|
||||
"airtableApi": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
850,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "Hashtag",
|
||||
"value": "={{$node[\"FunctionItem\"].json[\"hashtag\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "Content",
|
||||
"value": "={{$node[\"HTTP Request\"].json[\"choices\"][0][\"text\"]}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Set": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Airtable",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"FunctionItem": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTTP Request": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "FunctionItem",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
179
workflows/Manual/0189_Manual_Quickbase_Create_Triggered.json
Normal file
179
workflows/Manual/0189_Manual_Quickbase_Create_Triggered.json
Normal file
@@ -0,0 +1,179 @@
|
||||
{
|
||||
"id": "156",
|
||||
"name": "Create, update and get records in Quick Base",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Quick Base",
|
||||
"type": "n8n-nodes-base.quickbase",
|
||||
"position": [
|
||||
650,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"columns": "name,age",
|
||||
"options": {},
|
||||
"tableId": ""
|
||||
},
|
||||
"credentials": {
|
||||
"quickbaseApi": "Quick Base Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"number": [
|
||||
{
|
||||
"name": "age",
|
||||
"value": 8
|
||||
}
|
||||
],
|
||||
"string": [
|
||||
{
|
||||
"name": "name",
|
||||
"value": "n8n"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set1",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
850,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"number": [
|
||||
{
|
||||
"name": "age",
|
||||
"value": 10
|
||||
},
|
||||
{
|
||||
"name": "Record ID#",
|
||||
"value": "={{$node[\"Quick Base\"].json[\"Record ID#\"]}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Quick Base1",
|
||||
"type": "n8n-nodes-base.quickbase",
|
||||
"position": [
|
||||
1050,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"columns": "age",
|
||||
"options": {},
|
||||
"tableId": "={{$node[\"Quick Base\"].parameter[\"tableId\"]}}",
|
||||
"operation": "update",
|
||||
"updateKey": "Record ID#"
|
||||
},
|
||||
"credentials": {
|
||||
"quickbaseApi": "Quick Base Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Quick Base2",
|
||||
"type": "n8n-nodes-base.quickbase",
|
||||
"position": [
|
||||
1250,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"tableId": "={{$node[\"Quick Base\"].parameter[\"tableId\"]}}",
|
||||
"operation": "getAll"
|
||||
},
|
||||
"credentials": {
|
||||
"quickbaseApi": "Quick Base Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Set": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Quick Base",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Quick Base1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Quick Base": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Quick Base1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Quick Base2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
78
workflows/Manual/0191_Manual_Slack_Automation_Webhook.json
Normal file
78
workflows/Manual/0191_Manual_Slack_Automation_Webhook.json
Normal file
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
160,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Download the file",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
420,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://n8n.io/_nuxt/img/sync-data-between-apps.a4be8c7.png",
|
||||
"options": {},
|
||||
"responseFormat": "file"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Post to Slack",
|
||||
"type": "n8n-nodes-base.slack",
|
||||
"position": [
|
||||
640,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"options": {
|
||||
"channelIds": [
|
||||
"C02GP22NHJ6"
|
||||
],
|
||||
"initialComment": "This is the file"
|
||||
},
|
||||
"resource": "file",
|
||||
"binaryData": true,
|
||||
"authentication": "oAuth2"
|
||||
},
|
||||
"credentials": {
|
||||
"slackOAuth2Api": {
|
||||
"id": "124",
|
||||
"name": "cloud_demo"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Download the file": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Post to Slack",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Download the file",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"id": "157",
|
||||
"name": "Get synonyms of a German word",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
550,
|
||||
260
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "OpenThesaurus",
|
||||
"type": "n8n-nodes-base.openThesaurus",
|
||||
"position": [
|
||||
750,
|
||||
260
|
||||
],
|
||||
"parameters": {
|
||||
"text": "Hallo",
|
||||
"options": {}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "OpenThesaurus",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
107
workflows/Manual/0195_Manual_Pagerduty_Create_Triggered.json
Normal file
107
workflows/Manual/0195_Manual_Pagerduty_Create_Triggered.json
Normal file
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"id": "158",
|
||||
"name": "Create, update, and get an incident on PagerDuty",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
240,
|
||||
260
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "PagerDuty",
|
||||
"type": "n8n-nodes-base.pagerDuty",
|
||||
"position": [
|
||||
440,
|
||||
260
|
||||
],
|
||||
"parameters": {
|
||||
"email": "",
|
||||
"title": "Firewall on Fire",
|
||||
"serviceId": "",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"pagerDutyApi": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "PagerDuty2",
|
||||
"type": "n8n-nodes-base.pagerDuty",
|
||||
"position": [
|
||||
840,
|
||||
260
|
||||
],
|
||||
"parameters": {
|
||||
"operation": "get",
|
||||
"incidentId": "={{$node[\"PagerDuty1\"].json[\"id\"]}}"
|
||||
},
|
||||
"credentials": {
|
||||
"pagerDutyApi": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "PagerDuty1",
|
||||
"type": "n8n-nodes-base.pagerDuty",
|
||||
"position": [
|
||||
640,
|
||||
260
|
||||
],
|
||||
"parameters": {
|
||||
"email": "={{$node[\"PagerDuty\"].parameter[\"email\"]}}",
|
||||
"operation": "update",
|
||||
"incidentId": "={{$node[\"PagerDuty\"].json[\"id\"]}}",
|
||||
"updateFields": {
|
||||
"title": "Firewalls on Fire"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"pagerDutyApi": ""
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"PagerDuty": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "PagerDuty1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"PagerDuty1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "PagerDuty2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "PagerDuty",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
113
workflows/Manual/0198_Manual_Thehive_Create_Triggered.json
Normal file
113
workflows/Manual/0198_Manual_Thehive_Create_Triggered.json
Normal file
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"id": "159",
|
||||
"name": "Create, update and get a case in TheHive",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
270,
|
||||
340
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "TheHive",
|
||||
"type": "n8n-nodes-base.theHive",
|
||||
"position": [
|
||||
470,
|
||||
340
|
||||
],
|
||||
"parameters": {
|
||||
"tags": "n8n, theHive",
|
||||
"owner": "Harshil",
|
||||
"title": "n8n",
|
||||
"options": {},
|
||||
"resource": "case",
|
||||
"severity": 1,
|
||||
"operation": "create",
|
||||
"startDate": "2020-12-03T10:08:14.000Z",
|
||||
"description": "Creating a case from n8n"
|
||||
},
|
||||
"credentials": {
|
||||
"theHiveApi": "hive"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "TheHive1",
|
||||
"type": "n8n-nodes-base.theHive",
|
||||
"position": [
|
||||
670,
|
||||
340
|
||||
],
|
||||
"parameters": {
|
||||
"id": "={{$node[\"TheHive\"].json[\"id\"]}}",
|
||||
"resource": "case",
|
||||
"operation": "update",
|
||||
"updateFields": {
|
||||
"severity": 3
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"theHiveApi": "hive"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "TheHive2",
|
||||
"type": "n8n-nodes-base.theHive",
|
||||
"position": [
|
||||
870,
|
||||
340
|
||||
],
|
||||
"parameters": {
|
||||
"id": "={{$node[\"TheHive\"].json[\"id\"]}}",
|
||||
"resource": "case",
|
||||
"operation": "get"
|
||||
},
|
||||
"credentials": {
|
||||
"theHiveApi": "hive"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"TheHive": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "TheHive1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"TheHive1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "TheHive2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "TheHive",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
48
workflows/Manual/0199_Manual_HTTP_Automation_Webhook.json
Normal file
48
workflows/Manual/0199_Manual_HTTP_Automation_Webhook.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"id": "15",
|
||||
"name": "Bubble Data Access",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "HTTP Request",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://n8n-lessons.bubbleapps.io/version-test/api/1.1/obj/user",
|
||||
"options": {},
|
||||
"authentication": "headerAuth"
|
||||
},
|
||||
"credentials": {
|
||||
"httpHeaderAuth": "Bubble n8n Lessons Token"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,173 @@
|
||||
{
|
||||
"id": "15",
|
||||
"name": "Tools / Backup Gitlab",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
400
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Export Workflows",
|
||||
"type": "n8n-nodes-base.executeCommand",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"command": "npx n8n export:workflow --backup --output repo/workflows/"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Export Credentials",
|
||||
"type": "n8n-nodes-base.executeCommand",
|
||||
"position": [
|
||||
600,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"command": "npx n8n export:credentials --backup --output repo/credentials/"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "git add",
|
||||
"type": "n8n-nodes-base.executeCommand",
|
||||
"position": [
|
||||
750,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"command": "git -C repo add ."
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "git commit",
|
||||
"type": "n8n-nodes-base.executeCommand",
|
||||
"position": [
|
||||
900,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"command": "=git -C repo commit -m \"Auto backup ({{ new Date().toISOString() }})\""
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "git push",
|
||||
"type": "n8n-nodes-base.executeCommand",
|
||||
"position": [
|
||||
1050,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"command": "git -C repo push"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Cron",
|
||||
"type": "n8n-nodes-base.cron",
|
||||
"position": [
|
||||
250,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"triggerTimes": {
|
||||
"item": [
|
||||
{
|
||||
"hour": 0
|
||||
},
|
||||
{
|
||||
"hour": 12
|
||||
},
|
||||
{
|
||||
"hour": 6
|
||||
},
|
||||
{
|
||||
"hour": 18
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": true,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Cron": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Export Workflows",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"git add": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "git commit",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"git commit": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "git push",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Export Workflows": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Export Credentials",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Export Credentials": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "git add",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Export Workflows",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
76
workflows/Manual/0202_Manual_Cortex_Import_Triggered.json
Normal file
76
workflows/Manual/0202_Manual_Cortex_Import_Triggered.json
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"id": "160",
|
||||
"name": "Analyze a URL and get the job details using the Cortex node",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
370,
|
||||
220
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Cortex",
|
||||
"type": "n8n-nodes-base.cortex",
|
||||
"position": [
|
||||
570,
|
||||
220
|
||||
],
|
||||
"parameters": {
|
||||
"analyzer": "f4abc1b633b80f45af165970793fd4fd::Abuse_Finder_3_0",
|
||||
"observableType": "url",
|
||||
"observableValue": "https://n8n.io",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"cortexApi": "cortex"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Cortex1",
|
||||
"type": "n8n-nodes-base.cortex",
|
||||
"position": [
|
||||
770,
|
||||
220
|
||||
],
|
||||
"parameters": {
|
||||
"jobId": "={{$node[\"Cortex\"].json[\"_id\"]}}",
|
||||
"resource": "job"
|
||||
},
|
||||
"credentials": {
|
||||
"cortexApi": "cortex"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Cortex": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Cortex1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Cortex",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"id": "160",
|
||||
"name": "Write a file to the host machine",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
260,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "HTTP Request",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
460,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://docs.n8n.io/assets/img/n8n-logo.png",
|
||||
"options": {},
|
||||
"responseFormat": "file"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Write Binary File",
|
||||
"type": "n8n-nodes-base.writeBinaryFile",
|
||||
"position": [
|
||||
660,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"fileName": "/Users/tanay/Desktop/n8n-logo.png"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"HTTP Request": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Write Binary File",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
111
workflows/Manual/0204_Manual_Questdb_Create_Triggered.json
Normal file
111
workflows/Manual/0204_Manual_Questdb_Create_Triggered.json
Normal file
@@ -0,0 +1,111 @@
|
||||
{
|
||||
"id": "161",
|
||||
"name": "Create a table and insert data into it",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
440,
|
||||
460
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
840,
|
||||
460
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"number": [
|
||||
{
|
||||
"name": "id"
|
||||
}
|
||||
],
|
||||
"string": [
|
||||
{
|
||||
"name": "name",
|
||||
"value": "Tanay"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "QuestDB",
|
||||
"type": "n8n-nodes-base.questDb",
|
||||
"position": [
|
||||
640,
|
||||
460
|
||||
],
|
||||
"parameters": {
|
||||
"query": "CREATE TABLE test (id INT, name STRING);",
|
||||
"operation": "executeQuery"
|
||||
},
|
||||
"credentials": {
|
||||
"questDb": "QuestDB"
|
||||
},
|
||||
"typeVersion": 1,
|
||||
"alwaysOutputData": true
|
||||
},
|
||||
{
|
||||
"name": "QuestDB1",
|
||||
"type": "n8n-nodes-base.questDb",
|
||||
"position": [
|
||||
1040,
|
||||
460
|
||||
],
|
||||
"parameters": {
|
||||
"table": "test",
|
||||
"columns": "id, name"
|
||||
},
|
||||
"credentials": {
|
||||
"questDb": "QuestDB"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Set": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "QuestDB1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"QuestDB": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "QuestDB",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
113
workflows/Manual/0206_Manual_Stickynote_Automation_Webhook.json
Normal file
113
workflows/Manual/0206_Manual_Stickynote_Automation_Webhook.json
Normal file
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
240,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Split Up Binary Data",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
900,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "let results = [];\n\nfor (item of items) {\n for (key of Object.keys(item.binary)) {\n results.push({\n json: {\n fileName: item.binary[key].fileName\n },\n binary: {\n data: item.binary[key],\n }\n });\n }\n}\n\nreturn results;"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Download Example Data",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
460,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://static.thomasmartens.eu/n8n/three_more_files.zip",
|
||||
"options": {},
|
||||
"responseFormat": "file"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Decompress Example Data",
|
||||
"type": "n8n-nodes-base.compression",
|
||||
"position": [
|
||||
680,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
420,
|
||||
120
|
||||
],
|
||||
"parameters": {
|
||||
"width": 400,
|
||||
"height": 360,
|
||||
"content": "## Example Data\nThe first two nodes simply fetch some example data to work with.\n\nIn the real world, you'd probably process incoming emails, uploaded FTP files or something similar instead."
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Note1",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
860,
|
||||
120
|
||||
],
|
||||
"parameters": {
|
||||
"width": 320,
|
||||
"height": 360,
|
||||
"content": "## Transformation\nThis is where the magic happens. Incoming files are split up into individual items, each with a single binary data object under the `data` key."
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Download Example Data": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Decompress Example Data",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Download Example Data",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Decompress Example Data": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Split Up Binary Data",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
171
workflows/Manual/0207_Manual_Slack_Create_Webhook.json
Normal file
171
workflows/Manual/0207_Manual_Slack_Create_Webhook.json
Normal file
@@ -0,0 +1,171 @@
|
||||
{
|
||||
"id": "164",
|
||||
"name": "Create a channel, invite users to the channel, post a message, and upload a file",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
250
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Slack",
|
||||
"type": "n8n-nodes-base.slack",
|
||||
"position": [
|
||||
450,
|
||||
250
|
||||
],
|
||||
"parameters": {
|
||||
"resource": "channel",
|
||||
"channelId": "n8n-docs",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"slackApi": "Slack Bot Access Token"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Slack1",
|
||||
"type": "n8n-nodes-base.slack",
|
||||
"position": [
|
||||
650,
|
||||
250
|
||||
],
|
||||
"parameters": {
|
||||
"userIds": [
|
||||
"U01797FGD6J"
|
||||
],
|
||||
"resource": "channel",
|
||||
"channelId": "={{$node[\"Slack\"].json[\"id\"]}}",
|
||||
"operation": "invite"
|
||||
},
|
||||
"credentials": {
|
||||
"slackApi": "Slack Bot Access Token"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "HTTP Request",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
1050,
|
||||
250
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://n8n.io/n8n-logo.png",
|
||||
"options": {},
|
||||
"responseFormat": "file"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Slack2",
|
||||
"type": "n8n-nodes-base.slack",
|
||||
"position": [
|
||||
850,
|
||||
250
|
||||
],
|
||||
"parameters": {
|
||||
"text": "Welcome to the channel!",
|
||||
"as_user": true,
|
||||
"channel": "={{$node[\"Slack\"].json[\"id\"]}}",
|
||||
"attachments": [
|
||||
{
|
||||
"title": "Logo",
|
||||
"image_url": "https://n8n.io/n8n-logo.png"
|
||||
}
|
||||
],
|
||||
"otherOptions": {}
|
||||
},
|
||||
"credentials": {
|
||||
"slackApi": "Slack Bot Access Token"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Slack3",
|
||||
"type": "n8n-nodes-base.slack",
|
||||
"position": [
|
||||
1250,
|
||||
250
|
||||
],
|
||||
"parameters": {
|
||||
"options": {
|
||||
"channelIds": [
|
||||
"C01FZ3TJR5L"
|
||||
]
|
||||
},
|
||||
"resource": "file",
|
||||
"binaryData": true
|
||||
},
|
||||
"credentials": {
|
||||
"slackApi": "Slack Bot Access Token"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Slack": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Slack1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Slack1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Slack2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Slack2": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTTP Request": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Slack3",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Slack",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
112
workflows/Manual/0208_Manual_Iterable_Create_Triggered.json
Normal file
112
workflows/Manual/0208_Manual_Iterable_Create_Triggered.json
Normal file
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"id": "165",
|
||||
"name": "Create, update and get a user from Iterable",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
310,
|
||||
340
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Iterable",
|
||||
"type": "n8n-nodes-base.iterable",
|
||||
"position": [
|
||||
510,
|
||||
340
|
||||
],
|
||||
"parameters": {
|
||||
"value": "",
|
||||
"identifier": "email",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"iterableApi": "Iterable"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Iterable1",
|
||||
"type": "n8n-nodes-base.iterable",
|
||||
"position": [
|
||||
710,
|
||||
340
|
||||
],
|
||||
"parameters": {
|
||||
"value": "={{$node[\"Iterable\"].parameter[\"value\"]}}",
|
||||
"identifier": "email",
|
||||
"additionalFields": {
|
||||
"dataFieldsUi": {
|
||||
"dataFieldValues": [
|
||||
{
|
||||
"key": "Name",
|
||||
"value": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"iterableApi": "Iterable"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Iterable2",
|
||||
"type": "n8n-nodes-base.iterable",
|
||||
"position": [
|
||||
910,
|
||||
340
|
||||
],
|
||||
"parameters": {
|
||||
"email": "={{$node[\"Iterable\"].parameter[\"value\"]}}",
|
||||
"operation": "get"
|
||||
},
|
||||
"credentials": {
|
||||
"iterableApi": "Iterable"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Iterable": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Iterable1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Iterable1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Iterable2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Iterable",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
76
workflows/Manual/0210_Manual_Yourls_Create_Triggered.json
Normal file
76
workflows/Manual/0210_Manual_Yourls_Create_Triggered.json
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"id": "167",
|
||||
"name": "Create a short URL and get the statistics of the URL",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
370,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Yourls",
|
||||
"type": "n8n-nodes-base.yourls",
|
||||
"position": [
|
||||
570,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://medium.com/n8n-io/sending-sms-the-low-code-way-with-airtable-twilio-programmable-sms-and-n8n-90dbde74223e?source=---------4-----------------------",
|
||||
"additionalFields": {
|
||||
"title": "Sending SMS the Low-Code Way with Airtable, Twilio Programmable SMS, and n8n"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"yourlsApi": "Yourls"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Yourls1",
|
||||
"type": "n8n-nodes-base.yourls",
|
||||
"position": [
|
||||
770,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"shortUrl": "={{$node[\"Yourls\"].json[\"shorturl\"]}}",
|
||||
"operation": "stats"
|
||||
},
|
||||
"credentials": {
|
||||
"yourlsApi": "Yourls"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Yourls": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Yourls1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Yourls",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
282
workflows/Manual/0213_Manual_Markdown_Create_Webhook.json
Normal file
282
workflows/Manual/0213_Manual_Markdown_Create_Webhook.json
Normal file
@@ -0,0 +1,282 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
120,
|
||||
560
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "SortElements",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"position": [
|
||||
480,
|
||||
560
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"operation": "sort",
|
||||
"sortFieldsUi": {
|
||||
"sortField": [
|
||||
{
|
||||
"fieldName": "UserName"
|
||||
},
|
||||
{
|
||||
"fieldName": "TaskTitle"
|
||||
},
|
||||
{
|
||||
"fieldName": "date"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Markdown",
|
||||
"type": "n8n-nodes-base.markdown",
|
||||
"position": [
|
||||
1340,
|
||||
580
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "markdownToHtml",
|
||||
"options": {
|
||||
"tables": true,
|
||||
"noHeaderId": true,
|
||||
"rawHeaderId": false,
|
||||
"simpleLineBreaks": true,
|
||||
"customizedHeaderId": false,
|
||||
"completeHTMLDocument": true
|
||||
},
|
||||
"markdown": "={{$json[\"mdreport\"]}}"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "CreateMDReport",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
1160,
|
||||
580
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "// created report header and custom table style\nvar md_reporthead=\"#Timesheet report\\n\";\nvar md_style = (`\n<style> table {border: 0.5px solid; border-spacing: 0px;}\n table th {border-bottom: 0.5px solid;}\n table thead {background: #D0E4F5;}\n table tr:nth-child(even) { background: #D8D8D8;}\n</style>\\n\\n`);\n\nvar md_reportbody=md_style+md_reporthead;\n\n//declare several variables that are used for report generation\nvar tablehead = \"| Date | Hours | Task Description |\\n|:---|:---:|---|\\n\";\n\nvar cur_user=\"\";\nvar cur_usernum=0;\n\nvar cur_task=\"\";\nvar cur_tasktotal=0;\n\n\nfor (item of items) {\n \n // Check if new user\n if (item.json.UserName != cur_user) {\n // Close previous user's task\n md_reportbody += (cur_tasktotal) ? \"\\n*\"+cur_tasktotal.toFixed(2)+\" - Total hours for this task*\\n\" : \"\";\n cur_tasktotal = 0; cur_task=\"\";\n\n // add new user and embed avatar as base64 image\n cur_user = item.json.UserName;\n md_reportbody += `\\n## ${cur_user}\\n`;\n cur_usernum += 1;\n } // Check for new user - ENDIF\n\n\n // Check if new task\n if (item.json.TaskTitle != cur_task) {\n\n // if not empty task - add total amount of hours for *previous* task\n md_reportbody += (cur_tasktotal) ? `\\n*${cur_tasktotal.toFixed(2)} - Total hours for this task*\\n` : \"\";\n\n // Add new task header and reset total hours counter\n cur_task = item.json.TaskTitle;\n md_reportbody += `\\n###${cur_task}\\n${tablehead}`;\n cur_tasktotal = 0;\n } // Check for new task - ENDIF\n\n // Add current task + update total hours\n md_reportbody += `| ${item.json.date.split('T',1)} | ${item.json.hours.toFixed(2)} | ${item.json.note} |\\n`;\n cur_tasktotal += item.json.hours;\n}\n\n// Let's not forget the last task's total hours:\nmd_reportbody += (cur_tasktotal) ? `\\n*${cur_tasktotal.toFixed(2)} - Total hours for this task*\\n` : \"\";\n\n// Finalise the report\nmd_reportbody += `\\n*Timesheet report generated on: ${$now.toISODate()}*`;\nmd_reporthead += \"\\n\";\n\nreturn [{mdreport: md_reportbody}];"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Send Email",
|
||||
"type": "n8n-nodes-base.emailSend",
|
||||
"disabled": true,
|
||||
"position": [
|
||||
1760,
|
||||
580
|
||||
],
|
||||
"parameters": {
|
||||
"options": {
|
||||
"allowUnauthorizedCerts": false
|
||||
},
|
||||
"subject": "TimeSheet report",
|
||||
"attachments": "data"
|
||||
},
|
||||
"credentials": {
|
||||
"smtp": {
|
||||
"id": "2",
|
||||
"name": "info@stats.consult"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "GetImg",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"position": [
|
||||
640,
|
||||
760
|
||||
],
|
||||
"parameters": {
|
||||
"compare": "selectedFields",
|
||||
"options": {
|
||||
"removeOtherFields": true
|
||||
},
|
||||
"operation": "removeDuplicates",
|
||||
"fieldsToCompare": {
|
||||
"fields": [
|
||||
{
|
||||
"fieldName": "UserAvatar"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "ImgBinary",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
820,
|
||||
760
|
||||
],
|
||||
"parameters": {
|
||||
"url": "={{$json[\"UserAvatar\"]}}",
|
||||
"options": {},
|
||||
"responseFormat": "file"
|
||||
},
|
||||
"typeVersion": 2
|
||||
},
|
||||
{
|
||||
"name": "Merge2",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"position": [
|
||||
980,
|
||||
580
|
||||
],
|
||||
"parameters": {
|
||||
"join": "outer",
|
||||
"mode": "mergeByIndex"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Move Binary Data1",
|
||||
"type": "n8n-nodes-base.moveBinaryData",
|
||||
"position": [
|
||||
1520,
|
||||
580
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "jsonToBinary",
|
||||
"options": {
|
||||
"fileName": "report.html",
|
||||
"mimeType": "text/html",
|
||||
"useRawData": true
|
||||
},
|
||||
"convertAllData": false
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "GetTimesheetRecords",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
300,
|
||||
560
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "return [{UserName: \"User 1 - Lead Programmer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=robohash&s=32\",\n TaskTitle: \"Admin\",\n date: \"2022-05-31T00:00:00.0000000+02:00\",\n note: \"Creating invoices and submitting timesheets\",\n hours: 0.5},\n {UserName: \"User 1 - Lead Programmer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=robohash&s=32\",\n TaskTitle: \"Admin\",\n date: \"2022-05-02T00:00:00.0000000+02:00\",\n note: \"Reporting last month's activity\",\n hours: 0.5},\n {UserName: \"User 2 - Designer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=identicon&s=32\",\n TaskTitle: \"Admin\",\n date: \"2022-05-30T00:00:00.0000000+02:00\",\n note: \"Filling timesheets\",\n hours: 0.5},\n {UserName: \"User 2 - Designer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=identicon&s=32\",\n TaskTitle: \"Admin\",\n date: \"2022-05-03T00:00:00.0000000+02:00\",\n note: \"Monthly retro meeting\",\n hours: 0.5},\n {UserName: \"User 1 - Lead Programmer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=robohash&s=32\",\n TaskTitle: \"Client 1\",\n date: \"2022-05-26T00:00:00.0000000+02:00\",\n note: \"Weekly meeting\",\n hours: 0.5},\n {UserName: \"User 1 - Lead Programmer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=robohash&s=32\",\n TaskTitle: \"Client 1\",\n date: \"2022-05-05T00:00:00.0000000+02:00\",\n note: \"Weekly meeting\",\n hours: 0.5},\n {UserName: \"User 1 - Lead Programmer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=robohash&s=32\",\n TaskTitle: \"Client 1\",\n date: \"2022-05-19T00:00:00.0000000+02:00\",\n note: \"Weekly meeting\",\n hours: 0.5},\n {UserName: \"User 1 - Lead Programmer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=robohash&s=32\",\n TaskTitle: \"Client 1\",\n date: \"2022-05-12T00:00:00.0000000+02:00\",\n note: \"Weekly meeting\",\n hours: 0.5},\n {UserName: \"User 1 - Lead Programmer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=robohash&s=32\",\n TaskTitle: \"Client 1\",\n date: \"2022-05-12T00:00:00.0000000+02:00\",\n note: \"Programmed new feature\",\n hours: 4.5},\n {UserName: \"User 1 - Lead Programmer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=robohash&s=32\",\n TaskTitle: \"Client 1\",\n date: \"2022-05-02T00:00:00.0000000+02:00\",\n note: \"Updated this and that\",\n hours: 2.75},\n {UserName: \"User 2 - Designer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=identicon&s=32\",\n TaskTitle: \"Client 2\",\n date: \"2022-05-13T00:00:00.0000000+02:00\",\n note: \"Designed a new report template\",\n hours: 6.5},\n {UserName: \"User 2 - Designer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=identicon&s=32\",\n TaskTitle: \"Client 2\",\n date: \"2022-05-23T00:00:00.0000000+02:00\",\n note: \"Presented the results\",\n hours: 1.5}\n ];"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"GetImg": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "ImgBinary",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Merge2": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "CreateMDReport",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Markdown": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Move Binary Data1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"ImgBinary": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge2",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"SortElements": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "GetImg",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Merge2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"CreateMDReport": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Markdown",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Move Binary Data1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Send Email",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"GetTimesheetRecords": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "SortElements",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "GetTimesheetRecords",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
282
workflows/Manual/0214_Manual_Markdown_Create_Webhook.json
Normal file
282
workflows/Manual/0214_Manual_Markdown_Create_Webhook.json
Normal file
@@ -0,0 +1,282 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
120,
|
||||
560
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "SortElements",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"position": [
|
||||
480,
|
||||
560
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"operation": "sort",
|
||||
"sortFieldsUi": {
|
||||
"sortField": [
|
||||
{
|
||||
"fieldName": "UserName"
|
||||
},
|
||||
{
|
||||
"fieldName": "TaskTitle"
|
||||
},
|
||||
{
|
||||
"fieldName": "date"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Markdown",
|
||||
"type": "n8n-nodes-base.markdown",
|
||||
"position": [
|
||||
1340,
|
||||
580
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "markdownToHtml",
|
||||
"options": {
|
||||
"tables": true,
|
||||
"noHeaderId": true,
|
||||
"rawHeaderId": false,
|
||||
"simpleLineBreaks": true,
|
||||
"customizedHeaderId": false,
|
||||
"completeHTMLDocument": true
|
||||
},
|
||||
"markdown": "={{$json[\"mdreport\"]}}"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "CreateMDReport",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
1160,
|
||||
580
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "// created report header and custom table style\nvar md_reporthead=\"#Timesheet report\\n\";\nvar md_style = (`\n<style> table {border: 0.5px solid; border-spacing: 0px;}\n table th {border-bottom: 0.5px solid;}\n table thead {background: #D0E4F5;}\n table tr:nth-child(even) { background: #D8D8D8;}\n</style>\\n\\n`);\n\nvar md_reportbody=md_style+md_reporthead;\n\n//declare several variables that are used for report generation\nvar tablehead = \"| Date | Hours | Task Description |\\n|:---|:---:|---|\\n\";\n\nvar cur_user=\"\";\nvar cur_usernum=0;\n\nvar cur_task=\"\";\nvar cur_tasktotal=0;\n\n\nfor (item of items) {\n \n // Check if new user\n if (item.json.UserName != cur_user) {\n // Close previous user's task\n md_reportbody += (cur_tasktotal) ? \"\\n*\"+cur_tasktotal.toFixed(2)+\" - Total hours for this task*\\n\" : \"\";\n cur_tasktotal = 0; cur_task=\"\";\n\n // add new user and embed avatar as base64 image\n cur_user = item.json.UserName;\n md_reportbody += `\\n## ${cur_user}\\n`;\n cur_usernum += 1;\n } // Check for new user - ENDIF\n\n\n // Check if new task\n if (item.json.TaskTitle != cur_task) {\n\n // if not empty task - add total amount of hours for *previous* task\n md_reportbody += (cur_tasktotal) ? `\\n*${cur_tasktotal.toFixed(2)} - Total hours for this task*\\n` : \"\";\n\n // Add new task header and reset total hours counter\n cur_task = item.json.TaskTitle;\n md_reportbody += `\\n###${cur_task}\\n${tablehead}`;\n cur_tasktotal = 0;\n } // Check for new task - ENDIF\n\n // Add current task + update total hours\n md_reportbody += `| ${item.json.date.split('T',1)} | ${item.json.hours.toFixed(2)} | ${item.json.note} |\\n`;\n cur_tasktotal += item.json.hours;\n}\n\n// Let's not forget the last task's total hours:\nmd_reportbody += (cur_tasktotal) ? `\\n*${cur_tasktotal.toFixed(2)} - Total hours for this task*\\n` : \"\";\n\n// Finalise the report\nmd_reportbody += `\\n*Timesheet report generated on: ${$now.toISODate()}*`;\nmd_reporthead += \"\\n\";\n\nreturn [{mdreport: md_reportbody}];"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Send Email",
|
||||
"type": "n8n-nodes-base.emailSend",
|
||||
"disabled": true,
|
||||
"position": [
|
||||
1760,
|
||||
580
|
||||
],
|
||||
"parameters": {
|
||||
"options": {
|
||||
"allowUnauthorizedCerts": false
|
||||
},
|
||||
"subject": "TimeSheet report",
|
||||
"attachments": "data"
|
||||
},
|
||||
"credentials": {
|
||||
"smtp": {
|
||||
"id": "2",
|
||||
"name": "info@stats.consult"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "GetImg",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"position": [
|
||||
640,
|
||||
760
|
||||
],
|
||||
"parameters": {
|
||||
"compare": "selectedFields",
|
||||
"options": {
|
||||
"removeOtherFields": true
|
||||
},
|
||||
"operation": "removeDuplicates",
|
||||
"fieldsToCompare": {
|
||||
"fields": [
|
||||
{
|
||||
"fieldName": "UserAvatar"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "ImgBinary",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
820,
|
||||
760
|
||||
],
|
||||
"parameters": {
|
||||
"url": "={{$json[\"UserAvatar\"]}}",
|
||||
"options": {},
|
||||
"responseFormat": "file"
|
||||
},
|
||||
"typeVersion": 2
|
||||
},
|
||||
{
|
||||
"name": "Merge2",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"position": [
|
||||
980,
|
||||
580
|
||||
],
|
||||
"parameters": {
|
||||
"join": "outer",
|
||||
"mode": "mergeByIndex"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Move Binary Data1",
|
||||
"type": "n8n-nodes-base.moveBinaryData",
|
||||
"position": [
|
||||
1520,
|
||||
580
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "jsonToBinary",
|
||||
"options": {
|
||||
"fileName": "report.html",
|
||||
"mimeType": "text/html",
|
||||
"useRawData": true
|
||||
},
|
||||
"convertAllData": false
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "GetTimesheetRecords",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
300,
|
||||
560
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "return [{UserName: \"User 1 - Lead Programmer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=robohash&s=32\",\n TaskTitle: \"Admin\",\n date: \"2022-05-31T00:00:00.0000000+02:00\",\n note: \"Creating invoices and submitting timesheets\",\n hours: 0.5},\n {UserName: \"User 1 - Lead Programmer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=robohash&s=32\",\n TaskTitle: \"Admin\",\n date: \"2022-05-02T00:00:00.0000000+02:00\",\n note: \"Reporting last month's activity\",\n hours: 0.5},\n {UserName: \"User 2 - Designer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=identicon&s=32\",\n TaskTitle: \"Admin\",\n date: \"2022-05-30T00:00:00.0000000+02:00\",\n note: \"Filling timesheets\",\n hours: 0.5},\n {UserName: \"User 2 - Designer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=identicon&s=32\",\n TaskTitle: \"Admin\",\n date: \"2022-05-03T00:00:00.0000000+02:00\",\n note: \"Monthly retro meeting\",\n hours: 0.5},\n {UserName: \"User 1 - Lead Programmer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=robohash&s=32\",\n TaskTitle: \"Client 1\",\n date: \"2022-05-26T00:00:00.0000000+02:00\",\n note: \"Weekly meeting\",\n hours: 0.5},\n {UserName: \"User 1 - Lead Programmer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=robohash&s=32\",\n TaskTitle: \"Client 1\",\n date: \"2022-05-05T00:00:00.0000000+02:00\",\n note: \"Weekly meeting\",\n hours: 0.5},\n {UserName: \"User 1 - Lead Programmer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=robohash&s=32\",\n TaskTitle: \"Client 1\",\n date: \"2022-05-19T00:00:00.0000000+02:00\",\n note: \"Weekly meeting\",\n hours: 0.5},\n {UserName: \"User 1 - Lead Programmer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=robohash&s=32\",\n TaskTitle: \"Client 1\",\n date: \"2022-05-12T00:00:00.0000000+02:00\",\n note: \"Weekly meeting\",\n hours: 0.5},\n {UserName: \"User 1 - Lead Programmer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=robohash&s=32\",\n TaskTitle: \"Client 1\",\n date: \"2022-05-12T00:00:00.0000000+02:00\",\n note: \"Programmed new feature\",\n hours: 4.5},\n {UserName: \"User 1 - Lead Programmer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=robohash&s=32\",\n TaskTitle: \"Client 1\",\n date: \"2022-05-02T00:00:00.0000000+02:00\",\n note: \"Updated this and that\",\n hours: 2.75},\n {UserName: \"User 2 - Designer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=identicon&s=32\",\n TaskTitle: \"Client 2\",\n date: \"2022-05-13T00:00:00.0000000+02:00\",\n note: \"Designed a new report template\",\n hours: 6.5},\n {UserName: \"User 2 - Designer\",\n UserAvatar: \"https://www.gravatar.com/avatar/?d=identicon&s=32\",\n TaskTitle: \"Client 2\",\n date: \"2022-05-23T00:00:00.0000000+02:00\",\n note: \"Presented the results\",\n hours: 1.5}\n ];"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"GetImg": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "ImgBinary",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Merge2": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "CreateMDReport",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Markdown": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Move Binary Data1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"ImgBinary": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge2",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"SortElements": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "GetImg",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Merge2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"CreateMDReport": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Markdown",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Move Binary Data1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Send Email",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"GetTimesheetRecords": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "SortElements",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "GetTimesheetRecords",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"name": "Very quick quickstart",
|
||||
"nodes": [
|
||||
{
|
||||
"id": "cbb6afcc-f900-434d-ad2e-affb31ccf7a9",
|
||||
"name": "Customer Datastore",
|
||||
"type": "n8n-nodes-base.n8nTrainingCustomerDatastore",
|
||||
"position": [
|
||||
1000,
|
||||
740
|
||||
],
|
||||
"parameters": {
|
||||
"operation": "getAllPeople",
|
||||
"returnAll": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "1eb939c0-e391-4e3b-9751-889da2de7cf7",
|
||||
"name": "Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
460,
|
||||
460
|
||||
],
|
||||
"parameters": {
|
||||
"width": 300,
|
||||
"height": 220,
|
||||
"content": "## About the very quick quickstart workflow\n\nThis is an incomplete workflow, used in the [very quick quickstart](https://docs.n8n.io//try-it-out/quickstart/) tutorial."
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "c53a8591-9efe-4fb8-993b-6cc309f3240e",
|
||||
"name": "Note1",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
940,
|
||||
640
|
||||
],
|
||||
"parameters": {
|
||||
"width": 220,
|
||||
"height": 300,
|
||||
"content": "**Get fake sample data**"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "c7e35ca4-b180-4280-9e43-a5dda5d3ea97",
|
||||
"name": "Note2",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1220,
|
||||
640
|
||||
],
|
||||
"parameters": {
|
||||
"width": 220,
|
||||
"height": 300,
|
||||
"content": "**Extract data and prepare it for use in the next node**"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "94bba884-5cef-4fe6-ba7d-cc7dbe49839c",
|
||||
"name": "When clicking \"Test Workflow\"",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
760,
|
||||
740
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "f6d22d64-c77f-415d-9c34-c7106ba4877a",
|
||||
"name": "Edit Fields1",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
1280,
|
||||
740
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"assignments": {
|
||||
"assignments": [
|
||||
{
|
||||
"id": "df041e3c-fc09-4ba2-8e6b-37f2c6a02526",
|
||||
"name": "customer_id",
|
||||
"type": "string",
|
||||
"value": "={{ $json.id }}"
|
||||
},
|
||||
{
|
||||
"id": "bf288953-4fef-4f55-a45f-c223714919c0",
|
||||
"name": "customer_name",
|
||||
"type": "string",
|
||||
"value": "={{ $json.name }}"
|
||||
},
|
||||
{
|
||||
"id": "1cff0b21-6740-4697-9d2c-9bcb045af0be",
|
||||
"name": "customer_description",
|
||||
"type": "string",
|
||||
"value": "={{ $json.notes }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 3.3
|
||||
}
|
||||
],
|
||||
"pinData": {},
|
||||
"connections": {
|
||||
"Edit Fields1": {
|
||||
"main": [
|
||||
[]
|
||||
]
|
||||
},
|
||||
"Customer Datastore": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Edit Fields1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"When clicking \"Test Workflow\"": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Customer Datastore",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
110
workflows/Manual/0217_Manual_Ghost_Create_Triggered.json
Normal file
110
workflows/Manual/0217_Manual_Ghost_Create_Triggered.json
Normal file
@@ -0,0 +1,110 @@
|
||||
{
|
||||
"id": "170",
|
||||
"name": "Create, update, and get a post in Ghost",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
310,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Ghost",
|
||||
"type": "n8n-nodes-base.ghost",
|
||||
"position": [
|
||||
510,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"title": "Running ghost with n8n!",
|
||||
"source": "adminApi",
|
||||
"content": "<p>In this article, you will learn how to automate your Ghost site with n8n!</p>",
|
||||
"operation": "create",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"ghostAdminApi": "Ghost Admin API"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Ghost1",
|
||||
"type": "n8n-nodes-base.ghost",
|
||||
"position": [
|
||||
710,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"postId": "={{$node[\"Ghost\"].json[\"id\"]}}",
|
||||
"source": "adminApi",
|
||||
"operation": "update",
|
||||
"updateFields": {
|
||||
"status": "published"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"ghostAdminApi": "Ghost Admin API"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Ghost2",
|
||||
"type": "n8n-nodes-base.ghost",
|
||||
"position": [
|
||||
910,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"by": "id",
|
||||
"source": "adminApi",
|
||||
"options": {},
|
||||
"identifier": "={{$node[\"Ghost\"].json[\"id\"]}}"
|
||||
},
|
||||
"credentials": {
|
||||
"ghostAdminApi": "Ghost Admin API"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Ghost": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Ghost1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Ghost1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Ghost2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Ghost",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
179
workflows/Manual/0218_Manual_Airtable_Update_Triggered.json
Normal file
179
workflows/Manual/0218_Manual_Airtable_Update_Triggered.json
Normal file
@@ -0,0 +1,179 @@
|
||||
{
|
||||
"id": "171",
|
||||
"name": "Insert and update data in Airtable",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
500,
|
||||
350
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Airtable",
|
||||
"type": "n8n-nodes-base.airtable",
|
||||
"position": [
|
||||
900,
|
||||
350
|
||||
],
|
||||
"parameters": {
|
||||
"table": "Table 1",
|
||||
"options": {},
|
||||
"operation": "append",
|
||||
"application": ""
|
||||
},
|
||||
"credentials": {
|
||||
"airtableApi": "Airtable Credentials n8n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Airtable1",
|
||||
"type": "n8n-nodes-base.airtable",
|
||||
"position": [
|
||||
1100,
|
||||
350
|
||||
],
|
||||
"parameters": {
|
||||
"table": "={{$node[\"Airtable\"].parameter[\"table\"]}}",
|
||||
"operation": "list",
|
||||
"application": "={{$node[\"Airtable\"].parameter[\"application\"]}}",
|
||||
"additionalOptions": {
|
||||
"filterByFormula": "Name='n8n'"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"airtableApi": "Airtable Credentials n8n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
700,
|
||||
350
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"number": [
|
||||
{
|
||||
"name": "ID",
|
||||
"value": 3
|
||||
}
|
||||
],
|
||||
"string": [
|
||||
{
|
||||
"name": "Name",
|
||||
"value": "n8n"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set1",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
1300,
|
||||
350
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "Name",
|
||||
"value": "nodemation"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Airtable2",
|
||||
"type": "n8n-nodes-base.airtable",
|
||||
"position": [
|
||||
1500,
|
||||
350
|
||||
],
|
||||
"parameters": {
|
||||
"id": "={{$node[\"Airtable1\"].json[\"id\"]}}",
|
||||
"table": "={{$node[\"Airtable\"].parameter[\"table\"]}}",
|
||||
"options": {},
|
||||
"operation": "update",
|
||||
"application": "={{$node[\"Airtable\"].parameter[\"application\"]}}"
|
||||
},
|
||||
"credentials": {
|
||||
"airtableApi": "Airtable Credentials n8n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Set": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Airtable",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Airtable2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Airtable": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Airtable1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Airtable1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
178
workflows/Manual/0219_Manual_Snowflake_Create_Triggered.json
Normal file
178
workflows/Manual/0219_Manual_Snowflake_Create_Triggered.json
Normal file
@@ -0,0 +1,178 @@
|
||||
{
|
||||
"id": "172",
|
||||
"name": "Create a table, and insert and update data in the table in Snowflake",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
650,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"number": [
|
||||
{
|
||||
"name": "id",
|
||||
"value": 1
|
||||
}
|
||||
],
|
||||
"string": [
|
||||
{
|
||||
"name": "name",
|
||||
"value": "n8n"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Snowflake",
|
||||
"type": "n8n-nodes-base.snowflake",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"query": "CREATE TABLE docs (id INT, name STRING);",
|
||||
"operation": "executeQuery"
|
||||
},
|
||||
"credentials": {
|
||||
"snowflake": "Snowflake n8n Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Snowflake1",
|
||||
"type": "n8n-nodes-base.snowflake",
|
||||
"position": [
|
||||
850,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"table": "docs",
|
||||
"columns": "id, name"
|
||||
},
|
||||
"credentials": {
|
||||
"snowflake": "Snowflake n8n Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set1",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
1050,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"number": [
|
||||
{
|
||||
"name": "id",
|
||||
"value": 1
|
||||
}
|
||||
],
|
||||
"string": [
|
||||
{
|
||||
"name": "name",
|
||||
"value": "nodemation"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Snowflake2",
|
||||
"type": "n8n-nodes-base.snowflake",
|
||||
"position": [
|
||||
1250,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"table": "={{$node[\"Snowflake1\"].parameter[\"table\"]}}",
|
||||
"columns": "name",
|
||||
"operation": "update"
|
||||
},
|
||||
"credentials": {
|
||||
"snowflake": "Snowflake n8n Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Set": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Snowflake1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Snowflake2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Snowflake": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Snowflake1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Snowflake",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
124
workflows/Manual/0225_Manual_Twist_Create_Triggered.json
Normal file
124
workflows/Manual/0225_Manual_Twist_Create_Triggered.json
Normal file
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"id": "173",
|
||||
"name": "Create and update a channel, and send a message on Twist",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
470,
|
||||
260
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Twist",
|
||||
"type": "n8n-nodes-base.twist",
|
||||
"position": [
|
||||
670,
|
||||
260
|
||||
],
|
||||
"parameters": {
|
||||
"name": "n8n-docs",
|
||||
"resource": "channel",
|
||||
"workspaceId": 150329,
|
||||
"additionalFields": {
|
||||
"user_ids": [
|
||||
475370
|
||||
]
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"twistOAuth2Api": "Twist OAuth Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Twist1",
|
||||
"type": "n8n-nodes-base.twist",
|
||||
"position": [
|
||||
870,
|
||||
260
|
||||
],
|
||||
"parameters": {
|
||||
"resource": "channel",
|
||||
"channelId": "={{$node[\"Twist\"].json[\"id\"]}}",
|
||||
"operation": "update",
|
||||
"updateFields": {
|
||||
"description": "Discussion for documentation"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"twistOAuth2Api": "Twist OAuth Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Twist2",
|
||||
"type": "n8n-nodes-base.twist",
|
||||
"position": [
|
||||
1070,
|
||||
260
|
||||
],
|
||||
"parameters": {
|
||||
"content": "=Hey [Harshil](twist-mention://475370)!\nYou have been added to the {{$node[\"Twist\"].json[\"name\"]}} channel.\nClick on the button below to quickly navigate to the documentation website.",
|
||||
"workspaceId": 150329,
|
||||
"conversationId": 989141,
|
||||
"additionalFields": {
|
||||
"actionsUi": {
|
||||
"actionValues": [
|
||||
{
|
||||
"url": "https://docs.n8n.io",
|
||||
"type": "action",
|
||||
"action": "open_url",
|
||||
"button_text": "Documentation site"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"twistOAuth2Api": "Twist OAuth Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Twist": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Twist1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Twist1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Twist2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Twist",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
205
workflows/Manual/0226_Manual_Stickynote_Update_Triggered.json
Normal file
205
workflows/Manual/0226_Manual_Stickynote_Update_Triggered.json
Normal file
@@ -0,0 +1,205 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
1140,
|
||||
780
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1480,
|
||||
760
|
||||
],
|
||||
"parameters": {
|
||||
"width": 560,
|
||||
"height": 400,
|
||||
"content": "## 2. Advanced way: Using Expressions\nIn this `Set` node, we set dates using [Luxon expressions](https://docs.n8n.io/code-examples/expressions/luxon/) for the following formats:\n\nNow - `{{$now}}`\nCurrent time with seconds - `{{$now.toLocaleString(DateTime.TIME_WITH_SECONDS)}}`\nToday - `{{$today}}`\nTomorrow - `{{$today.plus({days: 1})}}`\nOne hour ago - `{{$now.minus({hours: 1})}}`\nWeekday name - `{{$today.weekdayLong}}`\n\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Note3",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
660,
|
||||
780
|
||||
],
|
||||
"parameters": {
|
||||
"width": 420,
|
||||
"height": 100,
|
||||
"content": "### Click the `Execute Workflow` button and double click on the nodes to see the input and output items."
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "12 Hours from now",
|
||||
"type": "n8n-nodes-base.dateTime",
|
||||
"position": [
|
||||
1520,
|
||||
580
|
||||
],
|
||||
"parameters": {
|
||||
"value": "={{$now}}",
|
||||
"action": "calculate",
|
||||
"options": {},
|
||||
"duration": 12,
|
||||
"timeUnit": "hours"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Note1",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1480,
|
||||
400
|
||||
],
|
||||
"parameters": {
|
||||
"width": 560,
|
||||
"height": 340,
|
||||
"content": "## 1. Simple Way: Using the Date & Time node\nThere are two actions available within the `Date & Time` node:\n1. Calculating a date - adding/substracting minutes,hours, days, etc.\n2. Formatting a date\n\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Note4",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1980,
|
||||
860
|
||||
],
|
||||
"parameters": {
|
||||
"width": 480,
|
||||
"height": 320,
|
||||
"content": "### 2.1 Working with an existing time string\nAs items pass between nodes, n8n saves dates as ISO strings. This means that in order to work with the data as a date again, we need to convert it back using `DateTime.fromISO('yyyy-mm-dd')`\n. Once doing that, we are able to apply date and time function again such as : `{{DateTime.fromISO($json[\"Now\"]).toFormat('yyyy LLL dd')}}`"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set times",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
1520,
|
||||
1020
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "Now",
|
||||
"value": "={{$now}}"
|
||||
},
|
||||
{
|
||||
"name": "Current time with seconds",
|
||||
"value": "={{$now.toLocaleString(DateTime.TIME_WITH_SECONDS)}}"
|
||||
},
|
||||
{
|
||||
"name": "Today",
|
||||
"value": "={{$today}}"
|
||||
},
|
||||
{
|
||||
"name": "Tomorrow",
|
||||
"value": "={{$today.plus({days: 1})}}"
|
||||
},
|
||||
{
|
||||
"name": "One hour from now",
|
||||
"value": "={{$now.minus({hours: 1})}}"
|
||||
},
|
||||
{
|
||||
"name": "Weekday",
|
||||
"value": "={{$today.weekdayLong}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Edit times",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
2080,
|
||||
1020
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "Current time",
|
||||
"value": "={{DateTime.fromISO($json[\"Now\"])}}"
|
||||
},
|
||||
{
|
||||
"name": "Current time formatted",
|
||||
"value": "={{DateTime.fromISO($json[\"Now\"]).toFormat('yyyy LLL dd')}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Format - MMMM DD YY",
|
||||
"type": "n8n-nodes-base.dateTime",
|
||||
"position": [
|
||||
1760,
|
||||
580
|
||||
],
|
||||
"parameters": {
|
||||
"value": "={{$now}}",
|
||||
"options": {},
|
||||
"toFormat": "MMMM DD YYYY"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Set times": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Edit times",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"12 Hours from now": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Format - MMMM DD YY",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set times",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "12 Hours from now",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,189 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
20,
|
||||
720
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Customer Datastore",
|
||||
"type": "n8n-nodes-base.n8nTrainingCustomerDatastore",
|
||||
"position": [
|
||||
220,
|
||||
720
|
||||
],
|
||||
"parameters": {
|
||||
"operation": "getAllPeople"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
500,
|
||||
600
|
||||
],
|
||||
"parameters": {
|
||||
"width": 520,
|
||||
"height": 280,
|
||||
"content": "## 2. If with And/Or conditions\nSet the **Combine** field to: \n`ALL` for `AND` condition\n`ANY` for `OR` condition"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Note1",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
500,
|
||||
920
|
||||
],
|
||||
"parameters": {
|
||||
"width": 520,
|
||||
"height": 360,
|
||||
"content": "## 3. Multiple branches\nWe use the `Switch` when there more than 2 possible outcomes to the filtering. We do that by specifying the condition under **Routing rules** inside the node.\n\nIn this example we send all **US-based** customers data to route 0, **customers from CO** to route 1, **customers from the UK** to route 2, and all the rest to route 3 as a fallback"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Note2",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
500,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"width": 520,
|
||||
"height": 260,
|
||||
"content": "## 1. Single condition If\nFilter out data that you don't want or send data to different branches"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Note3",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
-520,
|
||||
660
|
||||
],
|
||||
"parameters": {
|
||||
"width": 480,
|
||||
"height": 240,
|
||||
"content": "## The `If` and the `Switch` nodes are the key nodes to set conditional logic for filtering and routing data\n\n\n### Click `Execute Workflow` button and double click on the nodes to see the input and output items when you click on each node."
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Country equals US",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
540,
|
||||
420
|
||||
],
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$json[\"country\"]}}",
|
||||
"value2": "US"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Country is empty or Name contains 'Max'",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
540,
|
||||
720
|
||||
],
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$json[\"country\"]}}",
|
||||
"operation": "isEmpty"
|
||||
},
|
||||
{
|
||||
"value1": "={{$json[\"name\"]}}",
|
||||
"value2": "Max",
|
||||
"operation": "contains"
|
||||
}
|
||||
]
|
||||
},
|
||||
"combineOperation": "any"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Country based branching",
|
||||
"type": "n8n-nodes-base.switch",
|
||||
"position": [
|
||||
540,
|
||||
1120
|
||||
],
|
||||
"parameters": {
|
||||
"rules": {
|
||||
"rules": [
|
||||
{
|
||||
"value2": "US"
|
||||
},
|
||||
{
|
||||
"output": 1,
|
||||
"value2": "CO"
|
||||
},
|
||||
{
|
||||
"output": 2,
|
||||
"value2": "UK"
|
||||
}
|
||||
]
|
||||
},
|
||||
"value1": "={{$json[\"country\"]}}",
|
||||
"dataType": "string",
|
||||
"fallbackOutput": 3
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Customer Datastore": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Country is empty or Name contains 'Max'",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Country based branching",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Country equals US",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Customer Datastore",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
359
workflows/Manual/0228_Manual_Stickynote_Automate_Triggered.json
Normal file
359
workflows/Manual/0228_Manual_Stickynote_Automate_Triggered.json
Normal file
@@ -0,0 +1,359 @@
|
||||
{
|
||||
"meta": {
|
||||
"instanceId": "8c8c5237b8e37b006a7adce87f4369350c58e41f3ca9de16196d3197f69eabcd"
|
||||
},
|
||||
"nodes": [
|
||||
{
|
||||
"id": "9971f7ab-ecc3-468b-8eb9-b58491b660bd",
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
1040,
|
||||
360
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "bb212963-9b6f-434c-9777-3360fb456d4b",
|
||||
"name": "Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1320,
|
||||
600
|
||||
],
|
||||
"parameters": {
|
||||
"width": 1020,
|
||||
"height": 360,
|
||||
"content": "# 3. Add items from B below items from A\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "cc9461f1-1016-4ef5-bc10-525942c45047",
|
||||
"name": "Note1",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1320,
|
||||
-200
|
||||
],
|
||||
"parameters": {
|
||||
"width": 1020,
|
||||
"height": 380,
|
||||
"content": "# 1. Keep items from A if there's a match in B\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "09a68f64-5b2d-43a8-acff-7c26817cc025",
|
||||
"name": "Note2",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1320,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"width": 1020,
|
||||
"height": 380,
|
||||
"content": "# 2. Enrich items from A with matching data from B"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "bcf0c7df-fb64-4ef8-9d75-300ff9b55f40",
|
||||
"name": "Note4",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
175,
|
||||
235
|
||||
],
|
||||
"parameters": {
|
||||
"width": 740,
|
||||
"height": 460,
|
||||
"content": "# Aggregating data with the Merge node\n\n## The merge node is one of the most useful nodes in n8n. In this workflow we show how to merge data from two different sources (similar to SQL joins).\n\n## The most-used operations of the merge node are presented here. For more info, browse the [merge node docs](https://docs.n8n.io/integrations/core-nodes/n8n-nodes-base.merge/)\n\n## Click the `Execute Workflow` button and double click on the nodes to see the input and output items."
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "b418defd-f58f-4f53-9bac-b1e6611151dc",
|
||||
"name": "Note6",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1855,
|
||||
335
|
||||
],
|
||||
"parameters": {
|
||||
"width": 480,
|
||||
"content": "## Adds the quantity needed to each ingredient in the recipe\n\n## Similar to SQL Left join\n\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "017b5902-865e-4481-98d2-0a969cc09482",
|
||||
"name": "Note8",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1855,
|
||||
-65
|
||||
],
|
||||
"parameters": {
|
||||
"width": 480,
|
||||
"content": "## This will keep only the ingredients needed that are also in stock\n\n## Similar to SQL Inner join"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "e2b46667-da41-4448-a74d-3aa095f72619",
|
||||
"name": "Note9",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1855,
|
||||
695
|
||||
],
|
||||
"parameters": {
|
||||
"width": 480,
|
||||
"height": 200,
|
||||
"content": "## This will create a super band by merging Queen and Led Zeppelin\n\n## Similar to SQL Union All \n(more flexible as not requires all fields to be the same)"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "9726c9cc-cab1-44f8-8c62-2b80899af4aa",
|
||||
"name": "Ingredients in stock from recipe",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"position": [
|
||||
1600,
|
||||
-20
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "combine",
|
||||
"options": {},
|
||||
"mergeByFields": {
|
||||
"values": [
|
||||
{
|
||||
"field1": "Name",
|
||||
"field2": "Name"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 2
|
||||
},
|
||||
{
|
||||
"id": "42367b1e-8a5d-4b0c-bfd3-8bb3f1b63df9",
|
||||
"name": "Super Band",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"position": [
|
||||
1620,
|
||||
760
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 2
|
||||
},
|
||||
{
|
||||
"id": "b4a756d8-a729-4add-aafa-9868738a6790",
|
||||
"name": "A. Ingredients Needed",
|
||||
"type": "n8n-nodes-base.code",
|
||||
"position": [
|
||||
1360,
|
||||
-100
|
||||
],
|
||||
"parameters": {
|
||||
"jsCode": " return [\n {\n \"Name\": \"Flour\",\n },\n {\n \"Name\": \"Eggs\",\n },\n {\n \"Name\": \"Milk\",\n },\n {\n \"Name\": \"Lemon\",\n },\n {\n \"Name\": \"Sugar\",\n },\n];\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "eb69abdc-cb89-43c5-bcd6-5f1f6383b391",
|
||||
"name": "B. Ingredients in stock",
|
||||
"type": "n8n-nodes-base.code",
|
||||
"position": [
|
||||
1360,
|
||||
40
|
||||
],
|
||||
"parameters": {
|
||||
"jsCode": " return [\n {\n \"Name\": \"Eggs\",\n },\n {\n \"Name\": \"Lemon\",\n },\n {\n \"Name\": \"Sugar\",\n },\n];\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "b01228b8-c860-4725-a0e1-00b4c11218cc",
|
||||
"name": "Merge recipe",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"position": [
|
||||
1620,
|
||||
380
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "combine",
|
||||
"options": {},
|
||||
"joinMode": "enrichInput1",
|
||||
"mergeByFields": {
|
||||
"values": [
|
||||
{
|
||||
"field1": "Name",
|
||||
"field2": "Name"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 2
|
||||
},
|
||||
{
|
||||
"id": "fdb8a9cb-8a85-4a9a-bd2f-c9711178333f",
|
||||
"name": "A. Ingredients",
|
||||
"type": "n8n-nodes-base.code",
|
||||
"position": [
|
||||
1360,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"jsCode": " return [\n {\n \"Name\": \"Flour\",\n },\n {\n \"Name\": \"Eggs\",\n },\n {\n \"Name\": \"Milk\",\n },\n {\n \"Name\": \"Lemon\",\n },\n {\n \"Name\": \"Sugar\",\n },\n];\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "2ca385e5-6833-49fa-b052-abc8583b4a7a",
|
||||
"name": "B. Recipe quantities",
|
||||
"type": "n8n-nodes-base.code",
|
||||
"position": [
|
||||
1360,
|
||||
440
|
||||
],
|
||||
"parameters": {
|
||||
"jsCode": " return [\n {\n \"Name\": \"Flour\",\n \"Quantity\": \"100g\",\n },\n {\n \"Name\": \"Eggs\",\n \"Quantity\": 2,\n },\n {\n \"Name\": \"Salt\",\n \"Quantity\": \"50g\"\n },\n {\n \"Name\": \"Lemon\",\n \"Quantity\": 1,\n },\n {\n \"Name\": \"Sugar\",\n \"Quantity\": \"6tbsp\",\n },\n];\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "8e4c7da8-3700-4b1f-b937-739debf7aba4",
|
||||
"name": "A. Queen",
|
||||
"type": "n8n-nodes-base.code",
|
||||
"position": [
|
||||
1360,
|
||||
680
|
||||
],
|
||||
"parameters": {
|
||||
"jsCode": " return [\n{\n\"FirstName\": \"John\",\n\"LastName\": \"Deacon\",\n\"Instrument\": \"Drums\",\n},\n{\n\"FirstName\": \"Freddy\",\n\"LastName\": \"Mercury\",\n\"Instrument\": \"Vocals and Piano\",\n\"Superpower\": \"Crowd control\"\n},\n{\n\"FirstName\": \"Brian\",\n\"LastName\": \"May\",\n\"Instrument\": \"Guitar\",\n},\n{\n\"FirstName\": \"Roger\",\n\"LastName\": \"Taylor\",\n\"Instrument\": \"Bass\",\n}\n];\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "260c7a0a-43ba-46aa-bfa8-cbbb66aca493",
|
||||
"name": "B. Led Zeppelin",
|
||||
"type": "n8n-nodes-base.code",
|
||||
"position": [
|
||||
1360,
|
||||
820
|
||||
],
|
||||
"parameters": {
|
||||
"jsCode": " return [\n{\n\"FirstName\": \"Jimmy\",\n\"LastName\": \"Page\",\n\"Instrument\": \"Guitar\"\n},\n{\n\"FirstName\": \"Robert\",\n\"LastName\": \"Plant\",\n\"Instrument\": \"Vocals\",\n},\n{\n\"FirstName\": \"John\",\n\"LastName\": \"Bonham\",\n\"Instrument\": \"Drums\",\n},\n{\n\"FirstName\": \"John\",\n\"LastName\": \"Paul Jones\",\n\"Instrument\": \"Bass\",\n\"Second Instrument\": \"Keyboard\",\n}\n];\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"A. Queen": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Super Band",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"A. Ingredients": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge recipe",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"B. Led Zeppelin": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Super Band",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"B. Recipe quantities": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge recipe",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"A. Ingredients Needed": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Ingredients in stock from recipe",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "A. Ingredients Needed",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "B. Ingredients in stock",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "A. Ingredients",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "B. Recipe quantities",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "A. Queen",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "B. Led Zeppelin",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"B. Ingredients in stock": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Ingredients in stock from recipe",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
384
workflows/Manual/0229_Manual_HTTP_Create_Webhook.json
Normal file
384
workflows/Manual/0229_Manual_HTTP_Create_Webhook.json
Normal file
@@ -0,0 +1,384 @@
|
||||
{
|
||||
"meta": {
|
||||
"instanceId": "8c8c5237b8e37b006a7adce87f4369350c58e41f3ca9de16196d3197f69eabcd"
|
||||
},
|
||||
"nodes": [
|
||||
{
|
||||
"id": "25ac6cda-31fb-474a-b6b6-083ec03b9273",
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
925,
|
||||
285
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "93eaee43-7a39-4c83-aeaa-9ca14d0f4b4b",
|
||||
"name": "Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
380,
|
||||
240
|
||||
],
|
||||
"parameters": {
|
||||
"width": 440,
|
||||
"height": 200,
|
||||
"content": "## HTTP Request\n### This workflow shows the most common use cases of the HTTP request node, and how to handle its output\n\n\n### Click the `Execute Workflow` button and double click on the nodes to see the input and output items."
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "3ccdc45b-aae1-4760-b45e-5b8dca2a9fcf",
|
||||
"name": "Note2",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1280,
|
||||
480
|
||||
],
|
||||
"parameters": {
|
||||
"width": 986.3743856726365,
|
||||
"height": 460.847917534361,
|
||||
"content": "## 3. Handle Pagination\n### Sometimes you need to make the same request multiple times to get all the data you need (pagination).\n\n### The pagination process goes as follow:\n### 1. Loop through the pages of the input source (`HTTP Request` node named \"Get my Starts\")\n### 2. Increment the page at the end of each loop (done with the `set` node named \"Increment Page\") \n### 3. Stop looping when there are no pages left (checked at the `If` node named \"Are we Finished?\")\n\n\n\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "af19bb6d-5f0a-41ca-93b2-dbd27c3fd07e",
|
||||
"name": "Set",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
1345,
|
||||
725
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"number": [
|
||||
{
|
||||
"name": "page"
|
||||
},
|
||||
{
|
||||
"name": "perpage",
|
||||
"value": 15
|
||||
}
|
||||
],
|
||||
"string": [
|
||||
{
|
||||
"name": "githubUser",
|
||||
"value": "that-one-tom"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "dad6055d-e06b-4f8c-ab90-deb196fce277",
|
||||
"name": "Note6",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"disabled": true,
|
||||
"position": [
|
||||
1280,
|
||||
180
|
||||
],
|
||||
"parameters": {
|
||||
"width": 680,
|
||||
"height": 280,
|
||||
"content": "## 2. Data Scraping\n### In this example we fetch the titles from the n8n blog using the `HTTP request` node and then we use the `HTML extract` node to pass."
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "a7d4b9db-4d38-4b8d-9585-fe65c379e381",
|
||||
"name": "Note1",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1280,
|
||||
-120
|
||||
],
|
||||
"parameters": {
|
||||
"width": 500,
|
||||
"height": 280,
|
||||
"content": "## 1. Split into items\n### In this example, we take the body from an `HTTP Request` node and split it out into items that are easier to manage."
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "d8402820-fa72-4957-8cf6-432f928ae799",
|
||||
"name": "Item Lists - Create Items from Body",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"notes": "Create Items from Body",
|
||||
"position": [
|
||||
1525,
|
||||
-15
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"fieldToSplitOut": "body"
|
||||
},
|
||||
"notesInFlow": false,
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "598939cd-e4c0-4a90-bd1f-f2b13ccbe072",
|
||||
"name": "HTML Extract - Extract Article Title",
|
||||
"type": "n8n-nodes-base.htmlExtract",
|
||||
"position": [
|
||||
1505,
|
||||
285
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"sourceData": "binary",
|
||||
"extractionValues": {
|
||||
"values": [
|
||||
{
|
||||
"key": "ArticleTitle",
|
||||
"cssSelector": "#firstHeading"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "1c9b609c-5e41-4444-ade7-e1069943c904",
|
||||
"name": "Item Lists - Fetch Body",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"position": [
|
||||
1705,
|
||||
725
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"fieldToSplitOut": "body"
|
||||
},
|
||||
"typeVersion": 1,
|
||||
"alwaysOutputData": true
|
||||
},
|
||||
{
|
||||
"id": "15dfab42-440c-4d06-9ba2-b7b17371d009",
|
||||
"name": "If - Are we finished?",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
1885,
|
||||
725
|
||||
],
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$node[\"HTTP Request - Get my Stars\"].json[\"body\"]}}",
|
||||
"operation": "isEmpty"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"executeOnce": true,
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "ba6e6904-6749-4ea2-84c1-8409b795bcf5",
|
||||
"name": "Set - Increment Page",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
2105,
|
||||
745
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "page",
|
||||
"value": "={{$node[\"Set\"].json[\"page\"]++}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"executeOnce": true,
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "9f0df828-27d7-4994-8934-c8fe88af8566",
|
||||
"name": "HTTP Request - Get Mock Albums",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
1345,
|
||||
-15
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://jsonplaceholder.typicode.com/albums",
|
||||
"options": {
|
||||
"response": {
|
||||
"response": {
|
||||
"fullResponse": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"typeVersion": 3
|
||||
},
|
||||
{
|
||||
"id": "cbc64010-f6f4-4c35-b4e2-9e1d4a748308",
|
||||
"name": "HTTP Request - Get Wikipedia Page",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
1325,
|
||||
285
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://en.wikipedia.org/wiki/Special:Random",
|
||||
"options": {
|
||||
"redirect": {
|
||||
"redirect": {
|
||||
"followRedirects": true
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"response": {
|
||||
"responseFormat": "file"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"typeVersion": 3
|
||||
},
|
||||
{
|
||||
"id": "a1a19268-0be8-4379-99a4-4285c68691b5",
|
||||
"name": "HTTP Request - Get my Stars",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
1525,
|
||||
725
|
||||
],
|
||||
"parameters": {
|
||||
"url": "=https://api.github.com/users/{{$node[\"Set\"].json[\"githubUser\"]}}/starred",
|
||||
"options": {
|
||||
"response": {
|
||||
"response": {
|
||||
"fullResponse": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"sendQuery": true,
|
||||
"queryParameters": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "per_page",
|
||||
"value": "={{$node[\"Set\"].json[\"perpage\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "page",
|
||||
"value": "={{$node[\"Set\"].json[\"page\"]}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 3
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Set": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request - Get my Stars",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set - Increment Page": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request - Get my Stars",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"If - Are we finished?": {
|
||||
"main": [
|
||||
null,
|
||||
[
|
||||
{
|
||||
"node": "Set - Increment Page",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "HTTP Request - Get Mock Albums",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "HTTP Request - Get Wikipedia Page",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Item Lists - Fetch Body": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "If - Are we finished?",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTTP Request - Get my Stars": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Item Lists - Fetch Body",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTTP Request - Get Mock Albums": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Item Lists - Create Items from Body",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTTP Request - Get Wikipedia Page": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTML Extract - Extract Article Title",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,148 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
1160,
|
||||
480
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
800,
|
||||
420
|
||||
],
|
||||
"parameters": {
|
||||
"width": 320,
|
||||
"height": 200,
|
||||
"content": "### Very often your data is not in the right format to insert in a node. you can use the set node to fix it.\n\n### Click the `Execute Workflow` button and double click on the nodes to see the input and output items."
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Create or Update record in Google Sheet",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
1920,
|
||||
480
|
||||
],
|
||||
"parameters": {
|
||||
"range": "A:C",
|
||||
"options": {},
|
||||
"sheetId": "13_bAEYNTzVXVY6SfAkBa9ijtJGSxPd8D-hcXXwXtdDo",
|
||||
"operation": "upsert",
|
||||
"authentication": "oAuth2"
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "8",
|
||||
"name": "Sheets"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Note1",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1480,
|
||||
360
|
||||
],
|
||||
"parameters": {
|
||||
"width": 400,
|
||||
"height": 280,
|
||||
"content": "\nThis is where we put the data in the format that Google Sheets expect. \nThis means changing the field name from `name` to `Full name`, dropping all fields except `ID`, `Email` and adding a `Created time` field"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set - Prepare fields",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"notes": "Prepare fields",
|
||||
"position": [
|
||||
1620,
|
||||
480
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"number": [
|
||||
{
|
||||
"name": "ID",
|
||||
"value": "={{$json[\"id\"]}}"
|
||||
}
|
||||
],
|
||||
"string": [
|
||||
{
|
||||
"name": "Full name",
|
||||
"value": "={{$json[\"name\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "Email",
|
||||
"value": "={{$json[\"email\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "Created time",
|
||||
"value": "={{$now}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"notesInFlow": false,
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Customer Datastore - Generate some data",
|
||||
"type": "n8n-nodes-base.n8nTrainingCustomerDatastore",
|
||||
"position": [
|
||||
1340,
|
||||
480
|
||||
],
|
||||
"parameters": {
|
||||
"operation": "getAllPeople"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Set - Prepare fields": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Create or Update record in Google Sheet",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Customer Datastore - Generate some data",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Customer Datastore - Generate some data": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set - Prepare fields",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
180
workflows/Manual/0236_Manual_GoogleSheets_Create_Scheduled.json
Normal file
180
workflows/Manual/0236_Manual_GoogleSheets_Create_Scheduled.json
Normal file
@@ -0,0 +1,180 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
240,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Is new?",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
680,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$json[\"Processed\"]}}",
|
||||
"operation": "isEmpty"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Do something here",
|
||||
"type": "n8n-nodes-base.noOp",
|
||||
"position": [
|
||||
900,
|
||||
100
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Mark Row as processed",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
1120,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"key": "ID",
|
||||
"options": {},
|
||||
"sheetId": "1SdnwaIJ6xwaZl006FmK2j4f-b00tq7tT7iQgdfe7Qh4",
|
||||
"operation": "update",
|
||||
"authentication": "oAuth2"
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "228",
|
||||
"name": "Google Sheets account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Read sheet",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
460,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"sheetId": "1SdnwaIJ6xwaZl006FmK2j4f-b00tq7tT7iQgdfe7Qh4",
|
||||
"authentication": "oAuth2"
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "228",
|
||||
"name": "Google Sheets account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set processed value",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
900,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "Processed",
|
||||
"value": "={{ $now.toISO() }}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Run every 5 minutes",
|
||||
"type": "n8n-nodes-base.interval",
|
||||
"position": [
|
||||
240,
|
||||
100
|
||||
],
|
||||
"parameters": {
|
||||
"unit": "minutes",
|
||||
"interval": 5
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Is new?": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Do something here",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Set processed value",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Read sheet": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Is new?",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Run every 5 minutes": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Read sheet",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set processed value": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Mark Row as processed",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Read sheet",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
114
workflows/Manual/0240_Manual_Gmail_Create_Triggered.json
Normal file
114
workflows/Manual/0240_Manual_Gmail_Create_Triggered.json
Normal file
@@ -0,0 +1,114 @@
|
||||
{
|
||||
"id": "175",
|
||||
"name": "Get messages with a certain label, remove the label, and add a new one",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Gmail",
|
||||
"type": "n8n-nodes-base.gmail",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"resource": "message",
|
||||
"operation": "getAll",
|
||||
"additionalFields": {
|
||||
"format": "full",
|
||||
"labelIds": [
|
||||
"Label_103811885290186237"
|
||||
]
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"gmailOAuth2": "Gmail"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Gmail1",
|
||||
"type": "n8n-nodes-base.gmail",
|
||||
"position": [
|
||||
650,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"labelIds": [
|
||||
"Label_103811885290186237"
|
||||
],
|
||||
"resource": "messageLabel",
|
||||
"messageId": "={{$node[\"Gmail\"].json[\"id\"]}}",
|
||||
"operation": "remove"
|
||||
},
|
||||
"credentials": {
|
||||
"gmailOAuth2": "Gmail"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Gmail2",
|
||||
"type": "n8n-nodes-base.gmail",
|
||||
"position": [
|
||||
850,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"labelIds": [
|
||||
"Label_140673791182006844"
|
||||
],
|
||||
"resource": "messageLabel",
|
||||
"messageId": "={{$node[\"Gmail\"].json[\"id\"]}}"
|
||||
},
|
||||
"credentials": {
|
||||
"gmailOAuth2": "Gmail"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Gmail": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Gmail1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Gmail1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Gmail2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Gmail",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
142
workflows/Manual/0242_Manual_Brandfetch_Import_Triggered.json
Normal file
142
workflows/Manual/0242_Manual_Brandfetch_Import_Triggered.json
Normal file
@@ -0,0 +1,142 @@
|
||||
{
|
||||
"id": "176",
|
||||
"name": "Get the logo, icon, and information of a company and store it in Airtable",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Brandfetch",
|
||||
"type": "n8n-nodes-base.Brandfetch",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"domain": "n8n.io"
|
||||
},
|
||||
"credentials": {
|
||||
"brandfetchApi": "Brandfetch n8n credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Brandfetch1",
|
||||
"type": "n8n-nodes-base.Brandfetch",
|
||||
"position": [
|
||||
650,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"domain": "={{$node[\"Brandfetch\"].parameter[\"domain\"]}}",
|
||||
"operation": "company"
|
||||
},
|
||||
"credentials": {
|
||||
"brandfetchApi": "Brandfetch n8n credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
850,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "Name",
|
||||
"value": "={{$node[\"Brandfetch1\"].json[\"name\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "Icon URL",
|
||||
"value": "={{$node[\"Brandfetch\"].json[\"icon\"][\"image\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "Logo URL",
|
||||
"value": "={{$node[\"Brandfetch\"].json[\"logo\"][\"image\"]}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Airtable",
|
||||
"type": "n8n-nodes-base.airtable",
|
||||
"position": [
|
||||
1050,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"table": "Table 1",
|
||||
"options": {},
|
||||
"operation": "append",
|
||||
"application": "app5cseR9ZKgtU3dc"
|
||||
},
|
||||
"credentials": {
|
||||
"airtableApi": "Airtable Credentials n8n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Set": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Airtable",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Brandfetch": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Brandfetch1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Brandfetch1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Brandfetch",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
311
workflows/Manual/0250_Manual_Baserow_Update_Webhook.json
Normal file
311
workflows/Manual/0250_Manual_Baserow_Update_Webhook.json
Normal file
@@ -0,0 +1,311 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"id": "70a44436-4b51-458a-ae93-60edeed170de",
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
240,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "d4c2dfa2-30bb-4f06-96c2-5811472302d2",
|
||||
"name": "Cron",
|
||||
"type": "n8n-nodes-base.cron",
|
||||
"position": [
|
||||
240,
|
||||
100
|
||||
],
|
||||
"parameters": {
|
||||
"triggerTimes": {
|
||||
"item": [
|
||||
{
|
||||
"mode": "custom",
|
||||
"cronExpression": "15 7 * * 1-6"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "86924546-e4f2-4795-8e80-9e49626d2c42",
|
||||
"name": "Baserow",
|
||||
"type": "n8n-nodes-base.baserow",
|
||||
"position": [
|
||||
460,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"tableId": 680,
|
||||
"databaseId": 146,
|
||||
"additionalOptions": {}
|
||||
},
|
||||
"credentials": {
|
||||
"baserowApi": {
|
||||
"id": "37",
|
||||
"name": "Baserow account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "36f2947b-67cf-47eb-891f-e7e3b5ba9eac",
|
||||
"name": "Fetch tradegate stock page",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
680,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://www.tradegate.de/orderbuch.php",
|
||||
"options": {},
|
||||
"responseFormat": "string",
|
||||
"queryParametersUi": {
|
||||
"parameter": [
|
||||
{
|
||||
"name": "isin",
|
||||
"value": "={{$json[\"ISIN\"]}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "b516e751-d1d1-43a0-8f19-6787a5c56ddc",
|
||||
"name": "Parse tradegate stock page",
|
||||
"type": "n8n-nodes-base.htmlExtract",
|
||||
"position": [
|
||||
900,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"extractionValues": {
|
||||
"values": [
|
||||
{
|
||||
"key": "WKN",
|
||||
"cssSelector": "#col1_content > table > tbody > tr:nth-child(2) > td:nth-child(1)"
|
||||
},
|
||||
{
|
||||
"key": "ISIN",
|
||||
"cssSelector": "#col1_content > table > tbody > tr:nth-child(2) > td:nth-child(3)"
|
||||
},
|
||||
{
|
||||
"key": "Currency",
|
||||
"cssSelector": "#col1_content > table > tbody > tr:nth-child(2) > td:nth-child(4)"
|
||||
},
|
||||
{
|
||||
"key": "Name",
|
||||
"cssSelector": "#col1_content > h2"
|
||||
},
|
||||
{
|
||||
"key": "Bid",
|
||||
"cssSelector": "#bid"
|
||||
},
|
||||
{
|
||||
"key": "Ask",
|
||||
"cssSelector": "#ask"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "e51556c7-3f3a-4e4d-96e9-942f436422af",
|
||||
"name": "Build HTML",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
1560,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "const columns = Object.keys(items[0].json);\n\n// Define the basic table structure\nlet table_header = `<table style=\"border: 1px solid black; border-collapse: collapse;\"><tr>${columns.map(e => '<th style=\"border: 1px solid black; border-collapse: collapse;\">' + e + '</th>').join('')}</tr>`;\nlet table_content = \"\";\nlet table_footer = '</table>';\n\n// Add content to our table\nfor (item of items) {\n table_content += '<tr>'\n for (column of columns) {\n table_content += `<td style=\\\"border: 1px solid black; border-collapse: collapse;\\\">${item.json[column]}</td>`\n }\n table_content += '</tr>'\n}\n\n// Prepare HTML email body\nconst email_html = `<body style=\"font-family: Sans-Serif;\">\n<p>Investments as of ${$now.setZone(\"Europe/Dublin\").setLocale('ie').toFormat('fff')}:</p>\n${table_header}\n${table_content}\n${table_footer}\n<p>Total: ${items.map(e => parseFloat(e.json['Current Value'])).reduce((a, b) => a + b, 0).toFixed(2)}</p>\n<p><small>Workflow #${$workflow.id}</small></p>\n</body>`\n\n\nreturn [{\n json: {\n html: email_html\n }\n}];"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "361bf8f2-298c-4b96-9f21-4f4620f1e9a9",
|
||||
"name": "Format result",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
1120,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "Name",
|
||||
"value": "={{ $node[\"Baserow\"].json[\"Name\"] }}"
|
||||
},
|
||||
{
|
||||
"name": "ISIN",
|
||||
"value": "={{ $node[\"Baserow\"].json[\"ISIN\"] }}"
|
||||
},
|
||||
{
|
||||
"name": "Count",
|
||||
"value": "={{ $node[\"Baserow\"].json[\"Count\"] }}"
|
||||
},
|
||||
{
|
||||
"name": "Purchase Price",
|
||||
"value": "={{ $node[\"Baserow\"].json[\"Purchase Price\"] }}"
|
||||
},
|
||||
{
|
||||
"name": "Current Value",
|
||||
"value": "={{ (parseFloat($json[\"Bid\"].replace(',', '.')) * parseFloat($node[\"Baserow\"].json[\"Count\"])).toFixed(2) }}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "c2f329dc-3b97-402a-9d63-ed863c2aee84",
|
||||
"name": "Calculate change",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
1340,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "Change",
|
||||
"value": "={{ ( parseFloat($json[\"Current Value\"]) - parseFloat($json[\"Purchase Price\"]) ).toFixed(2) }}"
|
||||
},
|
||||
{
|
||||
"name": "Change (%)",
|
||||
"value": "={{ ( ( ( parseFloat($json[\"Current Value\"]) - parseFloat($json[\"Purchase Price\"]) ) / parseFloat($json[\"Purchase Price\"]) ) * 100).toFixed(2) }}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "e0876374-c9f3-4253-8764-9aa78faa2193",
|
||||
"name": "SendGrid",
|
||||
"type": "n8n-nodes-base.sendGrid",
|
||||
"position": [
|
||||
1780,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"subject": "Investment report",
|
||||
"toEmail": "mutedjam@n8n.io",
|
||||
"resource": "mail",
|
||||
"fromEmail": "mutedjam@n8n.io",
|
||||
"contentType": "text/html",
|
||||
"contentValue": "={{ $json[\"html\"] }}",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"sendGridApi": {
|
||||
"id": "143",
|
||||
"name": "SendGrid account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Cron": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Baserow",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Baserow": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Fetch tradegate stock page",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Build HTML": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "SendGrid",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Format result": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Calculate change",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Calculate change": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Build HTML",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Baserow",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Fetch tradegate stock page": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Parse tradegate stock page",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Parse tradegate stock page": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Format result",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
107
workflows/Manual/0254_Manual_Mattermost_Create_Triggered.json
Normal file
107
workflows/Manual/0254_Manual_Mattermost_Create_Triggered.json
Normal file
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"id": "178",
|
||||
"name": "Create a channel, add a member, and post a message to the channel",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
270,
|
||||
340
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Mattermost",
|
||||
"type": "n8n-nodes-base.mattermost",
|
||||
"position": [
|
||||
470,
|
||||
340
|
||||
],
|
||||
"parameters": {
|
||||
"teamId": "4zhpirmh97fn7jgp7qhyue5a6e",
|
||||
"channel": "docs",
|
||||
"resource": "channel",
|
||||
"displayName": "Docs"
|
||||
},
|
||||
"credentials": {
|
||||
"mattermostApi": "Mattermost Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Mattermost1",
|
||||
"type": "n8n-nodes-base.mattermost",
|
||||
"position": [
|
||||
670,
|
||||
340
|
||||
],
|
||||
"parameters": {
|
||||
"userId": "5oiy71hukjgd9eprj1o4a3poio",
|
||||
"resource": "channel",
|
||||
"channelId": "={{$node[\"Mattermost\"].json[\"id\"]}}",
|
||||
"operation": "addUser"
|
||||
},
|
||||
"credentials": {
|
||||
"mattermostApi": "Mattermost Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Mattermost2",
|
||||
"type": "n8n-nodes-base.mattermost",
|
||||
"position": [
|
||||
870,
|
||||
340
|
||||
],
|
||||
"parameters": {
|
||||
"message": "Hey! Welcome to the channel!",
|
||||
"channelId": "={{$node[\"Mattermost\"].json[\"id\"]}}",
|
||||
"attachments": [],
|
||||
"otherOptions": {}
|
||||
},
|
||||
"credentials": {
|
||||
"mattermostApi": "Mattermost Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Mattermost": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Mattermost1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Mattermost1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Mattermost2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Mattermost",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
382
workflows/Manual/0257_Manual_GoogleSheets_Create_Triggered.json
Normal file
382
workflows/Manual/0257_Manual_GoogleSheets_Create_Triggered.json
Normal file
@@ -0,0 +1,382 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"id": "29451054-fcd6-4054-b072-a87c716f6c67",
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
240,
|
||||
240
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "995ae9b0-130c-4989-8e94-81a14b7743c4",
|
||||
"name": "Read Google Sheet",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
460,
|
||||
240
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"sheetId": "1cz-4tVi7Nn3j1gh147hROq9l6S4ta06sMfhm2AAI6js"
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "19",
|
||||
"name": "Tom's Google Sheets account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2
|
||||
},
|
||||
{
|
||||
"id": "2c1ed019-85f1-4b0f-bcf5-ce59ff13ea49",
|
||||
"name": "Search Salesforce accounts",
|
||||
"type": "n8n-nodes-base.salesforce",
|
||||
"position": [
|
||||
680,
|
||||
240
|
||||
],
|
||||
"parameters": {
|
||||
"query": "=SELECT id, Name FROM Account WHERE Name = '{{$json[\"Company Name\"].replace(/'/g, '\\\\\\'')}}'",
|
||||
"resource": "search"
|
||||
},
|
||||
"credentials": {
|
||||
"salesforceOAuth2Api": {
|
||||
"id": "40",
|
||||
"name": "Salesforce account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1,
|
||||
"alwaysOutputData": false
|
||||
},
|
||||
{
|
||||
"id": "c6978a27-3cdc-44a2-a961-94557b2aed88",
|
||||
"name": "Keep new companies",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"position": [
|
||||
900,
|
||||
40
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "removeKeyMatches",
|
||||
"propertyName1": "Company Name",
|
||||
"propertyName2": "Name"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "7b5df5cf-7019-415b-9758-7f62c4fb13c8",
|
||||
"name": "Merge existing account data",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"position": [
|
||||
900,
|
||||
440
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "mergeByKey",
|
||||
"propertyName1": "Company Name",
|
||||
"propertyName2": "Name"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "7da1de2f-2b37-4e33-b8d4-d1dc59e94bbe",
|
||||
"name": "Account found?",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
1120,
|
||||
440
|
||||
],
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{ $json[\"Id\"] }}",
|
||||
"operation": "isNotEmpty"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "80890a2a-f6d3-4efd-92b1-6465f98f512b",
|
||||
"name": "Remove duplicate companies",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"position": [
|
||||
1120,
|
||||
140
|
||||
],
|
||||
"parameters": {
|
||||
"compare": "selectedFields",
|
||||
"options": {},
|
||||
"operation": "removeDuplicates",
|
||||
"fieldsToCompare": {
|
||||
"fields": [
|
||||
{
|
||||
"fieldName": "Company Name"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "ea9afa15-77be-4d7a-a287-35d4c1c6e6c1",
|
||||
"name": "Set Account ID for existing accounts",
|
||||
"type": "n8n-nodes-base.renameKeys",
|
||||
"position": [
|
||||
1340,
|
||||
440
|
||||
],
|
||||
"parameters": {
|
||||
"keys": {
|
||||
"key": [
|
||||
{
|
||||
"newKey": "Account ID",
|
||||
"currentKey": "Id"
|
||||
}
|
||||
]
|
||||
},
|
||||
"additionalOptions": {}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "61cfdf30-9135-40bf-929d-317fca0ad474",
|
||||
"name": "Retrieve new company contacts",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"position": [
|
||||
1780,
|
||||
40
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "mergeByKey",
|
||||
"propertyName1": "Company Name",
|
||||
"propertyName2": "Name"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "c10dea7c-96b0-4f3b-b859-af094ced51cc",
|
||||
"name": "Set new account name",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
1560,
|
||||
140
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "id",
|
||||
"value": "={{ $json[\"id\"] }}"
|
||||
},
|
||||
{
|
||||
"name": "Name",
|
||||
"value": "={{ $node[\"Remove duplicate companies\"].json[\"Company Name\"] }}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "a4a2be2a-7bd9-4a70-b4d9-0df53834bdda",
|
||||
"name": "Create Salesforce account",
|
||||
"type": "n8n-nodes-base.salesforce",
|
||||
"position": [
|
||||
1340,
|
||||
140
|
||||
],
|
||||
"parameters": {
|
||||
"name": "={{ $json[\"Company Name\"] }}",
|
||||
"resource": "account",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"salesforceOAuth2Api": {
|
||||
"id": "40",
|
||||
"name": "Salesforce account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "89f49e6f-62be-403f-9a4c-cd56e28141f3",
|
||||
"name": "Create Salesforce contact",
|
||||
"type": "n8n-nodes-base.salesforce",
|
||||
"position": [
|
||||
2000,
|
||||
240
|
||||
],
|
||||
"parameters": {
|
||||
"lastname": "={{ $json[\"Last Name\"] }}",
|
||||
"resource": "contact",
|
||||
"operation": "upsert",
|
||||
"externalId": "Email",
|
||||
"externalIdValue": "={{ $json[\"Email\"] }}",
|
||||
"additionalFields": {
|
||||
"email": "={{ $json[\"Email\"] }}",
|
||||
"firstName": "={{ $json[\"First Name\"] }}",
|
||||
"acconuntId": "={{ $json[\"Account ID\"] }}"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"salesforceOAuth2Api": {
|
||||
"id": "40",
|
||||
"name": "Salesforce account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Account found?": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set Account ID for existing accounts",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Read Google Sheet": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Search Salesforce accounts",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Keep new companies",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Merge existing account data",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Keep new companies": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Remove duplicate companies",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Retrieve new company contacts",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set new account name": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Retrieve new company contacts",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Read Google Sheet",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Create Salesforce account": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set new account name",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Remove duplicate companies": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Create Salesforce account",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Search Salesforce accounts": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Keep new companies",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
},
|
||||
{
|
||||
"node": "Merge existing account data",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Merge existing account data": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Account found?",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Retrieve new company contacts": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Create Salesforce contact",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set Account ID for existing accounts": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Create Salesforce contact",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
416
workflows/Manual/0259_Manual_HTTP_Create_Webhook.json
Normal file
416
workflows/Manual/0259_Manual_HTTP_Create_Webhook.json
Normal file
@@ -0,0 +1,416 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"id": "76f6b074-32a5-4419-aa0f-80505b3a31ad",
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
20,
|
||||
240
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "42289f01-3af9-4bc3-babb-54b983de7e77",
|
||||
"name": "Search Salesforce accounts",
|
||||
"type": "n8n-nodes-base.salesforce",
|
||||
"position": [
|
||||
680,
|
||||
240
|
||||
],
|
||||
"parameters": {
|
||||
"query": "=SELECT id, Name FROM Account WHERE Name = '{{$json[\"Company Name\"].replace(/'/g, '\\\\\\'')}}'",
|
||||
"resource": "search"
|
||||
},
|
||||
"credentials": {
|
||||
"salesforceOAuth2Api": {
|
||||
"id": "40",
|
||||
"name": "Salesforce account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1,
|
||||
"alwaysOutputData": false
|
||||
},
|
||||
{
|
||||
"id": "954ef43f-4dc1-4955-9c56-c5d11bcd5d6e",
|
||||
"name": "Keep new companies",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"position": [
|
||||
900,
|
||||
40
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "removeKeyMatches",
|
||||
"propertyName1": "Company Name",
|
||||
"propertyName2": "Name"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "ec23bd4f-c6ee-4c2a-a352-8ff521a5ddf6",
|
||||
"name": "Merge existing account data",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"position": [
|
||||
900,
|
||||
440
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "mergeByKey",
|
||||
"propertyName1": "Company Name",
|
||||
"propertyName2": "Name"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "85b460ee-e6b4-48c8-8315-ccf7875ec345",
|
||||
"name": "Account found?",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
1120,
|
||||
440
|
||||
],
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{ $json[\"Id\"] }}",
|
||||
"operation": "isNotEmpty"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "1c926f04-b218-4460-8a56-c39a0854d50e",
|
||||
"name": "Remove duplicate companies",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"position": [
|
||||
1120,
|
||||
140
|
||||
],
|
||||
"parameters": {
|
||||
"compare": "selectedFields",
|
||||
"options": {},
|
||||
"operation": "removeDuplicates",
|
||||
"fieldsToCompare": {
|
||||
"fields": [
|
||||
{
|
||||
"fieldName": "Company Name"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "d35c3b0b-d7a8-4182-9277-17080655436b",
|
||||
"name": "Set Account ID for existing accounts",
|
||||
"type": "n8n-nodes-base.renameKeys",
|
||||
"position": [
|
||||
1340,
|
||||
440
|
||||
],
|
||||
"parameters": {
|
||||
"keys": {
|
||||
"key": [
|
||||
{
|
||||
"newKey": "Account ID",
|
||||
"currentKey": "Id"
|
||||
}
|
||||
]
|
||||
},
|
||||
"additionalOptions": {}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "3747fdfa-f5f8-41b0-8393-1ac2ae29bab5",
|
||||
"name": "Retrieve new company contacts",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"position": [
|
||||
1780,
|
||||
40
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "mergeByKey",
|
||||
"propertyName1": "Company Name",
|
||||
"propertyName2": "Name"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "0879e6a0-d782-4a0a-98f3-eeccbea760f6",
|
||||
"name": "Set new account name",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
1560,
|
||||
140
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "id",
|
||||
"value": "={{ $json[\"id\"] }}"
|
||||
},
|
||||
{
|
||||
"name": "Name",
|
||||
"value": "={{ $node[\"Remove duplicate companies\"].json[\"Company Name\"] }}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "7263c4dd-64eb-44c4-9839-fe3e5aa7ddbc",
|
||||
"name": "Create Salesforce account",
|
||||
"type": "n8n-nodes-base.salesforce",
|
||||
"position": [
|
||||
1340,
|
||||
140
|
||||
],
|
||||
"parameters": {
|
||||
"name": "={{ $json[\"Company Name\"] }}",
|
||||
"resource": "account",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"salesforceOAuth2Api": {
|
||||
"id": "40",
|
||||
"name": "Salesforce account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "40d168af-346a-46ea-9fa0-641edd0f4937",
|
||||
"name": "Create Salesforce contact",
|
||||
"type": "n8n-nodes-base.salesforce",
|
||||
"position": [
|
||||
2000,
|
||||
240
|
||||
],
|
||||
"parameters": {
|
||||
"lastname": "={{ $json[\"Last Name\"] }}",
|
||||
"resource": "contact",
|
||||
"operation": "upsert",
|
||||
"externalId": "Email",
|
||||
"externalIdValue": "={{ $json[\"Email\"] }}",
|
||||
"additionalFields": {
|
||||
"email": "={{ $json[\"Email\"] }}",
|
||||
"firstName": "={{ $json[\"First Name\"] }}",
|
||||
"acconuntId": "={{ $json[\"Account ID\"] }}"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"salesforceOAuth2Api": {
|
||||
"id": "40",
|
||||
"name": "Salesforce account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "dcd40640-c1d6-407c-95c9-84759ecaafab",
|
||||
"name": "Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
-20,
|
||||
0
|
||||
],
|
||||
"parameters": {
|
||||
"width": 400,
|
||||
"height": 400,
|
||||
"content": "## Downloading a file\nIn this example workflow, the spreadsheet file is downloaded from an HTTP location.\n\nDepending on your scenario you might want to swap the HTTP Request node downloading the file with another node fetching the file from another source (such as an FTP service, cloud storage, your local filesystem or an email for example)."
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "2fc38a06-11ec-4aa5-83f9-624f5a5ef47a",
|
||||
"name": "Download file",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
240,
|
||||
240
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://static.thomasmartens.eu/n8n/Excel-File-to-Salesforce.xlsx",
|
||||
"options": {},
|
||||
"responseFormat": "file"
|
||||
},
|
||||
"typeVersion": 2
|
||||
},
|
||||
{
|
||||
"id": "43d5ba55-d150-4c7e-b44a-531733418c68",
|
||||
"name": "Spreadsheet File",
|
||||
"type": "n8n-nodes-base.spreadsheetFile",
|
||||
"position": [
|
||||
460,
|
||||
240
|
||||
],
|
||||
"parameters": {
|
||||
"options": {}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Download file": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Spreadsheet File",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Account found?": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set Account ID for existing accounts",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Spreadsheet File": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Search Salesforce accounts",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Keep new companies",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Merge existing account data",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Keep new companies": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Remove duplicate companies",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Retrieve new company contacts",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set new account name": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Retrieve new company contacts",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Download file",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Create Salesforce account": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set new account name",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Remove duplicate companies": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Create Salesforce account",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Search Salesforce accounts": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Keep new companies",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
},
|
||||
{
|
||||
"node": "Merge existing account data",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Merge existing account data": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Account found?",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Retrieve new company contacts": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Create Salesforce contact",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set Account ID for existing accounts": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Create Salesforce contact",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,180 @@
|
||||
{
|
||||
"id": "179",
|
||||
"name": "Create, update, and get a document in Google Cloud Firestore",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
250,
|
||||
300
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Google Cloud Firestore",
|
||||
"type": "n8n-nodes-base.googleFirebaseCloudFirestore",
|
||||
"position": [
|
||||
650,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"columns": "id, name",
|
||||
"operation": "create",
|
||||
"projectId": "docs-f8925",
|
||||
"collection": "n8n"
|
||||
},
|
||||
"credentials": {
|
||||
"googleFirebaseCloudFirestoreOAuth2Api": "Cloud Firestore Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"number": [
|
||||
{
|
||||
"name": "id",
|
||||
"value": 1
|
||||
}
|
||||
],
|
||||
"string": [
|
||||
{
|
||||
"name": "name",
|
||||
"value": "n8n"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Set1",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
850,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "name",
|
||||
"value": "nodemation"
|
||||
},
|
||||
{
|
||||
"name": "document_id",
|
||||
"value": "={{$node[\"Google Cloud Firestore\"].json[\"_id\"]}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Google Cloud Firestore1",
|
||||
"type": "n8n-nodes-base.googleFirebaseCloudFirestore",
|
||||
"position": [
|
||||
1050,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"columns": "name",
|
||||
"operation": "upsert",
|
||||
"projectId": "={{$node[\"Google Cloud Firestore\"].parameter[\"projectId\"]}}",
|
||||
"updateKey": "document_id",
|
||||
"collection": "={{$node[\"Google Cloud Firestore\"].parameter[\"collection\"]}}"
|
||||
},
|
||||
"credentials": {
|
||||
"googleFirebaseCloudFirestoreOAuth2Api": "Cloud Firestore Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Google Cloud Firestore2",
|
||||
"type": "n8n-nodes-base.googleFirebaseCloudFirestore",
|
||||
"position": [
|
||||
1250,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"projectId": "={{$node[\"Google Cloud Firestore\"].parameter[\"projectId\"]}}",
|
||||
"collection": "={{$node[\"Google Cloud Firestore\"].parameter[\"collection\"]}}",
|
||||
"documentId": "={{$node[\"Set1\"].json[\"document_id\"]}}"
|
||||
},
|
||||
"credentials": {
|
||||
"googleFirebaseCloudFirestoreOAuth2Api": "Cloud Firestore Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Set": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Google Cloud Firestore",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Google Cloud Firestore1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Google Cloud Firestore": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Google Cloud Firestore1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Google Cloud Firestore2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
269
workflows/Manual/0271_Manual_HTTP_Create_Webhook.json
Normal file
269
workflows/Manual/0271_Manual_HTTP_Create_Webhook.json
Normal file
@@ -0,0 +1,269 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"id": "d0c92688-14fc-4393-a1d6-926eb867b81e",
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
180,
|
||||
240
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "0edbad78-249b-441c-877d-bac57fb44a91",
|
||||
"name": "Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
180,
|
||||
31
|
||||
],
|
||||
"parameters": {
|
||||
"width": 436,
|
||||
"height": 169,
|
||||
"content": "## n8n version\n\nThis workflow was created using n8n version 0.197.1 and uses a new [expression syntax](https://docs.n8n.io/code-examples/methods-variables-reference/) as well as a new version of the Merge node. Make sure you're also using n8n version 0.197.1 or newer when running this workflow."
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "251d893c-11cb-4702-a289-44f198581722",
|
||||
"name": "Download XML File",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
400,
|
||||
240
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://www.w3schools.com/xml/simple.xml",
|
||||
"options": {}
|
||||
},
|
||||
"typeVersion": 3
|
||||
},
|
||||
{
|
||||
"id": "0973b302-1ba9-4faf-9d6c-2caca1b301f5",
|
||||
"name": "Parse XML content",
|
||||
"type": "n8n-nodes-base.xml",
|
||||
"position": [
|
||||
620,
|
||||
240
|
||||
],
|
||||
"parameters": {
|
||||
"options": {}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "01854111-27cb-40c1-b95e-14f91f89e9f1",
|
||||
"name": "Create new spreadsheet file",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
1060,
|
||||
140
|
||||
],
|
||||
"parameters": {
|
||||
"title": "My XML Data",
|
||||
"options": {},
|
||||
"resource": "spreadsheet"
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "19",
|
||||
"name": "Tom's Google Sheets account"
|
||||
}
|
||||
},
|
||||
"executeOnce": true,
|
||||
"typeVersion": 2
|
||||
},
|
||||
{
|
||||
"id": "affbcb81-5873-406e-a51d-cd6fee682992",
|
||||
"name": "Define header row",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
1280,
|
||||
140
|
||||
],
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "columns",
|
||||
"value": "={{ [ Object.keys($(\"Split out food items\").first().json) ] }}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"keepOnlySet": true
|
||||
},
|
||||
"executeOnce": true,
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "537aff03-ae08-4712-bfae-15f0e3a5e69a",
|
||||
"name": "Split out food items",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"position": [
|
||||
840,
|
||||
240
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"fieldToSplitOut": "breakfast_menu.food"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "b247f984-6ed2-4de0-8877-a61571863ff8",
|
||||
"name": "Write header row",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
1500,
|
||||
140
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"rawData": true,
|
||||
"sheetId": "={{ $(\"Create new spreadsheet file\").first().json[\"spreadsheetId\"] }}",
|
||||
"operation": "update",
|
||||
"dataProperty": "columns"
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "19",
|
||||
"name": "Tom's Google Sheets account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2
|
||||
},
|
||||
{
|
||||
"id": "fc9e2c32-30b1-4162-a686-2d049e52e111",
|
||||
"name": "Wait for spreadsheet creation",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"position": [
|
||||
1720,
|
||||
240
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "chooseBranch",
|
||||
"output": "input2"
|
||||
},
|
||||
"typeVersion": 2
|
||||
},
|
||||
{
|
||||
"id": "fdc6d5d9-e08d-4086-a233-0edb3c11bc86",
|
||||
"name": "Write data to sheet",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
1940,
|
||||
240
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"sheetId": "={{ $(\"Create new spreadsheet file\").first().json[\"spreadsheetId\"] }}",
|
||||
"operation": "append"
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "19",
|
||||
"name": "Tom's Google Sheets account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Write header row": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Wait for spreadsheet creation",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Define header row": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Write header row",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Download XML File": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Parse XML content",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Parse XML content": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Split out food items",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Split out food items": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Create new spreadsheet file",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Wait for spreadsheet creation",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Download XML File",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Create new spreadsheet file": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Define header row",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Wait for spreadsheet creation": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Write data to sheet",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"meta": {
|
||||
"instanceId": "dfdeafd1c3ed2ee08eeab8c2fa0c3f522066931ed8138ccd35dc20a1e69decd3"
|
||||
},
|
||||
"nodes": [
|
||||
{
|
||||
"id": "aecce7a8-24f6-48c0-a7f0-f48a421d1d8c",
|
||||
"name": "On clicking 'execute'",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"position": [
|
||||
540,
|
||||
400
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "66822f20-83a9-4272-920c-5d8c9140f912",
|
||||
"name": "Read From File",
|
||||
"type": "n8n-nodes-base.readBinaryFile",
|
||||
"position": [
|
||||
740,
|
||||
400
|
||||
],
|
||||
"parameters": {
|
||||
"filePath": "/home/node/.n8n/concerts-2023.csv"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "9b469774-7c1d-41a3-9bfe-18fc3527f96e",
|
||||
"name": "Convert To Spreadsheet",
|
||||
"type": "n8n-nodes-base.spreadsheetFile",
|
||||
"position": [
|
||||
940,
|
||||
400
|
||||
],
|
||||
"parameters": {
|
||||
"options": {
|
||||
"rawData": true,
|
||||
"readAsString": true
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "a10bd105-16f7-47c8-b5a0-a5a10e51ae10",
|
||||
"name": "Insert into MySQL",
|
||||
"type": "n8n-nodes-base.mySql",
|
||||
"position": [
|
||||
1140,
|
||||
400
|
||||
],
|
||||
"parameters": {
|
||||
"table": {
|
||||
"__rl": true,
|
||||
"mode": "name",
|
||||
"value": "concerts_2023_csv"
|
||||
},
|
||||
"columns": "Date, Band, ConcertName, Country, City, Location, LocationAddress",
|
||||
"options": {}
|
||||
},
|
||||
"credentials": {
|
||||
"mySql": {
|
||||
"id": "46",
|
||||
"name": "MySQL n8n articles"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Read From File": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Convert To Spreadsheet",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On clicking 'execute'": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Read From File",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Convert To Spreadsheet": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Insert into MySQL",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user