{
  "name": "Automated document translation with Straker, Google Drive & Slack",
  "nodes": [
    {
      "id": "aa3ddf03-3930-4298-9796-50470c03ba75",
      "name": "Sticky: Setup",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -384,
        80
      ],
      "parameters": {
        "width": 544,
        "height": 192,
        "content": "SETUP (do first)\n1) Settings → Community Nodes → Install → \"n8n-nodes-straker-verify\".\n2) Add credentials:\n   • Google Drive OAuth2 (used by Trigger/Download/Upload)\n   • Straker Verify API (used by S"
      }
    },
    {
      "id": "e4d8affb-0872-4e19-909f-8795d071e5cd",
      "name": "Sticky: Google Trigger",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        192,
        80
      ],
      "parameters": {
        "width": 288,
        "height": 272,
        "content": "GOOGLE DRIVE TRIGGER\n\nGoal: fire when a file is CREATED in a specific folder.\n• Trigger On: Specific folder → pick folder\n• Event: File Created\n• Poll: everyMinute (tune as needed)\n\nTest: upload a sma"
      }
    },
    {
      "id": "5795d2f8-271e-4eab-992c-720e32e60949",
      "name": "Sticky: Create Project",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        752,
        80
      ],
      "parameters": {
        "width": 272,
        "height": 272,
        "content": "CREATE PROJECT (Straker)\n\nGoal: create a Verify project and upload the source binary.\n\n• Operation: Create Project\n• Title: e.g. ={{ $json.name }} (from Drive file)\n• Input File: binary from previous "
      }
    },
    {
      "id": "bede4842-8946-44a4-8ca0-1d06e6870722",
      "name": "Sticky: Webhook",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        192,
        800
      ],
      "parameters": {
        "width": 272,
        "height": 272,
        "content": "WEBHOOK (from Straker)\n\nGoal: receive callback when translations are ready.\n\n• Method: POST\n• Path: ={{ $workflow.id }} (unique)\n\nAfter activation: copy the Production URL from this node and set it as"
      }
    },
    {
      "id": "6b60ca5a-0c14-4521-a7e4-707a648d45aa",
      "name": "Sticky: Download Translations",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        800
      ],
      "parameters": {
        "width": 256,
        "height": 272,
        "content": "DOWNLOAD TRANSLATIONS (Straker)\n\nGoal: fetch completed files for the project/job.\n\n• Operation: Download Files\n• (If required) Map job uuid from Webhook: e.g. ={{ $json.body.job_uuid }}\n\nReturns: one "
      }
    },
    {
      "id": "12c1ce21-1c50-4ba6-96d2-77479bca8c6c",
      "name": "Sticky: Upload to Drive",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        752,
        800
      ],
      "parameters": {
        "width": 272,
        "height": 272,
        "content": "UPLOAD TO GOOGLE DRIVE\n\nGoal: store translated files.\n• Drive/Folder: select destination (/Translations recommended)"
      }
    },
    {
      "id": "f5871554-3a6a-4113-8e64-9551e3a18078",
      "name": "Create a new project",
      "type": "n8n-nodes-straker-verify.strakerVerify",
      "position": [
        784,
        400
      ]
    },
    {
      "id": "bbc2b9f9-0dc6-4b24-b1d4-350ce3f256bf",
      "name": "Download file",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        560,
        400
      ]
    },
    {
      "id": "e047f8b3-413a-401c-89ce-70c3c1ffb961",
      "name": "Google Drive Trigger",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        336,
        400
      ]
    },
    {
      "id": "179bc77d-75ce-421f-ab7c-5227eaaac8e2",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        336,
        624
      ]
    },
    {
      "id": "03d7c7aa-e867-48c7-a21e-b5097f964f87",
      "name": "Download translated files",
      "type": "n8n-nodes-straker-verify.strakerVerify",
      "position": [
        560,
        624
      ]
    },
    {
      "id": "c36fc3d5-f0b2-42b0-87dd-a8cc858617b9",
      "name": "Upload file",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        784,
        624
      ]
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Download translated files",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download file": {
      "main": [
        [
          {
            "node": "Create a new project",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive Trigger": {
      "main": [
        [
          {
            "node": "Download file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download translated files": {
      "main": [
        [
          {
            "node": "Upload file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}