{
  "name": "Auto-publish web articles as social posts for X, LinkedIn, Reddit & Threads with Gemini AI",
  "nodes": [
    {
      "id": "82e99e4a-bf53-46a5-b713-8ae45baad177",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -180,
        20
      ]
    },
    {
      "id": "71004fb4-8c03-42c4-a020-6522a6b7f9ae",
      "name": "Set Input Data",
      "type": "n8n-nodes-base.set",
      "position": [
        40,
        20
      ]
    },
    {
      "id": "44d76415-e94e-49c3-be1e-f53db96f9c11",
      "name": "Social Media Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        260,
        20
      ]
    },
    {
      "id": "5a2fd155-5960-430f-80d6-fe1c22588dc1",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        260,
        240
      ]
    },
    {
      "id": "24a9d686-f277-4221-9bbc-09587dfdb210",
      "name": "HTTP Request1",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        400,
        340
      ]
    },
    {
      "id": "d28a2def-981e-4f29-88a6-99cca3c94e60",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        500,
        240
      ]
    },
    {
      "id": "ee1ef72a-023a-4625-9fac-ff8b9685ae47",
      "name": "Upload Post X",
      "type": "n8n-nodes-upload-post.uploadPost",
      "position": [
        1060,
        -160
      ]
    },
    {
      "id": "f7e77843-326c-4027-bfa4-81d41f87edb3",
      "name": "Upload Post Threads",
      "type": "n8n-nodes-upload-post.uploadPost",
      "position": [
        1060,
        20
      ]
    },
    {
      "id": "f96bf84e-a1b1-45bc-90f4-2b0f82d2c2dd",
      "name": "Upload Post Linkedin",
      "type": "n8n-nodes-upload-post.uploadPost",
      "position": [
        1060,
        200
      ]
    },
    {
      "id": "15c3ad6f-271c-43a9-b3cf-ce7794556b34",
      "name": "Upload Post Reddit",
      "type": "n8n-nodes-base.reddit",
      "position": [
        1060,
        400
      ]
    },
    {
      "id": "ac776039-4202-4864-82d5-3e16bd29bce1",
      "name": "Wait to approve by user",
      "type": "n8n-nodes-base.wait",
      "position": [
        560,
        20
      ]
    },
    {
      "id": "5bd359c7-2350-4b76-8d71-d9d760e7d619",
      "name": "If approved publish",
      "type": "n8n-nodes-base.if",
      "position": [
        740,
        20
      ]
    }
  ],
  "connections": {
    "HTTP Request1": {
      "ai_tool": [
        [
          {
            "node": "Social Media Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Set Input Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Input Data": {
      "main": [
        [
          {
            "node": "Social Media Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Social Media Agent": {
      "main": [
        [
          {
            "node": "Wait to approve by user",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If approved publish": {
      "main": [
        [
          {
            "node": "Upload Post X",
            "type": "main",
            "index": 0
          },
          {
            "node": "Upload Post Threads",
            "type": "main",
            "index": 0
          },
          {
            "node": "Upload Post Linkedin",
            "type": "main",
            "index": 0
          },
          {
            "node": "Upload Post Reddit",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Wait to approve by user": {
      "main": [
        [
          {
            "node": "If approved publish",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Social Media Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Social Media Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}