{
  "name": "0EX example — Submit approved experiment",
  "active": false,
  "nodes": [
    {
      "parameters": {},
      "id": "manual-dispatch",
      "name": "Manual test",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://YOUR-0EX-GATEWAY.invalid/api/automation/dispatch",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{\"experiment_id\": \"REPLACE_EXPERIMENT_ID\", \"idempotency_key\": \"physics:REPLACE_EXPERIMENT_ID:REPLACE_SPEC_SHA256\"}",
        "options": {
          "timeout": 10000,
          "redirect": {
            "redirect": {
              "followRedirects": false
            }
          },
          "response": {
            "response": {
              "responseFormat": "json"
            }
          }
        }
      },
      "id": "http-dispatch",
      "name": "Submit approved experiment",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        510,
        300
      ],
      "retryOnFail": false,
      "notesInFlow": true,
      "notes": "Select a Header Auth credential: Authorization = Bearer <automation token>. Never paste a token into this workflow JSON. Use an operator-prepared experiment. Reuse the same request key after a lost response."
    }
  ],
  "connections": {
    "Manual test": {
      "main": [
        [
          {
            "node": "Submit approved experiment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1",
    "saveDataSuccessExecution": "none",
    "saveDataErrorExecution": "none",
    "saveManualExecutions": false
  },
  "pinData": {},
  "tags": []
}
