{
  "name": "LinkedIn engagement automator with GPT-4o/Claude, human review & multilingual comments",
  "nodes": [
    {
      "id": "9cb1b7d9-af64-41ed-8906-e68eef0f4343",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        380,
        -140
      ]
    },
    {
      "id": "a819e116-6ac7-4a92-93af-8c9f5475e8be",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        240,
        -140
      ]
    },
    {
      "id": "7b28dc1a-c2ac-416d-8bcf-5c6da5d5cd91",
      "name": "Think",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        2080,
        200
      ]
    },
    {
      "id": "cd20c807-dcd6-4327-96ed-37310424da07",
      "name": "Anthropic Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        1960,
        200
      ]
    },
    {
      "id": "18d590b2-f41d-484a-978a-5c6792402434",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1220,
        -140
      ]
    },
    {
      "id": "055d43a3-efc7-4e90-97a0-4e64250fe8e7",
      "name": "Structured Output Parser1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2220,
        200
      ]
    },
    {
      "id": "a3ec3252-d8c2-4c48-98fe-b46023b05e2b",
      "name": "Structured Output Parser2",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1360,
        -140
      ]
    },
    {
      "id": "008134d6-2d5a-4406-aad6-22bc123d3834",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        3120,
        460
      ]
    },
    {
      "id": "aca71589-8e48-440a-aed3-f6fb6cd88c9f",
      "name": "OpenAI Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        780,
        -140
      ]
    },
    {
      "id": "70c1f7e9-ad43-4644-8669-24cb94036f09",
      "name": "Defining guardrails",
      "type": "n8n-nodes-base.set",
      "position": [
        -120,
        20
      ]
    },
    {
      "id": "8af97d5d-e0b7-40de-aac5-ac09a2599c71",
      "name": "Extract the ID of the LinkedIn post",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        220,
        20
      ]
    },
    {
      "id": "de3294a2-94f8-4af7-8016-399a08559a88",
      "name": "Extract the content of the LinkedIn post",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        560,
        20
      ]
    },
    {
      "id": "e3349e8b-134a-4c17-9550-23e03a5bca8a",
      "name": "Set reaction",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1200,
        20
      ]
    },
    {
      "id": "f6376a31-2c22-4ba1-8fd5-206947403fd4",
      "name": "Set comment content",
      "type": "n8n-nodes-base.set",
      "position": [
        2440,
        20
      ]
    },
    {
      "id": "9b3cd1c8-919c-4fbc-adfe-eefc5eb9faef",
      "name": "Send comment",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3420,
        20
      ]
    },
    {
      "id": "ebd54bee-9f9e-4ff7-b4b0-3fcc8cb33f16",
      "name": "Send reaction",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3660,
        20
      ]
    },
    {
      "id": "a0dda894-4822-4d65-921e-f6f6498820eb",
      "name": "Set comment and prompt properties",
      "type": "n8n-nodes-base.set",
      "position": [
        1680,
        20
      ]
    },
    {
      "id": "7a6deada-e585-4bea-9620-d2a7b4c34923",
      "name": "Create comment",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1980,
        20
      ]
    },
    {
      "id": "038ab57e-2145-4e9e-a9c5-4d92e079d0b7",
      "name": "Determine language and mood",
      "type": "@n8n/n8n-nodes-langchain.informationExtractor",
      "position": [
        760,
        20
      ]
    },
    {
      "id": "3f08a7f3-f7a2-431b-92df-7e501bcec09c",
      "name": "Check Telegram User id",
      "type": "n8n-nodes-base.filter",
      "position": [
        -400,
        20
      ]
    },
    {
      "id": "f4b989f4-89bf-4848-862f-9aa3e30dd972",
      "name": "Approve oder Disapprove",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2740,
        20
      ]
    },
    {
      "id": "1f3f0349-c976-4a70-9102-4b859013b008",
      "name": "URL Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -720,
        20
      ]
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Send comment",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set comment and prompt properties",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Think": {
      "ai_tool": [
        [
          {
            "node": "Create comment",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "URL Trigger": {
      "main": [
        [
          {
            "node": "Check Telegram User id",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send comment": {
      "main": [
        [
          {
            "node": "Send reaction",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set reaction": {
      "main": [
        [
          {
            "node": "Set comment and prompt properties",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create comment": {
      "main": [
        [
          {
            "node": "Set comment content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Extract the ID of the LinkedIn post",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Set reaction",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Determine language and mood",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Defining guardrails": {
      "main": [
        [
          {
            "node": "Extract the ID of the LinkedIn post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set comment content": {
      "main": [
        [
          {
            "node": "Approve oder Disapprove",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Anthropic Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Create comment",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Check Telegram User id": {
      "main": [
        [
          {
            "node": "Defining guardrails",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Approve oder Disapprove": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Extract the ID of the LinkedIn post",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "Create comment",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser2": {
      "ai_outputParser": [
        [
          {
            "node": "Set reaction",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Determine language and mood": {
      "main": [
        [
          {
            "node": "Set reaction",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set comment and prompt properties": {
      "main": [
        [
          {
            "node": "Create comment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract the ID of the LinkedIn post": {
      "main": [
        [
          {
            "node": "Extract the content of the LinkedIn post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract the content of the LinkedIn post": {
      "main": [
        [
          {
            "node": "Determine language and mood",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}