Files
n8n/flows/39.json

158 lines
3.0 KiB
JSON
Raw Normal View History

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
]
},
{
"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"
}
}
},
{
"parameters": {
"fieldToSplitOut": "data",
"options": {}
},
"name": "Split Pages1",
"type": "n8n-nodes-base.itemLists",
"typeVersion": 1,
"position": [
340,
160
]
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json[\"id\"]}}",
"value2": "105101524930750"
}
]
}
},
"name": "Is Tom Travels?1",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
540,
160
]
},
{
"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"
}
}
}
],
"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,
"tags": [
{
"id": "1",
"name": "avtomoto25",
"createdAt": "2022-05-10T18:06:30.022Z",
"updatedAt": "2022-05-10T18:06:30.022Z"
}
]
}