{
  "name": "Auto-Translate YouTube Video Content with Google Gemini AI",
  "nodes": [
    {
      "id": "42e836f4-219d-4ad7-9f01-aec4aedeaf25",
      "name": "Google Gemini Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -240,
        0
      ]
    },
    {
      "id": "7f95419d-4916-4aa5-9db4-0f65df350eb9",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -112,
        0
      ]
    },
    {
      "id": "7de516ce-cd4a-4628-b59e-30d1008f0e87",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        16,
        0
      ]
    },
    {
      "id": "a4033f3e-2c8b-4009-b298-c5ea8e6299b4",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -944,
        -320
      ],
      "parameters": {
        "width": 388,
        "height": 304,
        "content": "## Set and Retrieve Information"
      }
    },
    {
      "id": "b9dddc83-b3a2-4935-ae62-a39eb1af3864",
      "name": "Output URL",
      "type": "n8n-nodes-base.set",
      "position": [
        448,
        -224
      ]
    },
    {
      "id": "c84d84a2-6093-436e-9a37-597331d917e0",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1936,
        -448
      ],
      "parameters": {
        "width": 678,
        "height": 560,
        "content": "## YouTube Video Title and Description Translator\n\nIf you want to reach a wider audience, having your video title and description in multiple languages can help you connect with more viewers.\n\n### Req"
      }
    },
    {
      "id": "ffdab92b-7d0a-460d-a4a5-5929a8d4695c",
      "name": "Fetches video information",
      "type": "n8n-nodes-base.youTube",
      "position": [
        -704,
        -224
      ]
    },
    {
      "id": "8ec32768-a9c3-4dfd-9b96-2b88f81fcaed",
      "name": "Check languages to translate",
      "type": "n8n-nodes-base.code",
      "position": [
        -464,
        -224
      ]
    },
    {
      "id": "f513101f-9911-48d8-bd49-a5ddfbb8e00d",
      "name": "AI Agent Translator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -192,
        -224
      ]
    },
    {
      "id": "9861fb97-a088-45e1-baad-2f3e4b0d52e0",
      "name": "Updates Video Localization",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        208,
        -224
      ]
    },
    {
      "id": "2d36fc0b-bd82-4b8a-a6c1-1a78d3e499e9",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -528,
        -320
      ],
      "parameters": {
        "width": 628,
        "height": 304,
        "content": "## Language Translation"
      }
    },
    {
      "id": "11660cdc-4c28-4ecd-9898-684010a5bbd7",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        128,
        -320
      ],
      "parameters": {
        "width": 580,
        "height": 304,
        "content": "## Update Localization and Return YouTube URL"
      }
    },
    {
      "id": "93132f37-61eb-4de7-9e75-d9703b95c486",
      "name": "When clicking 'Execute workflow'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1120,
        -224
      ]
    },
    {
      "id": "b538cca6-dead-408f-9648-b2683099b345",
      "name": "Defines Video ID and Languages",
      "type": "n8n-nodes-base.set",
      "position": [
        -896,
        -224
      ]
    }
  ],
  "connections": {
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent Translator",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent Translator": {
      "main": [
        [
          {
            "node": "Updates Video Localization",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent Translator",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Fetches video information": {
      "main": [
        [
          {
            "node": "Check languages to translate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent Translator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Updates Video Localization": {
      "main": [
        [
          {
            "node": "Output URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check languages to translate": {
      "main": [
        [
          {
            "node": "AI Agent Translator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Defines Video ID and Languages": {
      "main": [
        [
          {
            "node": "Fetches video information",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking 'Execute workflow'": {
      "main": [
        [
          {
            "node": "Defines Video ID and Languages",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}