2022-06-23 21:00:30 +00:00
|
|
|
{
|
|
|
|
|
"id": 39,
|
|
|
|
|
"name": "avtomoto25 messages",
|
|
|
|
|
"active": false,
|
|
|
|
|
"nodes": [
|
|
|
|
|
{
|
|
|
|
|
"parameters": {},
|
|
|
|
|
"name": "Start",
|
|
|
|
|
"type": "n8n-nodes-base.start",
|
|
|
|
|
"typeVersion": 1,
|
|
|
|
|
"position": [
|
|
|
|
|
-140,
|
|
|
|
|
60
|
2022-08-03 21:00:21 +00:00
|
|
|
],
|
|
|
|
|
"id": "d6055ed9-a659-41ec-9374-abe41f7237ae"
|
2022-06-23 21:00:30 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"parameters": {
|
|
|
|
|
"graphApiVersion": "v13.0",
|
|
|
|
|
"node": "me",
|
|
|
|
|
"edge": "accounts",
|
|
|
|
|
"options": {}
|
|
|
|
|
},
|
|
|
|
|
"name": "Get Pages1",
|
|
|
|
|
"type": "n8n-nodes-base.facebookGraphApi",
|
|
|
|
|
"typeVersion": 1,
|
|
|
|
|
"position": [
|
|
|
|
|
100,
|
|
|
|
|
140
|
|
|
|
|
],
|
|
|
|
|
"credentials": {
|
|
|
|
|
"facebookGraphApi": {
|
|
|
|
|
"id": "36",
|
|
|
|
|
"name": "Facebook Graph account"
|
|
|
|
|
}
|
2022-08-03 21:00:21 +00:00
|
|
|
},
|
|
|
|
|
"id": "021a30f6-2ddb-4e69-a032-1809bc5a9003"
|
2022-06-23 21:00:30 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"parameters": {
|
|
|
|
|
"fieldToSplitOut": "data",
|
|
|
|
|
"options": {}
|
|
|
|
|
},
|
|
|
|
|
"name": "Split Pages1",
|
|
|
|
|
"type": "n8n-nodes-base.itemLists",
|
|
|
|
|
"typeVersion": 1,
|
|
|
|
|
"position": [
|
|
|
|
|
340,
|
|
|
|
|
160
|
2022-08-03 21:00:21 +00:00
|
|
|
],
|
|
|
|
|
"id": "7030dc12-89c3-4942-82d4-067829315a6b"
|
2022-06-23 21:00:30 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"parameters": {
|
|
|
|
|
"conditions": {
|
|
|
|
|
"string": [
|
|
|
|
|
{
|
|
|
|
|
"value1": "={{$json[\"id\"]}}",
|
|
|
|
|
"value2": "105101524930750"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"name": "Is Tom Travels?1",
|
|
|
|
|
"type": "n8n-nodes-base.if",
|
|
|
|
|
"typeVersion": 1,
|
|
|
|
|
"position": [
|
|
|
|
|
540,
|
|
|
|
|
160
|
2022-08-03 21:00:21 +00:00
|
|
|
],
|
|
|
|
|
"id": "d0d185dd-e2a8-48fd-af9e-62d35d937446"
|
2022-06-23 21:00:30 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"parameters": {
|
|
|
|
|
"graphApiVersion": "v13.0",
|
|
|
|
|
"node": "={{$json[\"id\"]}}",
|
|
|
|
|
"edge": "conversations",
|
|
|
|
|
"options": {
|
|
|
|
|
"queryParameters": {
|
|
|
|
|
"parameter": [
|
|
|
|
|
{
|
|
|
|
|
"name": "access_token",
|
|
|
|
|
"value": "={{$json[\"access_token\"]}}"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"name": "Facebook Graph API",
|
|
|
|
|
"type": "n8n-nodes-base.facebookGraphApi",
|
|
|
|
|
"typeVersion": 1,
|
|
|
|
|
"position": [
|
|
|
|
|
760,
|
|
|
|
|
160
|
|
|
|
|
],
|
|
|
|
|
"credentials": {
|
|
|
|
|
"facebookGraphApi": {
|
|
|
|
|
"id": "36",
|
|
|
|
|
"name": "Facebook Graph account"
|
|
|
|
|
}
|
2022-08-03 21:00:21 +00:00
|
|
|
},
|
|
|
|
|
"id": "f8e4a9c5-4a1d-441e-a015-a97d0f52ef9b"
|
2022-06-23 21:00:30 +00:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"connections": {
|
|
|
|
|
"Get Pages1": {
|
|
|
|
|
"main": [
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"node": "Split Pages1",
|
|
|
|
|
"type": "main",
|
|
|
|
|
"index": 0
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"Split Pages1": {
|
|
|
|
|
"main": [
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"node": "Is Tom Travels?1",
|
|
|
|
|
"type": "main",
|
|
|
|
|
"index": 0
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"Is Tom Travels?1": {
|
|
|
|
|
"main": [
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"node": "Facebook Graph API",
|
|
|
|
|
"type": "main",
|
|
|
|
|
"index": 0
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"Start": {
|
|
|
|
|
"main": [
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"node": "Get Pages1",
|
|
|
|
|
"type": "main",
|
|
|
|
|
"index": 0
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"createdAt": "2022-06-23T08:35:12.154Z",
|
|
|
|
|
"updatedAt": "2022-06-23T10:35:28.852Z",
|
|
|
|
|
"settings": {},
|
|
|
|
|
"staticData": null,
|
2022-07-20 21:00:15 +00:00
|
|
|
"pinData": null,
|
2022-06-23 21:00:30 +00:00
|
|
|
"tags": [
|
|
|
|
|
{
|
|
|
|
|
"id": "1",
|
|
|
|
|
"name": "avtomoto25",
|
|
|
|
|
"createdAt": "2022-05-10T18:06:30.022Z",
|
|
|
|
|
"updatedAt": "2022-05-10T18:06:30.022Z"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|