{
  "name": "Automate Your LinkedIn Engagement with AI-Powered Comments! 💬✨",
  "nodes": [
    {
      "id": "d3a072cc-9276-4f96-948c-f2c93090dbf2",
      "name": "Unipile: Get Post Details",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        280,
        -340
      ]
    },
    {
      "id": "17030513-b4ca-47bc-beea-f7d146de21a5",
      "name": "Unipile: Comment on Post",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1280,
        140
      ]
    },
    {
      "id": "d3f45944-2c38-4555-ae98-5fd69d99f3ba",
      "name": "OpenAI: Chat Model (Comment Generation)",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        580,
        60
      ]
    },
    {
      "id": "706b9189-45ab-4578-96f4-b2bc5858b58a",
      "name": "Trigger: Chat Message Received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -780,
        -260
      ]
    },
    {
      "id": "a9e5f51e-2cf6-4fdc-81a3-2cef4b5a310c",
      "name": "OpenAI: Chat Model (Post ID Extraction)",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -220,
        100
      ]
    },
    {
      "id": "4ff300e4-1a6c-4298-ae43-a5e97a8a9040",
      "name": "Unipile: Add Post Reaction",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1840,
        -60
      ]
    },
    {
      "id": "43a12068-8384-4dbc-b8bd-976ba370547b",
      "name": "LLM: Extract Post ID",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -280,
        -240
      ]
    },
    {
      "id": "f2930b41-7496-4ed4-89d5-10e700467b72",
      "name": "LLM: Generate Comment",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        720,
        -340
      ]
    },
    {
      "id": "100e8868-230d-44f6-a863-2462db5a491a",
      "name": "Telegram: Send Confirmation",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2360,
        -420
      ]
    },
    {
      "id": "ac8aaed5-0093-4eb4-afbe-433346120a49",
      "name": "LLM: Refine Comment (Thinking)",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        920,
        40
      ]
    },
    {
      "id": "858367ae-0b9e-40b7-b666-39d7bc64350e",
      "name": "Note: Workflow Description & Setup",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -580,
        300
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "2daea7d8-188c-4efb-a902-013ab19a1fdf",
      "name": "Note: Trigger Setup",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -880,
        -520
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "4c7bd1be-6f13-411d-b15d-1ca563a056ce",
      "name": "Note: Post ID Extraction",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -300,
        -540
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "9ad2510d-889e-4498-a8d2-c271ebe461d0",
      "name": "Note: Get Post Details",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        -700
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "a6572957-c3d6-4930-9655-541046ab7d92",
      "name": "Note: Generate Comment",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        640,
        -720
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "7cde48e8-63b3-4111-8717-d88661b12ef7",
      "name": "Note: Comment on Post",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1160,
        -180
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "c3755ef3-2727-4593-965f-46acc90b179d",
      "name": "Note: Add Post Reaction",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1720,
        -320
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "413f624a-b5c5-4961-a52a-7618d00e1c48",
      "name": "Note: Send Confirmation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2240,
        -740
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "LLM: Extract Post ID": {
      "main": [
        [
          {
            "node": "Unipile: Get Post Details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "LLM: Generate Comment": {
      "main": [
        [
          {
            "node": "Unipile: Comment on Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Unipile: Comment on Post": {
      "main": [
        [
          {
            "node": "Unipile: Add Post Reaction",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Unipile: Get Post Details": {
      "main": [
        [
          {
            "node": "LLM: Generate Comment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Unipile: Add Post Reaction": {
      "main": [
        [
          {
            "node": "Telegram: Send Confirmation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "LLM: Refine Comment (Thinking)": {
      "ai_tool": [
        [
          {
            "node": "LLM: Generate Comment",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Trigger: Chat Message Received": {
      "main": [
        [
          {
            "node": "LLM: Extract Post ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI: Chat Model (Comment Generation)": {
      "ai_languageModel": [
        [
          {
            "node": "LLM: Generate Comment",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI: Chat Model (Post ID Extraction)": {
      "ai_languageModel": [
        [
          {
            "node": "LLM: Extract Post ID",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}