{
  "name": "Datoka Hooks — événement sauvegardé puis suivi",
  "active": false,
  "settings": {"executionOrder": "v1"},
  "nodes": [
    {"id":"manual","name":"Manual Start","type":"n8n-nodes-base.manualTrigger","typeVersion":1,"position":[0,0],"parameters":{}},
    {"id":"send","name":"Send Saved Event","type":"n8n-nodes-datoka-hooks.datokaHooks","typeVersion":1,"position":[260,0],"retryOnFail":false,"parameters":{"operation":"send","eventId":"","payload":"{}"},"notes":"Configure credentials and use the ID and exact JSON saved in your business source before running. Empty event ID intentionally blocks sending.","notesInFlow":true},
    {"id":"wait","name":"Wait Before Status","type":"n8n-nodes-base.wait","typeVersion":1.1,"position":[520,0],"parameters":{"resume":"timeInterval","amount":5,"unit":"seconds"}},
    {"id":"status","name":"Get Delivery","type":"n8n-nodes-datoka-hooks.datokaHooks","typeVersion":1,"position":[780,0],"retryOnFail":false,"parameters":{"operation":"get","deliveryId":"={{ $json.deliveryId }}"},"notes":"Read state. A pending state needs a later GET; do not submit a new event.","notesInFlow":true}
  ],
  "connections": {
    "Manual Start":{"main":[[{"node":"Send Saved Event","type":"main","index":0}]]},
    "Send Saved Event":{"main":[[{"node":"Wait Before Status","type":"main","index":0}]]},
    "Wait Before Status":{"main":[[{"node":"Get Delivery","type":"main","index":0}]]}
  }
}
