{
  "id": "CWIghCfQ1tvZF1ii",
  "name": "YouTube Community Post Automation with Dynamic Images",
  "tags": [],
  "nodes": [
    {
      "id": "e04beb3b-3e79-4ea4-b489-ee73f82dc3aa",
      "name": "Daily 10AM EST Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -700,
        -240
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e504e32f-ec5e-49aa-a280-0a68d5cc288a",
      "name": "Set Day Variables",
      "type": "n8n-nodes-base.code",
      "position": [
        -540,
        -240
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "7178ff88-f18a-45a3-b7c4-c6a968f09892",
      "name": "Generate Content - LLM Chain",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -340,
        -240
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "a7bd46d6-393a-4a7e-a4a5-06541f040f91",
      "name": "DeepSeek R1 Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -120,
        -100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9df29d6c-7e62-4d0d-8409-26b21ee95617",
      "name": "Extract Content Details",
      "type": "n8n-nodes-base.code",
      "position": [
        -40,
        -240
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "fab233ee-4bc2-4fd2-b441-5ea590758361",
      "name": "Process Image Response",
      "type": "n8n-nodes-base.code",
      "position": [
        680,
        -240
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "5457cf41-7283-4a94-a059-b1cc70110ff7",
      "name": "Add to Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        840,
        -240
      ],
      "parameters": {},
      "typeVersion": 4
    },
    {
      "id": "98b288f1-a519-4f04-a966-14910b58cc6a",
      "name": "Generate Image - Together AI",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        440,
        -240
      ],
      "parameters": {},
      "typeVersion": 4.1
    },
    {
      "id": "d36f1ca7-d835-4a00-85a8-ceb02c339027",
      "name": "Generate Dynamic Image Prompt",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        120,
        -240
      ],
      "parameters": {},
      "typeVersion": 1.7
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "connections": {
    "DeepSeek R1 Model": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Content - LLM Chain",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Generate Dynamic Image Prompt",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Set Day Variables": {
      "main": [
        [
          {
            "node": "Generate Content - LLM Chain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily 10AM EST Trigger": {
      "main": [
        [
          {
            "node": "Set Day Variables",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Process Image Response": {
      "main": [
        [
          {
            "node": "Add to Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Content Details": {
      "main": [
        [
          {
            "node": "Generate Dynamic Image Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Content - LLM Chain": {
      "main": [
        [
          {
            "node": "Extract Content Details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Image - Together AI": {
      "main": [
        [
          {
            "node": "Process Image Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Dynamic Image Prompt": {
      "main": [
        [
          {
            "node": "Generate Image - Together AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}