{
  "name": "CastDoc Demo",
  "nodes": [
    {
      "parameters": {},
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        -288,
        -320
      ],
      "id": "772bd32e-3962-4385-af45-308aae68046b",
      "name": "When clicking \u2018Execute workflow\u2019"
    },
    {
      "parameters": {
        "fileSelector": "/path/to/your/document.pdf",
        "options": {
          "dataPropertyName": "data"
        }
      },
      "type": "n8n-nodes-base.readWriteFile",
      "typeVersion": 1.1,
      "position": [
        -64,
        -320
      ],
      "id": "40fab0b0-de01-4e8a-a1ed-f7aa96b49836",
      "name": "Read/Write Files from Disk"
    },
    {
      "parameters": {
        "resource": "castDoc",
        "engine": "ki/cast",
        "output_format": "docx",
        "pollingSettings": {
          "pollingMaxAttempts": 180,
          "serverWaitSeconds": 10
        }
      },
      "type": "n8n-nodes-ldxhub.ldxHub",
      "typeVersion": 1,
      "position": [
        160,
        -320
      ],
      "id": "4ff4995c-b3e7-45a5-aad8-4c00c6f6f587",
      "name": "Run a castdoc job",
      "credentials": {
        "ldxHubApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "When clicking \u2018Execute workflow\u2019": {
      "main": [
        [
          {
            "node": "Read/Write Files from Disk",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read/Write Files from Disk": {
      "main": [
        [
          {
            "node": "Run a castdoc job",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate",
    "availableInMCP": false
  },
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "tags": []
}