Created
July 10, 2022 10:38
-
-
Save ed-parsadanyan/c694422d0ccc032a7699749d7a464773 to your computer and use it in GitHub Desktop.
This file contains 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
{ | |
"nodes": [ | |
{ | |
"parameters": {}, | |
"name": "Start", | |
"type": "n8n-nodes-base.start", | |
"typeVersion": 1, | |
"position": [ | |
240, | |
300 | |
] | |
}, | |
{ | |
"parameters": { | |
"functionCode": "return [{\"Категория\": \"Лодка\"}];" | |
}, | |
"name": "Webhook", | |
"type": "n8n-nodes-base.function", | |
"typeVersion": 1, | |
"position": [ | |
500, | |
300 | |
] | |
}, | |
{ | |
"parameters": { | |
"mode": "keepKeyMatches", | |
"propertyName1": "Категория", | |
"propertyName2": "Категория" | |
}, | |
"name": "Merge", | |
"type": "n8n-nodes-base.merge", | |
"typeVersion": 1, | |
"position": [ | |
1020, | |
300 | |
] | |
}, | |
{ | |
"parameters": { | |
"functionCode": "return [{\"Телеграм ID\" : 11111, \"Категория\": \"Лодка\"},\r\n {\"Телеграм ID\" : 22222, \"Категория\": \"Селедка\"},\r\n {\"Телеграм ID\" : 33333, \"Категория\": \"Лодка\"}];" | |
}, | |
"name": "Google Sheet", | |
"type": "n8n-nodes-base.function", | |
"typeVersion": 1, | |
"position": [ | |
760, | |
220 | |
] | |
} | |
], | |
"connections": { | |
"Start": { | |
"main": [ | |
[ | |
{ | |
"node": "Webhook", | |
"type": "main", | |
"index": 0 | |
} | |
] | |
] | |
}, | |
"Webhook": { | |
"main": [ | |
[ | |
{ | |
"node": "Google Sheet", | |
"type": "main", | |
"index": 0 | |
}, | |
{ | |
"node": "Merge", | |
"type": "main", | |
"index": 1 | |
} | |
] | |
] | |
}, | |
"Google Sheet": { | |
"main": [ | |
[ | |
{ | |
"node": "Merge", | |
"type": "main", | |
"index": 0 | |
} | |
] | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment