Auto backup (2022-08-23T21:00:20.561Z)
This commit is contained in:
314
flows/39.json
314
flows/39.json
@@ -149,8 +149,8 @@
|
||||
"type": "n8n-nodes-base.facebookGraphApi",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1420,
|
||||
120
|
||||
1520,
|
||||
320
|
||||
],
|
||||
"id": "2c143579-e33d-4601-a23c-3b78479fd064",
|
||||
"credentials": {
|
||||
@@ -248,8 +248,8 @@
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1600,
|
||||
120
|
||||
1740,
|
||||
320
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -261,8 +261,8 @@
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1780,
|
||||
120
|
||||
1920,
|
||||
320
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -302,7 +302,7 @@
|
||||
{
|
||||
"value1": "={{$json[\"data\"][\"updated_time\"]}}",
|
||||
"operation": "=after",
|
||||
"value2": "={{$today.minus({days: 1})}}"
|
||||
"value2": "={{$today.minus({days: 7})}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -312,7 +312,7 @@
|
||||
"type": "n8n-nodes-base.if",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1200,
|
||||
1220,
|
||||
140
|
||||
]
|
||||
},
|
||||
@@ -336,6 +336,235 @@
|
||||
-240,
|
||||
160
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "create",
|
||||
"docId": "tAuWNMisjXqyEkYudRcA2c",
|
||||
"tableId": "Messages",
|
||||
"fieldsToSend": {
|
||||
"properties": [
|
||||
{
|
||||
"fieldId": "date",
|
||||
"fieldValue": "={{ $json[\"created_time\"] }}"
|
||||
},
|
||||
{
|
||||
"fieldId": "user_id",
|
||||
"fieldValue": "={{$json[\"from\"][\"id\"]}}"
|
||||
},
|
||||
{
|
||||
"fieldId": "message_id",
|
||||
"fieldValue": "={{ $json[\"id\"] }}"
|
||||
},
|
||||
{
|
||||
"fieldId": "message",
|
||||
"fieldValue": "={{ $json[\"message\"] }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"id": "bedb684f-8790-4142-b4cf-bd97a639d3da",
|
||||
"name": "Grist",
|
||||
"type": "n8n-nodes-base.grist",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
2160,
|
||||
120
|
||||
],
|
||||
"credentials": {
|
||||
"gristApi": {
|
||||
"id": "21",
|
||||
"name": "Grist account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"graphApiVersion": "v14.0",
|
||||
"node": "={{$json[\"data\"][\"id\"]}}",
|
||||
"edge": "messages",
|
||||
"options": {
|
||||
"fields": {
|
||||
"field": [
|
||||
{
|
||||
"name": "message"
|
||||
},
|
||||
{
|
||||
"name": "created_time"
|
||||
},
|
||||
{
|
||||
"name": "from"
|
||||
},
|
||||
{
|
||||
"name": "to"
|
||||
},
|
||||
{
|
||||
"name": "tags"
|
||||
},
|
||||
{
|
||||
"name": "id"
|
||||
}
|
||||
]
|
||||
},
|
||||
"queryParameters": {
|
||||
"parameter": [
|
||||
{
|
||||
"name": "access_token",
|
||||
"value": "={{$json[\"token\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "fields ",
|
||||
"value": "message"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": "Facebook Graph API4",
|
||||
"type": "n8n-nodes-base.facebookGraphApi",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1360,
|
||||
-160
|
||||
],
|
||||
"id": "4ca110a1-3d4c-4888-9bdc-76862fab4791",
|
||||
"credentials": {
|
||||
"facebookGraphApi": {
|
||||
"id": "36",
|
||||
"name": "Facebook Graph account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"fieldToSplitOut": "data",
|
||||
"options": {}
|
||||
},
|
||||
"id": "665f7bc0-aa15-478a-984f-30564d104da5",
|
||||
"name": "Item Lists3",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1560,
|
||||
-160
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "limit"
|
||||
},
|
||||
"id": "9be52810-7021-48cc-a92f-0602e9ca62b4",
|
||||
"name": "Item Lists4",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
2320,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$json[\"from\"][\"id\"]}}",
|
||||
"operation": "notContains",
|
||||
"value2": "105101524930750"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"id": "1c0fe986-90b7-4446-bb17-c7454f7f0678",
|
||||
"name": "IF1",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1740,
|
||||
-160
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"mode": "removeKeyMatches",
|
||||
"propertyName1": "id",
|
||||
"propertyName2": "message_id"
|
||||
},
|
||||
"id": "9110d11a-0d12-4a69-892e-e4cbd6c2d73c",
|
||||
"name": "Merge",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1960,
|
||||
-40
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"docId": "tAuWNMisjXqyEkYudRcA2c",
|
||||
"tableId": "Messages",
|
||||
"returnAll": true,
|
||||
"additionalOptions": {}
|
||||
},
|
||||
"id": "4f62146b-cc28-4621-8076-e608f0ac4058",
|
||||
"name": "Grist1",
|
||||
"type": "n8n-nodes-base.grist",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1740,
|
||||
80
|
||||
],
|
||||
"credentials": {
|
||||
"gristApi": {
|
||||
"id": "21",
|
||||
"name": "Grist account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chatId": "-1001369967688",
|
||||
"text": "=Заявку скасовано",
|
||||
"additionalFields": {
|
||||
"parse_mode": "Markdown"
|
||||
}
|
||||
},
|
||||
"name": "Telegram2",
|
||||
"type": "n8n-nodes-base.telegram",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
440,
|
||||
400
|
||||
],
|
||||
"id": "2669e981-600b-424e-853b-c4b03f85042a",
|
||||
"credentials": {
|
||||
"telegramApi": {
|
||||
"id": "15",
|
||||
"name": "avtomoto25"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chatId": "-1001369967688",
|
||||
"text": "=📫 <b>Повідомлення у Facebook</b> 📫\nвід: <b>{{$json[\"from\"][\"id\"]}}</b>\nповідомлення: <b>{{$json[\"message\"]}}</b>",
|
||||
"additionalFields": {
|
||||
"parse_mode": "HTML"
|
||||
}
|
||||
},
|
||||
"id": "9737e0ab-7b49-4dc6-8075-869878647ae7",
|
||||
"name": "Telegram",
|
||||
"type": "n8n-nodes-base.telegram",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
2180,
|
||||
-180
|
||||
],
|
||||
"credentials": {
|
||||
"telegramApi": {
|
||||
"id": "15",
|
||||
"name": "avtomoto25"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
@@ -361,11 +590,6 @@
|
||||
]
|
||||
]
|
||||
},
|
||||
"Start": {
|
||||
"main": [
|
||||
[]
|
||||
]
|
||||
},
|
||||
"Facebook Graph API": {
|
||||
"main": [
|
||||
[
|
||||
@@ -436,7 +660,7 @@
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Facebook Graph API1",
|
||||
"node": "Facebook Graph API4",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
@@ -453,10 +677,70 @@
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Facebook Graph API4": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Item Lists3",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Item Lists3": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "IF1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"IF1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Merge": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Grist",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Telegram",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Grist1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-06-23T08:35:12.154Z",
|
||||
"updatedAt": "2022-08-22T20:40:37.415Z",
|
||||
"updatedAt": "2022-08-23T17:04:30.686Z",
|
||||
"settings": {},
|
||||
"staticData": null,
|
||||
"pinData": {},
|
||||
|
||||
Reference in New Issue
Block a user