2022-05-26 20:57:30 +03:00
|
|
|
|
{
|
|
|
|
|
|
"id": 19,
|
|
|
|
|
|
"name": "facebook mesages",
|
|
|
|
|
|
"active": true,
|
|
|
|
|
|
"nodes": [
|
|
|
|
|
|
{
|
|
|
|
|
|
"parameters": {},
|
|
|
|
|
|
"name": "Start",
|
|
|
|
|
|
"type": "n8n-nodes-base.start",
|
|
|
|
|
|
"typeVersion": 1,
|
|
|
|
|
|
"position": [
|
|
|
|
|
|
240,
|
|
|
|
|
|
300
|
|
|
|
|
|
]
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
"parameters": {
|
|
|
|
|
|
"resource": "message",
|
|
|
|
|
|
"operation": "getAll",
|
|
|
|
|
|
"additionalFields": {
|
|
|
|
|
|
"labelIds": [
|
|
|
|
|
|
"Label_6702928953786997882"
|
|
|
|
|
|
]
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
"name": "Gmail",
|
|
|
|
|
|
"type": "n8n-nodes-base.gmail",
|
|
|
|
|
|
"typeVersion": 1,
|
|
|
|
|
|
"position": [
|
|
|
|
|
|
720,
|
|
|
|
|
|
380
|
|
|
|
|
|
],
|
|
|
|
|
|
"alwaysOutputData": false,
|
|
|
|
|
|
"credentials": {
|
|
|
|
|
|
"gmailOAuth2": {
|
|
|
|
|
|
"id": "23",
|
|
|
|
|
|
"name": "Gmail account"
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
"parameters": {
|
|
|
|
|
|
"triggerTimes": {
|
|
|
|
|
|
"item": [
|
|
|
|
|
|
{
|
|
|
|
|
|
"mode": "everyX",
|
|
|
|
|
|
"value": 5,
|
|
|
|
|
|
"unit": "minutes"
|
|
|
|
|
|
}
|
|
|
|
|
|
]
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
"name": "Cron",
|
|
|
|
|
|
"type": "n8n-nodes-base.cron",
|
|
|
|
|
|
"typeVersion": 1,
|
|
|
|
|
|
"position": [
|
|
|
|
|
|
480,
|
|
|
|
|
|
380
|
|
|
|
|
|
]
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
"parameters": {
|
|
|
|
|
|
"chatId": "-1001369967688",
|
|
|
|
|
|
"text": "=Повідомлення у Facebook:\n{{$json[\"text\"]}}",
|
|
|
|
|
|
"additionalFields": {}
|
|
|
|
|
|
},
|
|
|
|
|
|
"name": "Telegram",
|
|
|
|
|
|
"type": "n8n-nodes-base.telegram",
|
|
|
|
|
|
"typeVersion": 1,
|
|
|
|
|
|
"position": [
|
|
|
|
|
|
1020,
|
|
|
|
|
|
380
|
|
|
|
|
|
],
|
|
|
|
|
|
"credentials": {
|
|
|
|
|
|
"telegramApi": {
|
|
|
|
|
|
"id": "15",
|
|
|
|
|
|
"name": "avtomoto25"
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
"parameters": {
|
|
|
|
|
|
"resource": "message",
|
|
|
|
|
|
"operation": "delete",
|
|
|
|
|
|
"messageId": "={{$json[\"id\"]}}"
|
|
|
|
|
|
},
|
|
|
|
|
|
"name": "Gmail1",
|
|
|
|
|
|
"type": "n8n-nodes-base.gmail",
|
|
|
|
|
|
"typeVersion": 1,
|
|
|
|
|
|
"position": [
|
|
|
|
|
|
1020,
|
|
|
|
|
|
160
|
|
|
|
|
|
],
|
|
|
|
|
|
"alwaysOutputData": true,
|
|
|
|
|
|
"credentials": {
|
|
|
|
|
|
"gmailOAuth2": {
|
|
|
|
|
|
"id": "23",
|
|
|
|
|
|
"name": "Gmail account"
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
],
|
|
|
|
|
|
"connections": {
|
|
|
|
|
|
"Cron": {
|
|
|
|
|
|
"main": [
|
|
|
|
|
|
[
|
|
|
|
|
|
{
|
|
|
|
|
|
"node": "Gmail",
|
|
|
|
|
|
"type": "main",
|
|
|
|
|
|
"index": 0
|
|
|
|
|
|
}
|
|
|
|
|
|
]
|
|
|
|
|
|
]
|
|
|
|
|
|
},
|
|
|
|
|
|
"Gmail": {
|
|
|
|
|
|
"main": [
|
|
|
|
|
|
[
|
|
|
|
|
|
{
|
|
|
|
|
|
"node": "Telegram",
|
|
|
|
|
|
"type": "main",
|
|
|
|
|
|
"index": 0
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
"node": "Gmail1",
|
|
|
|
|
|
"type": "main",
|
|
|
|
|
|
"index": 0
|
|
|
|
|
|
}
|
|
|
|
|
|
]
|
|
|
|
|
|
]
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
"createdAt": "2022-05-10T18:18:51.319Z",
|
2022-06-01 05:27:46 +00:00
|
|
|
|
"updatedAt": "2022-06-01T05:25:24.346Z",
|
2022-05-27 07:03:35 +00:00
|
|
|
|
"settings": {
|
|
|
|
|
|
"saveExecutionProgress": "DEFAULT",
|
|
|
|
|
|
"errorWorkflow": "25"
|
|
|
|
|
|
},
|
2022-05-26 20:57:30 +03:00
|
|
|
|
"staticData": null
|
|
|
|
|
|
}
|