{
  "name": "Auto-publish NASA APOD to LinkedIn with AI translation and hashtags",
  "nodes": [
    {
      "id": "3d74dd76-1b29-429f-9c5b-1a989b4a7e61",
      "name": "Generate Post Text",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        112,
        544
      ]
    },
    {
      "id": "a6254b24-8925-4cce-a1a1-6539e8c6eab5",
      "name": "Generate Hashtags",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        448,
        544
      ]
    },
    {
      "id": "32d439dc-f50c-4657-8e55-6ece267709cf",
      "name": "Get APOD",
      "type": "n8n-nodes-base.nasa",
      "position": [
        -128,
        432
      ]
    },
    {
      "id": "7f3ed5ff-9be0-4a4f-af28-ff2acbc5b1f1",
      "name": "Create Final Post Text",
      "type": "n8n-nodes-base.set",
      "position": [
        784,
        544
      ]
    },
    {
      "id": "aefded44-d806-430f-a01b-88667d32bcc2",
      "name": "Preserve Binary",
      "type": "n8n-nodes-base.merge",
      "position": [
        1008,
        448
      ]
    },
    {
      "id": "0fada130-2363-45ea-88ee-e20532e5f069",
      "name": "Settings",
      "type": "n8n-nodes-base.set",
      "position": [
        -384,
        432
      ]
    },
    {
      "id": "febd56fc-a13c-486f-a029-a9fcd8de161e",
      "name": "Notify On Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1936,
        464
      ]
    },
    {
      "id": "38db3609-abbe-460a-8583-df3cd00a9573",
      "name": "Cron",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -608,
        432
      ]
    },
    {
      "id": "b2ce3599-a75a-4d04-8788-2513bb692ffc",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1328,
        80
      ],
      "parameters": {
        "width": 660,
        "height": 740,
        "content": "# 🚀 NASA APOD to LinkedIn Automation\n\n**What it does:**\nThis workflow automatically fetches NASA's Astronomy Picture of the Day (APOD), translates the description to selected language using AI, genera"
      }
    },
    {
      "id": "99cd5cd9-2070-40a7-95bd-96c22bec6bd0",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -448,
        240
      ],
      "parameters": {
        "width": 220,
        "height": 340,
        "content": "⚙️ Configuration Hub\n\nCentralized settings for easy customization."
      }
    },
    {
      "id": "3275e445-a7ba-4a60-abac-ee9752a4d015",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -48,
        704
      ],
      "parameters": {
        "width": 620,
        "height": 280,
        "content": "🧠 AI Model Configuration\n\nShared LLM model for both translation and hashtag generation\n- Provider: Google AI\n- Model: Gemini 2.5 Flash (fast & efficient!)\n- Connected to both LangChain nodes\n\nSetup re"
      }
    },
    {
      "id": "d3fbc568-c4e2-4260-b16e-2ecfda0a5579",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1392,
        48
      ],
      "parameters": {
        "width": 380,
        "height": 688,
        "content": "📲 LinkedIn Publisher\n\nAutomatically posts to your LinkedIn profile with image\n- Post type: IMAGE with text\n- Binary property: apod_image (from NASA)\n- Returns post URN for link generation\n- Person ID:"
      }
    },
    {
      "id": "71e193e5-89db-45bb-840b-db88306217bd",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1792,
        144
      ],
      "parameters": {
        "width": 380,
        "height": 480,
        "content": "💬 Success Notification\n\nSends confirmation message with post details:\n- Publication date and NASA APOD title\n- Direct link to the LinkedIn post\n- Execution timestamp for tracking\n\nMessage format inclu"
      }
    },
    {
      "id": "5d034a0b-9d8f-463f-8f5c-2aaa98a0a2c1",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -208,
        240
      ],
      "parameters": {
        "width": 260,
        "height": 340,
        "content": "🛰️ NASA APOD API\n\nFetches today's Astronomy Picture of the Day\n\nYou can use \"DEMO_KEY\" on credential API KEY for free (with rate limits)"
      }
    },
    {
      "id": "1fc81b76-5bb7-4ab8-926b-a99413a60273",
      "name": "Google Gemini 2.5 Flash",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        416,
        800
      ]
    },
    {
      "id": "6f552983-356b-4221-a916-fa5675cd344a",
      "name": "Publish Image On LinkedIn",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        1536,
        368
      ]
    },
    {
      "id": "2b2cf1b4-0913-4a10-aaea-70f4b1db620d",
      "name": "Is Image?",
      "type": "n8n-nodes-base.if",
      "position": [
        1200,
        448
      ]
    },
    {
      "id": "cc219a02-47e5-4e9d-bf5f-4f73121f2603",
      "name": "Publish On LinkedIn",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        1536,
        560
      ]
    }
  ],
  "connections": {
    "Cron": {
      "main": [
        [
          {
            "node": "Settings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get APOD": {
      "main": [
        [
          {
            "node": "Generate Post Text",
            "type": "main",
            "index": 0
          },
          {
            "node": "Preserve Binary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Settings": {
      "main": [
        [
          {
            "node": "Get APOD",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Image?": {
      "main": [
        [
          {
            "node": "Publish Image On LinkedIn",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Publish On LinkedIn",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Preserve Binary": {
      "main": [
        [
          {
            "node": "Is Image?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Hashtags": {
      "main": [
        [
          {
            "node": "Create Final Post Text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Post Text": {
      "main": [
        [
          {
            "node": "Generate Hashtags",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Publish On LinkedIn": {
      "main": [
        [
          {
            "node": "Notify On Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Final Post Text": {
      "main": [
        [
          {
            "node": "Preserve Binary",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Google Gemini 2.5 Flash": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Hashtags",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Generate Post Text",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Publish Image On LinkedIn": {
      "main": [
        [
          {
            "node": "Notify On Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}