Created
October 7, 2025 13:34
-
-
Save shehriar-awan/7f7f03c1772ea134e6e28fc0314e2f0e to your computer and use it in GitHub Desktop.
Leboncoin Auto Message Sender Bot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "lbc_msg_bot_basic", | |
| "nodes": [ | |
| { | |
| "parameters": { | |
| "method": "POST", | |
| "url": "https://api.lobstr.io/v1/tasks", | |
| "authentication": "genericCredentialType", | |
| "genericAuthType": "httpHeaderAuth", | |
| "sendBody": true, | |
| "specifyBody": "json", | |
| "jsonBody": "={\n \"tasks\": [\n {\n \"url\": \"{{ String($json.body) }}\"\n }\n ],\n \"squid\": \"c309608cd38a4fe4bfb8738776763bdc\"\n}", | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.httpRequest", | |
| "typeVersion": 4.2, | |
| "position": [ | |
| 192, | |
| 240 | |
| ], | |
| "id": "9ecef415-d6bd-4593-856b-ac9deab13780", | |
| "name": "add_task", | |
| "credentials": { | |
| "httpHeaderAuth": { | |
| "id": "vZaTgk7DSAMZDT6Y", | |
| "name": "LobstrAPI" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "method": "POST", | |
| "url": "https://api.lobstr.io/v1/squids/c309608cd38a4fe4bfb8738776763bdc", | |
| "authentication": "genericCredentialType", | |
| "genericAuthType": "httpHeaderAuth", | |
| "sendBody": true, | |
| "specifyBody": "json", | |
| "jsonBody": "={\n \"concurrency\": 1,\n \"export_unique_results\": true,\n \"to_complete\": false,\n \"no_line_breaks\": true,\n \"params\": {\n \"message\": \"{{ String($json.data.Message) }}\",\n \"functions\": {\n \"one_time_message\": {{ $json.data['One time message'] }}\n },\n \"hours_back\": {{ $json.data['Hours back'] }},\n \"max_results\": {{ $json.data['Max results'] }}\n }\n}", | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.httpRequest", | |
| "typeVersion": 4.2, | |
| "position": [ | |
| 1088, | |
| 144 | |
| ], | |
| "id": "afe62473-8fd2-43d5-bc78-b7731fcad90d", | |
| "name": "update_squid", | |
| "credentials": { | |
| "httpHeaderAuth": { | |
| "id": "vZaTgk7DSAMZDT6Y", | |
| "name": "LobstrAPI" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "method": "POST", | |
| "url": "https://api.lobstr.io/v1/runs", | |
| "authentication": "genericCredentialType", | |
| "genericAuthType": "httpHeaderAuth", | |
| "sendBody": true, | |
| "bodyParameters": { | |
| "parameters": [ | |
| { | |
| "name": "squid", | |
| "value": "c309608cd38a4fe4bfb8738776763bdc" | |
| } | |
| ] | |
| }, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.httpRequest", | |
| "typeVersion": 4.2, | |
| "position": [ | |
| 1312, | |
| 144 | |
| ], | |
| "id": "496d561a-359b-4bda-90d8-91d4a667d6d5", | |
| "name": "run_squid", | |
| "credentials": { | |
| "httpHeaderAuth": { | |
| "id": "vZaTgk7DSAMZDT6Y", | |
| "name": "LobstrAPI" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "httpMethod": "POST", | |
| "path": "lbcb", | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.webhook", | |
| "typeVersion": 2.1, | |
| "position": [ | |
| -480, | |
| 336 | |
| ], | |
| "id": "134ba331-fc18-4f1a-921e-406831941279", | |
| "name": "get_url", | |
| "webhookId": "48c3ba19-3e5a-4e67-98bf-c2a0c9b638c3" | |
| }, | |
| { | |
| "parameters": { | |
| "url": "=https://api.lobstr.io/v1/runs/{{ $json.id }}/stats", | |
| "authentication": "genericCredentialType", | |
| "genericAuthType": "httpHeaderAuth", | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.httpRequest", | |
| "typeVersion": 4.2, | |
| "position": [ | |
| 1536, | |
| 144 | |
| ], | |
| "id": "3067754d-da01-4675-8eb6-d2975eb90a9c", | |
| "name": "get_run_stats", | |
| "credentials": { | |
| "httpHeaderAuth": { | |
| "id": "vZaTgk7DSAMZDT6Y", | |
| "name": "LobstrAPI" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "url": "=https://api.lobstr.io/v1/results?run={{ $json.id }}", | |
| "authentication": "genericCredentialType", | |
| "genericAuthType": "httpHeaderAuth", | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.httpRequest", | |
| "typeVersion": 4.2, | |
| "position": [ | |
| 1984, | |
| -32 | |
| ], | |
| "id": "88da510a-6975-4a68-b905-85b11f29e694", | |
| "name": "get_results", | |
| "credentials": { | |
| "httpHeaderAuth": { | |
| "id": "vZaTgk7DSAMZDT6Y", | |
| "name": "LobstrAPI" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "conditions": { | |
| "options": { | |
| "caseSensitive": true, | |
| "leftValue": "", | |
| "typeValidation": "strict", | |
| "version": 2 | |
| }, | |
| "conditions": [ | |
| { | |
| "id": "71046035-88d2-4deb-a4a7-f9dc6d27c3f1", | |
| "leftValue": "={{ $json.body }}", | |
| "rightValue": "leboncoin.fr/", | |
| "operator": { | |
| "type": "string", | |
| "operation": "contains" | |
| } | |
| } | |
| ], | |
| "combinator": "and" | |
| }, | |
| "looseTypeValidation": true, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.if", | |
| "typeVersion": 2.2, | |
| "position": [ | |
| -32, | |
| 336 | |
| ], | |
| "id": "cd8ca6fd-23a8-4ccd-851b-bac271eeaa2e", | |
| "name": "If" | |
| }, | |
| { | |
| "parameters": { | |
| "errorMessage": "error" | |
| }, | |
| "type": "n8n-nodes-base.stopAndError", | |
| "typeVersion": 1, | |
| "position": [ | |
| 416, | |
| 432 | |
| ], | |
| "id": "923a342b-2e4a-447b-a169-253913f3f39d", | |
| "name": "Stop and Error" | |
| }, | |
| { | |
| "parameters": { | |
| "rules": { | |
| "values": [ | |
| { | |
| "conditions": { | |
| "options": { | |
| "caseSensitive": true, | |
| "leftValue": "", | |
| "typeValidation": "strict", | |
| "version": 2 | |
| }, | |
| "conditions": [ | |
| { | |
| "leftValue": "={{ $json.is_done }}", | |
| "rightValue": "", | |
| "operator": { | |
| "type": "boolean", | |
| "operation": "true", | |
| "singleValue": true | |
| }, | |
| "id": "45612824-151b-429c-ad15-e10cf3e0ab3c" | |
| } | |
| ], | |
| "combinator": "and" | |
| } | |
| }, | |
| { | |
| "conditions": { | |
| "options": { | |
| "caseSensitive": true, | |
| "leftValue": "", | |
| "typeValidation": "strict", | |
| "version": 2 | |
| }, | |
| "conditions": [ | |
| { | |
| "id": "7b323ab4-ae0e-4f33-8e35-a5d2271f6f27", | |
| "leftValue": "={{ $json.is_done }}", | |
| "rightValue": "", | |
| "operator": { | |
| "type": "boolean", | |
| "operation": "false", | |
| "singleValue": true | |
| } | |
| } | |
| ], | |
| "combinator": "and" | |
| } | |
| } | |
| ] | |
| }, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.switch", | |
| "typeVersion": 3.2, | |
| "position": [ | |
| 1760, | |
| 64 | |
| ], | |
| "id": "33b7290b-4539-4590-9a5e-02a98ae66fee", | |
| "name": "Switch" | |
| }, | |
| { | |
| "parameters": { | |
| "amount": 30 | |
| }, | |
| "type": "n8n-nodes-base.wait", | |
| "typeVersion": 1.1, | |
| "position": [ | |
| 1984, | |
| 160 | |
| ], | |
| "id": "12efc131-082a-496f-9c96-d56ab37e2c00", | |
| "name": "Wait", | |
| "webhookId": "a4e0ae26-ceb1-4d46-9427-32dcaab2e998" | |
| }, | |
| { | |
| "parameters": { | |
| "resource": "message", | |
| "guildId": { | |
| "__rl": true, | |
| "value": "1140936450569932830", | |
| "mode": "list", | |
| "cachedResultName": "crabtest", | |
| "cachedResultUrl": "https://discord.com/channels/1140936450569932830" | |
| }, | |
| "channelId": { | |
| "__rl": true, | |
| "value": "1396901155564687460", | |
| "mode": "list", | |
| "cachedResultName": "n8n", | |
| "cachedResultUrl": "https://discord.com/channels/1140936450569932830/1396901155564687460" | |
| }, | |
| "content": "=Annonce ID: {{ $json.data[0].annonce_id }}\nURL: {{ $json.data[0].url }}\n\nMessage: {{ $json.data[0].message }}\nIs sent: {{ $json.data[0].is_sent }}\n\nWas sent already? {{ $json.data[0].was_already_sent }}\n\nIs deactivated: {{ $json.data[0].is_deactivated }}\n\nTime: {{ $json.data[0].functions.one_time_message.filling_date }}", | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.discord", | |
| "typeVersion": 2, | |
| "position": [ | |
| 2208, | |
| -32 | |
| ], | |
| "id": "851d2da8-fcb7-438a-a646-0067f8583d2e", | |
| "name": "Send a message", | |
| "webhookId": "41ad44b4-9f6f-4bd1-8efc-157958949fc7", | |
| "credentials": { | |
| "discordBotApi": { | |
| "id": "yMOtTxOfr438W2AB", | |
| "name": "Discord Bot account" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "method": "DELETE", | |
| "url": "=https://api.lobstr.io/v1/tasks/{{ $('add_task').item.json.tasks[0].id }}", | |
| "authentication": "genericCredentialType", | |
| "genericAuthType": "httpHeaderAuth", | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.httpRequest", | |
| "typeVersion": 4.2, | |
| "position": [ | |
| 2432, | |
| -32 | |
| ], | |
| "id": "4489aee1-ac81-4005-8981-33e77f62ed14", | |
| "name": "delete_task", | |
| "credentials": { | |
| "httpHeaderAuth": { | |
| "id": "vZaTgk7DSAMZDT6Y", | |
| "name": "LobstrAPI" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "fieldToSplitOut": "body", | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.splitOut", | |
| "typeVersion": 1, | |
| "position": [ | |
| -256, | |
| 336 | |
| ], | |
| "id": "b8f54079-e677-46c0-a805-0d180ab21f89", | |
| "name": "Split Out" | |
| }, | |
| { | |
| "parameters": { | |
| "resource": "message", | |
| "guildId": { | |
| "__rl": true, | |
| "value": "1140936450569932830", | |
| "mode": "list", | |
| "cachedResultName": "crabtest", | |
| "cachedResultUrl": "https://discord.com/channels/1140936450569932830" | |
| }, | |
| "channelId": { | |
| "__rl": true, | |
| "value": "1396901155564687460", | |
| "mode": "list", | |
| "cachedResultName": "n8n", | |
| "cachedResultUrl": "https://discord.com/channels/1140936450569932830/1396901155564687460" | |
| }, | |
| "content": "Wrong URL", | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.discord", | |
| "typeVersion": 2, | |
| "position": [ | |
| 192, | |
| 432 | |
| ], | |
| "id": "d07c2eba-ddf8-4e53-a3ae-5caa8a21ee9b", | |
| "name": "Send a message1", | |
| "webhookId": "84439d97-4f7b-402d-850f-a5494389da44", | |
| "credentials": { | |
| "discordBotApi": { | |
| "id": "yMOtTxOfr438W2AB", | |
| "name": "Discord Bot account" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "url": "https://api.lobstr.io/v1/accounts/9f291dfe9060d1265431852c9ea371bc", | |
| "authentication": "genericCredentialType", | |
| "genericAuthType": "httpHeaderAuth", | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.httpRequest", | |
| "typeVersion": 4.2, | |
| "position": [ | |
| 416, | |
| 240 | |
| ], | |
| "id": "49025a96-9c9b-4071-9bee-709b8dbb79d3", | |
| "name": "check_acc", | |
| "credentials": { | |
| "httpHeaderAuth": { | |
| "id": "vZaTgk7DSAMZDT6Y", | |
| "name": "LobstrAPI" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "conditions": { | |
| "options": { | |
| "caseSensitive": true, | |
| "leftValue": "", | |
| "typeValidation": "strict", | |
| "version": 2 | |
| }, | |
| "conditions": [ | |
| { | |
| "id": "41b6b24b-148d-45c4-a252-b81470bba2e3", | |
| "leftValue": "={{ $json.data[0].status_code_info }}", | |
| "rightValue": "synchronized", | |
| "operator": { | |
| "type": "string", | |
| "operation": "equals" | |
| } | |
| } | |
| ], | |
| "combinator": "and" | |
| }, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.if", | |
| "typeVersion": 2.2, | |
| "position": [ | |
| 640, | |
| 240 | |
| ], | |
| "id": "cefb8888-cf6f-47eb-a297-8e4ae35b387e", | |
| "name": "If1" | |
| }, | |
| { | |
| "parameters": { | |
| "resource": "message", | |
| "guildId": { | |
| "__rl": true, | |
| "value": "1140936450569932830", | |
| "mode": "list", | |
| "cachedResultName": "crabtest", | |
| "cachedResultUrl": "https://discord.com/channels/1140936450569932830" | |
| }, | |
| "channelId": { | |
| "__rl": true, | |
| "value": "1396901155564687460", | |
| "mode": "list", | |
| "cachedResultName": "n8n", | |
| "cachedResultUrl": "https://discord.com/channels/1140936450569932830/1396901155564687460" | |
| }, | |
| "content": "Account sync ERROR", | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.discord", | |
| "typeVersion": 2, | |
| "position": [ | |
| 864, | |
| 336 | |
| ], | |
| "id": "8625d806-21fa-49d1-927d-c515e3ab4298", | |
| "name": "Send a message2", | |
| "webhookId": "24d95279-accf-4486-b5a5-073270ab9e3e", | |
| "credentials": { | |
| "discordBotApi": { | |
| "id": "yMOtTxOfr438W2AB", | |
| "name": "Discord Bot account" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "errorMessage": "aa" | |
| }, | |
| "type": "n8n-nodes-base.stopAndError", | |
| "typeVersion": 1, | |
| "position": [ | |
| 1088, | |
| 336 | |
| ], | |
| "id": "3e40b7e5-e411-4653-bbf7-57a52ae00935", | |
| "name": "Stop and Error1" | |
| }, | |
| { | |
| "parameters": { | |
| "url": "=https://api.lobstr.io/v1/runs/{{ $json.id }}", | |
| "authentication": "genericCredentialType", | |
| "genericAuthType": "httpHeaderAuth", | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.httpRequest", | |
| "typeVersion": 4.2, | |
| "position": [ | |
| 2208, | |
| 160 | |
| ], | |
| "id": "ac0d166f-a128-4bb6-a536-fbd1b739279a", | |
| "name": "run_confirm", | |
| "credentials": { | |
| "httpHeaderAuth": { | |
| "id": "vZaTgk7DSAMZDT6Y", | |
| "name": "LobstrAPI" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "conditions": { | |
| "options": { | |
| "caseSensitive": true, | |
| "leftValue": "", | |
| "typeValidation": "strict", | |
| "version": 2 | |
| }, | |
| "conditions": [ | |
| { | |
| "id": "47890a67-c756-48f6-9d1c-807cb0f81dda", | |
| "leftValue": "={{ $json.status }}", | |
| "rightValue": "error", | |
| "operator": { | |
| "type": "string", | |
| "operation": "equals", | |
| "name": "filter.operator.equals" | |
| } | |
| } | |
| ], | |
| "combinator": "and" | |
| }, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.if", | |
| "typeVersion": 2.2, | |
| "position": [ | |
| 2432, | |
| 160 | |
| ], | |
| "id": "9e0c8700-89fc-450a-bc18-19f4fd745ddd", | |
| "name": "If2" | |
| }, | |
| { | |
| "parameters": {}, | |
| "type": "n8n-nodes-base.wait", | |
| "typeVersion": 1.1, | |
| "position": [ | |
| 2720, | |
| 352 | |
| ], | |
| "id": "ef3a1623-5955-4910-87bd-1edf90c4ee4d", | |
| "name": "Wait1", | |
| "webhookId": "cc843c62-f551-4f51-a689-e78e09e5b4f5" | |
| }, | |
| { | |
| "parameters": { | |
| "resource": "message", | |
| "guildId": { | |
| "__rl": true, | |
| "value": "1140936450569932830", | |
| "mode": "list", | |
| "cachedResultName": "crabtest", | |
| "cachedResultUrl": "https://discord.com/channels/1140936450569932830" | |
| }, | |
| "channelId": { | |
| "__rl": true, | |
| "value": "1396901155564687460", | |
| "mode": "list", | |
| "cachedResultName": "n8n", | |
| "cachedResultUrl": "https://discord.com/channels/1140936450569932830/1396901155564687460" | |
| }, | |
| "content": "=Run Stopped!\n\nRun Status: {{ $json.status }}\nReason: {{ $json.done_reason_desc }}", | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.discord", | |
| "typeVersion": 2, | |
| "position": [ | |
| 2720, | |
| 0 | |
| ], | |
| "id": "ac45401a-9be5-4e5f-9296-a207283768fd", | |
| "name": "Send a message3", | |
| "webhookId": "b7e293fa-17fd-4611-9429-784de92bd099", | |
| "credentials": { | |
| "discordBotApi": { | |
| "id": "yMOtTxOfr438W2AB", | |
| "name": "Discord Bot account" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "errorMessage": "a" | |
| }, | |
| "type": "n8n-nodes-base.stopAndError", | |
| "typeVersion": 1, | |
| "position": [ | |
| 2880, | |
| 112 | |
| ], | |
| "id": "56251698-2b2c-4ebd-9292-e2cb7d253650", | |
| "name": "Stop and Error2" | |
| }, | |
| { | |
| "parameters": { | |
| "resource": "message", | |
| "operation": "sendAndWait", | |
| "guildId": { | |
| "__rl": true, | |
| "value": "1140936450569932830", | |
| "mode": "list", | |
| "cachedResultName": "crabtest", | |
| "cachedResultUrl": "https://discord.com/channels/1140936450569932830" | |
| }, | |
| "channelId": { | |
| "__rl": true, | |
| "value": "1396901155564687460", | |
| "mode": "list", | |
| "cachedResultName": "n8n", | |
| "cachedResultUrl": "https://discord.com/channels/1140936450569932830/1396901155564687460" | |
| }, | |
| "message": "=Click Respond to add message", | |
| "responseType": "customForm", | |
| "formFields": { | |
| "values": [ | |
| { | |
| "fieldLabel": "Message", | |
| "placeholder": "Use #psuedo# to add username and #title# to add listing title", | |
| "requiredField": true | |
| }, | |
| { | |
| "fieldLabel": "Hours back", | |
| "fieldType": "number", | |
| "requiredField": true | |
| }, | |
| { | |
| "fieldLabel": "Max results", | |
| "fieldType": "number", | |
| "requiredField": true | |
| }, | |
| { | |
| "fieldLabel": "One time message", | |
| "fieldType": "dropdown", | |
| "fieldOptions": { | |
| "values": [ | |
| { | |
| "option": "true" | |
| }, | |
| { | |
| "option": "false" | |
| } | |
| ] | |
| }, | |
| "requiredField": true | |
| } | |
| ] | |
| }, | |
| "options": { | |
| "appendAttribution": false | |
| } | |
| }, | |
| "type": "n8n-nodes-base.discord", | |
| "typeVersion": 2, | |
| "position": [ | |
| 864, | |
| 144 | |
| ], | |
| "id": "95caf306-2b58-4cb2-94a9-17623d89c94b", | |
| "name": "Send message and wait for response", | |
| "webhookId": "7a5f5e8c-0a9a-445e-8c6b-b2f99f7046ba", | |
| "credentials": { | |
| "discordBotApi": { | |
| "id": "yMOtTxOfr438W2AB", | |
| "name": "Discord Bot account" | |
| } | |
| } | |
| } | |
| ], | |
| "pinData": {}, | |
| "connections": { | |
| "add_task": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "check_acc", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "update_squid": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "run_squid", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "get_url": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Split Out", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "run_squid": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "get_run_stats", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "get_run_stats": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Switch", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "If": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "add_task", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ], | |
| [ | |
| { | |
| "node": "Send a message1", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Switch": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "get_results", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ], | |
| [ | |
| { | |
| "node": "Wait", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Wait": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "run_confirm", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "get_results": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Send a message", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Send a message": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "delete_task", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Split Out": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "If", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Send a message1": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Stop and Error", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "check_acc": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "If1", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "If1": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Send message and wait for response", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ], | |
| [ | |
| { | |
| "node": "Send a message2", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Send a message2": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Stop and Error1", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "run_confirm": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "If2", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "If2": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Send a message3", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ], | |
| [ | |
| { | |
| "node": "Wait1", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Wait1": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "get_run_stats", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Send a message3": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Stop and Error2", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Send message and wait for response": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "update_squid", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| } | |
| }, | |
| "active": false, | |
| "settings": { | |
| "executionOrder": "v1" | |
| }, | |
| "versionId": "7130afc5-f30d-4085-b8db-a5ecc8470113", | |
| "meta": { | |
| "templateCredsSetupCompleted": true, | |
| "instanceId": "48cd393c301a505ebacd0c17f052829f9f33daef7c13097144780e3a7fb1629b" | |
| }, | |
| "id": "QeUNZO547sqA0HDe", | |
| "tags": [] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment