Auto backup (2022-06-10T21:00:36.400Z)

This commit is contained in:
nia
2022-06-10 21:00:36 +00:00
parent 7a892126c6
commit 95695fa7f3
7 changed files with 84 additions and 135 deletions

View File

@@ -161,11 +161,11 @@
}
},
"createdAt": "2022-04-29T05:12:17.339Z",
"updatedAt": "2022-06-09T12:09:10.163Z",
"updatedAt": "2022-06-10T13:24:14.329Z",
"settings": {},
"staticData": {
"node:IMAP Email": {
"lastMessageUid": 6292
"lastMessageUid": 6295
}
},
"tags": []

View File

@@ -111,7 +111,7 @@
"updateFields": {
"allday": "yes",
"end": "={{$json[\"date\"]}} 23:00:00",
"start": "={{$json[\"google\"][\"rokoss\"]}} 01:00:00"
"start": "={{$json[\"date\"]}} 01:00:00"
}
},
"name": "Google Calendar",
@@ -1461,7 +1461,7 @@
}
},
"createdAt": "2022-04-29T07:24:59.929Z",
"updatedAt": "2022-06-01T13:48:10.311Z",
"updatedAt": "2022-06-10T05:08:09.248Z",
"settings": {
"saveExecutionProgress": "DEFAULT",
"errorWorkflow": "25"

View File

@@ -125,6 +125,7 @@
"additionalFields": {
"content": "={{$json[\"description\"]}}",
"dueDateTime": "={{DateTime.fromISO($json[\"start\"][\"date\"]).plus({days: 1}).toString()}}",
"importance": "high",
"status": "inProgress"
}
},
@@ -200,7 +201,7 @@
}
},
"createdAt": "2022-04-30T16:57:58.520Z",
"updatedAt": "2022-06-01T05:25:18.705Z",
"updatedAt": "2022-06-10T16:23:37.149Z",
"settings": {
"saveExecutionProgress": "DEFAULT",
"errorWorkflow": "25"

View File

@@ -1,7 +1,7 @@
{
"id": 27,
"name": "olx",
"active": false,
"active": true,
"nodes": [
{
"parameters": {},
@@ -99,67 +99,6 @@
300
]
},
{
"parameters": {
"url": "=https://www.producthunt.com/feed?category=fintech"
},
"name": "ProductHunt RSS Fintech",
"type": "n8n-nodes-base.rssFeedRead",
"position": [
560,
660
],
"typeVersion": 1
},
{
"parameters": {
"keepOnlySet": true,
"values": {
"string": [
{
"name": "Startup Name",
"value": "={{$node[\"ProductHunt RSS Fintech\"].json[\"title\"]}}"
},
{
"name": "Founder",
"value": "={{$node[\"ProductHunt RSS Fintech\"].json[\"author\"]}}"
},
{
"name": "URL",
"value": "={{$json[\"link\"]}}"
},
{
"name": "Publication Date",
"value": "={{$json[\"pubDate\"]}}"
},
{
"name": "Startup Pitch",
"value": "={{$json[\"content\"]}}"
}
]
},
"options": {}
},
"name": "Filter RSS Data1",
"type": "n8n-nodes-base.set",
"position": [
770,
660
],
"typeVersion": 1
},
{
"parameters": {
"functionCode": "const staticData = getWorkflowStaticData('global');\nconst newRSSIds = items.map(item => item.json[\"Date\"]);\nconst oldRSSIds = staticData.oldRSSIds; \n\nif (!oldRSSIds) {\n staticData.oldRSSIds = newRSSIds;\n return items;\n}\n\n\nconst actualNewRSSIds = newRSSIds.filter((id) => !oldRSSIds.includes(id));\nconst actualNewRSS = items.filter((data) => actualNewRSSIds.includes(data.json['Date']));\nstaticData.oldRSSIds = [...actualNewRSSIds, ...oldRSSIds];\n\nreturn actualNewRSS;\n"
},
"name": "Only new",
"type": "n8n-nodes-base.function",
"typeVersion": 1,
"position": [
970,
660
]
},
{
"parameters": {
"triggerTimes": {
@@ -176,20 +115,8 @@
"type": "n8n-nodes-base.cron",
"typeVersion": 1,
"position": [
400,
660
]
},
{
"parameters": {
"functionCode": "const staticData = getWorkflowStaticData('global');\nconst newRSSIds = items.map(item => item.json[\"Date\"]);\nconst oldRSSIds = staticData.oldRSSIds; \n\nif (!oldRSSIds) {\n staticData.oldRSSIds = newRSSIds;\n return items;\n}\n\n\nconst actualNewRSSIds = newRSSIds.filter((id) => !oldRSSIds.includes(id));\nconst actualNewRSS = items.filter((data) => actualNewRSSIds.includes(data.json['Date']));\nstaticData.oldRSSIds = [...actualNewRSSIds, ...oldRSSIds];\n\nreturn actualNewRSS;\n"
},
"name": "Only new1",
"type": "n8n-nodes-base.function",
"typeVersion": 1,
"position": [
1760,
300
220,
640
]
},
{
@@ -233,17 +160,37 @@
},
{
"parameters": {
"operation": "create",
"chatId": "1684481",
"text": "={{$json[\"title\"]}}\n{{$json[\"date\"]}}\n{{$json[\"link\"]}}",
"additionalFields": {}
},
"name": "Telegram",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1,
"position": [
2060,
340
],
"credentials": {
"telegramApi": {
"id": "31",
"name": "Telegram account"
}
}
},
{
"parameters": {
"docId": "d61nLm6Fn99jwqxd6hdT9d",
"tableId": "Ps4_games_ch",
"dataToSend": "autoMapInputs"
"returnAll": true,
"additionalOptions": {}
},
"name": "Grist",
"name": "Grist1",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
1760,
540
1340,
580
],
"credentials": {
"gristApi": {
@@ -254,21 +201,36 @@
},
{
"parameters": {
"chatId": "1684481",
"text": "={{$json[\"title\"]}}\n{{$json[\"date\"]}}\n{{$json[\"link\"]}}",
"additionalFields": {}
"mode": "removeKeyMatches",
"propertyName1": "link",
"propertyName2": "link"
},
"name": "Telegram",
"type": "n8n-nodes-base.telegram",
"name": "Merge1",
"type": "n8n-nodes-base.merge",
"typeVersion": 1,
"position": [
1980,
300
1820,
560
]
},
{
"parameters": {
"operation": "create",
"docId": "d61nLm6Fn99jwqxd6hdT9d",
"tableId": "Ps4_games_ch",
"dataToSend": "autoMapInputs"
},
"name": "Grist",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
2060,
700
],
"credentials": {
"telegramApi": {
"id": "31",
"name": "Telegram account"
"gristApi": {
"id": "21",
"name": "Grist account"
}
}
}
@@ -318,28 +280,6 @@
]
]
},
"ProductHunt RSS Fintech": {
"main": [
[
{
"node": "Filter RSS Data1",
"type": "main",
"index": 0
}
]
]
},
"Filter RSS Data1": {
"main": [
[
{
"node": "Only new",
"type": "main",
"index": 0
}
]
]
},
"Cron2": {
"main": [
[
@@ -373,42 +313,50 @@
]
]
},
"Only new": {
"main": [
[]
]
},
"Set": {
"main": [
[
{
"node": "Only new1",
"node": "Merge1",
"type": "main",
"index": 0
}
]
]
},
"Grist": {
"Grist1": {
"main": [
[]
[
{
"node": "Merge1",
"type": "main",
"index": 1
}
]
]
},
"Only new1": {
"Merge1": {
"main": [
[
{
"node": "Telegram",
"type": "main",
"index": 0
},
{
"node": "Grist",
"type": "main",
"index": 0
}
]
]
}
},
"createdAt": "2022-05-27T16:18:47.443Z",
"updatedAt": "2022-06-09T09:46:18.718Z",
"settings": {},
"updatedAt": "2022-06-10T20:57:39.661Z",
"settings": {
"errorWorkflow": "25"
},
"staticData": {
"global": {
"oldRSSIds": [