Auto backup (2022-06-19T21:00:54.931Z)
This commit is contained in:
236
flows/36.json
Normal file
236
flows/36.json
Normal file
@@ -0,0 +1,236 @@
|
||||
{
|
||||
"id": 36,
|
||||
"name": "avtomoto FB",
|
||||
"active": false,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-280,
|
||||
280
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"node": "Avtomoto25",
|
||||
"options": {
|
||||
"fields": {
|
||||
"field": [
|
||||
{
|
||||
"name": "access_token"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": "Facebook Graph API",
|
||||
"type": "n8n-nodes-base.facebookGraphApi",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
480,
|
||||
60
|
||||
],
|
||||
"credentials": {
|
||||
"facebookGraphApi": {
|
||||
"id": "36",
|
||||
"name": "Facebook Graph account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"httpRequestMethod": "POST",
|
||||
"node": "Avtomoto25/feed/",
|
||||
"options": {
|
||||
"queryParameters": {
|
||||
"parameter": [
|
||||
{
|
||||
"name": "message",
|
||||
"value": "Hello fans"
|
||||
},
|
||||
{
|
||||
"name": "access_token",
|
||||
"value": "={{$json[\"access_token\"]}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": "Facebook Graph API1",
|
||||
"type": "n8n-nodes-base.facebookGraphApi",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
700,
|
||||
60
|
||||
],
|
||||
"credentials": {
|
||||
"facebookGraphApi": {
|
||||
"id": "36",
|
||||
"name": "Facebook Graph account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"node": "me",
|
||||
"edge": "accounts",
|
||||
"options": {}
|
||||
},
|
||||
"name": "Get Pages",
|
||||
"type": "n8n-nodes-base.facebookGraphApi",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-40,
|
||||
280
|
||||
],
|
||||
"credentials": {
|
||||
"facebookGraphApi": {
|
||||
"id": "36",
|
||||
"name": "Facebook Graph account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"fieldToSplitOut": "data",
|
||||
"options": {}
|
||||
},
|
||||
"name": "Split Pages",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
160,
|
||||
280
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$json[\"id\"]}}",
|
||||
"value2": "105101524930750"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Is Tom Travels?",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
400,
|
||||
280
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"httpRequestMethod": "POST",
|
||||
"node": "={{$json[\"id\"]}}",
|
||||
"edge": "feed",
|
||||
"options": {
|
||||
"queryParameters": {
|
||||
"parameter": [
|
||||
{
|
||||
"name": "message",
|
||||
"value": "Розпочато запис на навчання за адресою: м. Чернігів вул. Рокосовського 51 Початок занятть: 20 липня 2022 року"
|
||||
},
|
||||
{
|
||||
"name": "access_token",
|
||||
"value": "={{$json[\"access_token\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "link",
|
||||
"value": "https://avtomoto25.cn.ua/booking/"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": "Facebook Graph API2",
|
||||
"type": "n8n-nodes-base.facebookGraphApi",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
740,
|
||||
280
|
||||
],
|
||||
"credentials": {
|
||||
"facebookGraphApi": {
|
||||
"id": "36",
|
||||
"name": "Facebook Graph account"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Start": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Get Pages",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Facebook Graph API": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Facebook Graph API1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Get Pages": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Split Pages",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Split Pages": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Is Tom Travels?",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Is Tom Travels?": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Facebook Graph API2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-06-18T21:12:12.483Z",
|
||||
"updatedAt": "2022-06-19T17:43:50.998Z",
|
||||
"settings": {},
|
||||
"staticData": null,
|
||||
"tags": [
|
||||
{
|
||||
"id": "1",
|
||||
"name": "avtomoto25",
|
||||
"createdAt": "2022-05-10T18:06:30.022Z",
|
||||
"updatedAt": "2022-05-10T18:06:30.022Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user