{"name":"Sendrail – ověřovací kód","nodes":[{"parameters":{},"type":"n8n-nodes-base.manualTrigger","typeVersion":1,"position":[0,0],"id":"4dd2fd76-aa25-5270-ace6-f178a19bfd60","name":"Ruční spuštění"},{"parameters":{"method":"POST","url":"https://api.sendrail.cz/v1/verify","authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","sendBody":true,"specifyBody":"json","jsonBody":"={\n  \"to\": \"+420777123456\",\n  \"app\": \"Moje aplikace\"\n}","options":{}},"type":"n8n-nodes-base.httpRequest","typeVersion":4.2,"position":[240,0],"id":"404eb56d-9322-519d-984a-77352e904958","name":"Sendrail: poslat kód"},{"parameters":{"method":"POST","url":"=https://api.sendrail.cz/v1/verify/{{ $json.id }}/check","authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","sendBody":true,"specifyBody":"json","jsonBody":"={\n  \"code\": \"123456\"\n}","options":{}},"type":"n8n-nodes-base.httpRequest","typeVersion":4.2,"position":[480,0],"id":"c1c0a8f6-7572-5f45-af6b-4c4bbdc6693d","name":"Sendrail: ověřit kód"}],"connections":{"Ruční spuštění":{"main":[[{"node":"Sendrail: poslat kód","type":"main","index":0}]]},"Sendrail: poslat kód":{"main":[[{"node":"Sendrail: ověřit kód","type":"main","index":0}]]}},"pinData":{},"settings":{"executionOrder":"v1"}}