{
  "name": "Automated NASA Image & Content Publisher for WordPress and Multi-Social Media",
  "nodes": [
    {
      "id": "043f17eb-5b39-498e-9676-7d54739eceef",
      "name": "Get NASA Picture",
      "type": "n8n-nodes-base.nasa",
      "position": [
        160,
        656
      ]
    },
    {
      "id": "3b39f294-3a6a-46d9-bf2d-921a124dc231",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -896,
        0
      ]
    },
    {
      "id": "bdb67441-d46b-480a-8eaf-bee63f562480",
      "name": "If (check link)",
      "type": "n8n-nodes-base.if",
      "position": [
        -368,
        112
      ]
    },
    {
      "id": "1daee72a-f190-45b0-a71c-b0636f8972a8",
      "name": "Facebook media post",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        544,
        -656
      ]
    },
    {
      "id": "73f94df8-bc07-4265-a02a-e64feb36bd33",
      "name": "If (check link)1",
      "type": "n8n-nodes-base.if",
      "position": [
        656,
        208
      ]
    },
    {
      "id": "b0ea6a34-e3f7-4960-8738-4525683606aa",
      "name": "Loop Over Items1",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        80,
        192
      ]
    },
    {
      "id": "c5d8d416-d954-4a7e-a548-c9088acffd80",
      "name": "Create WordPress Post",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        544,
        -816
      ]
    },
    {
      "id": "2ad0cfb9-f596-438e-bcb9-a4a27ff833ed",
      "name": "upload image to meta data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        928,
        -960
      ]
    },
    {
      "id": "e7295f63-738e-4fb3-bb28-ba8d1c9cf38a",
      "name": "set featured image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1104,
        -960
      ]
    },
    {
      "id": "434e0e1a-d722-4e53-9d65-d70df37af6e6",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        496,
        -1024
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "6b654e50-c085-4257-9404-1d297ea68e16",
      "name": "download image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        752,
        -816
      ]
    },
    {
      "id": "3115017f-e052-4fb5-ada2-37d0c5c1e692",
      "name": "Post on LinkkedIN Profile",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        544,
        -192
      ]
    },
    {
      "id": "7017c5b2-715d-445e-9614-e6afe8c86dde",
      "name": "Post on LinkedN page",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        544,
        -32
      ]
    },
    {
      "id": "cc7ecc6f-754a-489c-b767-d687ddae09c0",
      "name": "Post on  telegram Channel",
      "type": "n8n-nodes-base.telegram",
      "position": [
        544,
        -336
      ]
    },
    {
      "id": "63328980-3268-4bd0-9eca-bc65802062ad",
      "name": "Get Image ID for Instagram",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        544,
        -512
      ]
    },
    {
      "id": "6ed8f234-c41f-462c-afae-c6d82601a2a9",
      "name": "Publish Post to Instagram",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        736,
        -512
      ]
    },
    {
      "id": "87a48eaf-a099-455d-b2b5-f0a5b7477e06",
      "name": "Add Watermark2",
      "type": "n8n-nodes-base.editImage",
      "position": [
        944,
        -816
      ]
    },
    {
      "id": "0b459918-fe78-4e0b-a3a6-7b7e60472527",
      "name": "upload media to wp",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        752,
        -960
      ]
    },
    {
      "id": "521321eb-5f1e-4926-8de3-4478d1215f70",
      "name": "Facebook media post1",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        1632,
        32
      ]
    },
    {
      "id": "1ebfc846-44fb-4706-9f3d-1038dfd73db7",
      "name": "Create WordPress Post1",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        1632,
        -128
      ]
    },
    {
      "id": "e5b23b60-49d4-40ca-88ca-0a0ebd84c04e",
      "name": "upload image to meta data1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2016,
        -272
      ]
    },
    {
      "id": "0dddc2f5-893f-4ab9-8d90-c8e09c49804b",
      "name": "set featured image1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2192,
        -272
      ]
    },
    {
      "id": "211218c9-1c6e-4bab-bcfb-72ec3e4d8446",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1584,
        -336
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "638b1068-ef7b-45a7-b222-eada3728e109",
      "name": "download image1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1840,
        -128
      ]
    },
    {
      "id": "4e44fba2-3f44-4087-bef3-48270a1f065e",
      "name": "Post on LinkkedIN Profile1",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        1632,
        496
      ]
    },
    {
      "id": "2cfcaaf5-a6aa-4afa-9adf-7abca37bc21e",
      "name": "Post on LinkedN page1",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        1632,
        656
      ]
    },
    {
      "id": "8631de21-fc02-4a31-b2fe-ac0dda08aa7f",
      "name": "Post on  telegram Channel1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1632,
        352
      ]
    },
    {
      "id": "0859234b-73f0-498a-a610-9acbf6dba333",
      "name": "Get Image ID for Instagram1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1632,
        176
      ]
    },
    {
      "id": "b090427c-445e-4301-a2f3-b2c64514299c",
      "name": "Publish Post to Instagram1",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        1840,
        176
      ]
    },
    {
      "id": "e94c4901-124a-4903-893d-5a584d4d75aa",
      "name": "Add Watermark4",
      "type": "n8n-nodes-base.editImage",
      "position": [
        2032,
        -128
      ]
    },
    {
      "id": "9aa90f1e-a908-4841-8c16-d48cc65aa7d7",
      "name": "upload media to wp1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1840,
        -272
      ]
    },
    {
      "id": "411924ee-b01f-4b7e-85fa-f9ff0ea291bd",
      "name": "Facebook media post2",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        816,
        976
      ]
    },
    {
      "id": "b85e0399-e716-4301-bcd0-3592cae85277",
      "name": "Create WordPress Post2",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        816,
        656
      ]
    },
    {
      "id": "f621bf75-6646-4799-8712-8894f79d6108",
      "name": "upload image to meta data2",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1152,
        848
      ]
    },
    {
      "id": "54387123-33b6-4bc6-be51-9849f048d999",
      "name": "set featured image2",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1328,
        848
      ]
    },
    {
      "id": "9845f188-bc5f-4bee-99db-474996bb90e7",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        768,
        592
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "eba8bf81-49c0-4393-a4eb-ed225ac9e1ee",
      "name": "download image2",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1024,
        656
      ]
    },
    {
      "id": "0f35f30c-cf49-481e-90c1-7ad33c6239ab",
      "name": "Post on LinkkedIN Profile2",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        816,
        1424
      ]
    },
    {
      "id": "4185c4a8-b4ca-4ebf-ab68-c0807d50ac94",
      "name": "Post on LinkedN page2",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        816,
        1584
      ]
    },
    {
      "id": "b41c71e4-d06e-4582-9ea4-232847ce4623",
      "name": "Post on  telegram Channel2",
      "type": "n8n-nodes-base.telegram",
      "position": [
        816,
        1280
      ]
    },
    {
      "id": "8dcc7786-e746-4cd7-8d68-da4fcaf502bc",
      "name": "Get Image ID for Instagram2",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        816,
        1120
      ]
    },
    {
      "id": "23b9bcde-556f-425c-896a-376af20be40b",
      "name": "Publish Post to Instagram2",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        1024,
        1120
      ]
    },
    {
      "id": "a12a4ff7-ea87-470e-9ce8-c73e1ad55411",
      "name": "Add Watermark5",
      "type": "n8n-nodes-base.editImage",
      "position": [
        1216,
        656
      ]
    },
    {
      "id": "268c25cf-9912-48e3-8b4c-bcf51d0ba448",
      "name": "upload media to wp2",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        960,
        848
      ]
    },
    {
      "id": "8417c70c-9680-4a8c-9306-e838c4f50b0e",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -656,
        320
      ]
    },
    {
      "id": "f5bf6324-17bb-4a5c-b359-ae574aa5189b",
      "name": "RSS Read Tool",
      "type": "n8n-nodes-base.rssFeedReadTool",
      "position": [
        -512,
        320
      ]
    },
    {
      "id": "e096f860-5d8b-47dc-bba6-e31f35adfc13",
      "name": "RSS Read Tool1",
      "type": "n8n-nodes-base.rssFeedReadTool",
      "position": [
        544,
        288
      ]
    },
    {
      "id": "06b7c190-d6f7-4feb-a15f-7a37e43930e0",
      "name": "Do Nothing",
      "type": "n8n-nodes-base.noOp",
      "position": [
        -656,
        -112
      ]
    },
    {
      "id": "75ad793e-e5b6-4339-8b26-31052a24f021",
      "name": "AI Agent (get only featured image)",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -656,
        112
      ]
    },
    {
      "id": "485d45d8-a3c4-48aa-b292-368986a63b98",
      "name": "Checks the NASA news RSS feed every minute",
      "type": "n8n-nodes-base.rssFeedReadTrigger",
      "position": [
        -1088,
        0
      ]
    },
    {
      "id": "7963659d-78c8-4949-a42a-617a55492eae",
      "name": "HTTP Request (link to binary file)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -112,
        -16
      ]
    },
    {
      "id": "f25a3911-1099-4309-a23e-c65ca1e5ca30",
      "name": "HTTP Request (link to binary file)1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        864,
        192
      ]
    },
    {
      "id": "33114205-abe8-4fe2-881e-772db1ab2fc1",
      "name": "Edits Image (Add Your Brand Watermark)",
      "type": "n8n-nodes-base.editImage",
      "position": [
        112,
        -32
      ]
    },
    {
      "id": "d16fab41-9590-401f-a848-7f57e2215cbd",
      "name": "Edits Image (Add Your Brand Watermark)1",
      "type": "n8n-nodes-base.editImage",
      "position": [
        1104,
        176
      ]
    },
    {
      "id": "fa1d21f7-d762-4be0-ac09-58872d09113e",
      "name": "Edits Image (Add Your Brand Watermark)2",
      "type": "n8n-nodes-base.editImage",
      "position": [
        528,
        656
      ]
    },
    {
      "id": "2d0be596-283e-42fe-ac7d-64bbc71e7882",
      "name": "HTTP Request (link to binary file)2",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        336,
        656
      ]
    },
    {
      "id": "1d1d6b25-9e66-4818-b183-430edd058db6",
      "name": "Reads NASA Breaking News RSS manually",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        -112,
        192
      ]
    },
    {
      "id": "158bf248-1966-4d7f-a782-9e1897a8d935",
      "name": "AI Agent (Again tries to extract an image link)",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        288,
        208
      ]
    },
    {
      "id": "14b82721-f7e9-4599-ace5-95caac1b15ea",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        128,
        608
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "86fc308d-e27c-421f-95e5-f06fe8ae6997",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -144,
        144
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "2f84193a-8da0-4db8-9b91-dc636ed6c44b",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1568,
        -128
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Do Nothing": {
      "main": [
        []
      ]
    },
    "RSS Read Tool": {
      "ai_tool": [
        [
          {
            "node": "AI Agent (get only featured image)",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Add Watermark2": {
      "main": [
        [
          {
            "node": "upload media to wp",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add Watermark4": {
      "main": [
        [
          {
            "node": "upload media to wp1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add Watermark5": {
      "main": [
        [
          {
            "node": "upload media to wp2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RSS Read Tool1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent (Again tries to extract an image link)",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "download image": {
      "main": [
        [
          {
            "node": "Add Watermark2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If (check link)": {
      "main": [
        [
          {
            "node": "HTTP Request (link to binary file)",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Reads NASA Breaking News RSS manually",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Do Nothing",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "AI Agent (get only featured image)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "download image1": {
      "main": [
        [
          {
            "node": "Add Watermark4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "download image2": {
      "main": [
        [
          {
            "node": "Add Watermark5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get NASA Picture": {
      "main": [
        [
          {
            "node": "HTTP Request (link to binary file)2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If (check link)1": {
      "main": [
        [
          {
            "node": "HTTP Request (link to binary file)1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items1": {
      "main": [
        [
          {
            "node": "Do Nothing",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "AI Agent (Again tries to extract an image link)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent (get only featured image)",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "AI Agent (Again tries to extract an image link)",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "upload media to wp": {
      "main": [
        [
          {
            "node": "upload image to meta data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "upload media to wp1": {
      "main": [
        [
          {
            "node": "upload image to meta data1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "upload media to wp2": {
      "main": [
        [
          {
            "node": "upload image to meta data2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create WordPress Post": {
      "main": [
        [
          {
            "node": "download image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create WordPress Post1": {
      "main": [
        [
          {
            "node": "download image1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create WordPress Post2": {
      "main": [
        [
          {
            "node": "download image2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "upload image to meta data": {
      "main": [
        [
          {
            "node": "set featured image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Image ID for Instagram": {
      "main": [
        [
          {
            "node": "Publish Post to Instagram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "upload image to meta data1": {
      "main": [
        [
          {
            "node": "set featured image1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "upload image to meta data2": {
      "main": [
        [
          {
            "node": "set featured image2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Image ID for Instagram1": {
      "main": [
        [
          {
            "node": "Publish Post to Instagram1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Image ID for Instagram2": {
      "main": [
        [
          {
            "node": "Publish Post to Instagram2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent (get only featured image)": {
      "main": [
        [
          {
            "node": "If (check link)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request (link to binary file)": {
      "main": [
        [
          {
            "node": "Edits Image (Add Your Brand Watermark)",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get NASA Picture",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request (link to binary file)1": {
      "main": [
        [
          {
            "node": "Edits Image (Add Your Brand Watermark)1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get NASA Picture",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request (link to binary file)2": {
      "main": [
        [
          {
            "node": "Edits Image (Add Your Brand Watermark)2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Reads NASA Breaking News RSS manually": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edits Image (Add Your Brand Watermark)": {
      "main": [
        [
          {
            "node": "Create WordPress Post",
            "type": "main",
            "index": 0
          },
          {
            "node": "Facebook media post",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Image ID for Instagram",
            "type": "main",
            "index": 0
          },
          {
            "node": "Post on  telegram Channel",
            "type": "main",
            "index": 0
          },
          {
            "node": "Post on LinkkedIN Profile",
            "type": "main",
            "index": 0
          },
          {
            "node": "Post on LinkedN page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edits Image (Add Your Brand Watermark)1": {
      "main": [
        [
          {
            "node": "Create WordPress Post1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Facebook media post1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Image ID for Instagram1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Post on  telegram Channel1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Post on LinkkedIN Profile1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Post on LinkedN page1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edits Image (Add Your Brand Watermark)2": {
      "main": [
        [
          {
            "node": "Create WordPress Post2",
            "type": "main",
            "index": 0
          },
          {
            "node": "Facebook media post2",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Image ID for Instagram2",
            "type": "main",
            "index": 0
          },
          {
            "node": "Post on  telegram Channel2",
            "type": "main",
            "index": 0
          },
          {
            "node": "Post on LinkkedIN Profile2",
            "type": "main",
            "index": 0
          },
          {
            "node": "Post on LinkedN page2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Checks the NASA news RSS feed every minute": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent (Again tries to extract an image link)": {
      "main": [
        [
          {
            "node": "If (check link)1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}