{
  "name": "Auto-generate & distribute LinkedIn posts with GPT-4 to profile & groups",
  "nodes": [
    {
      "id": "f8952f15-2a54-4207-bf1f-ca0eea5401c2",
      "name": "Limit",
      "type": "n8n-nodes-base.limit",
      "position": [
        -1880,
        120
      ]
    },
    {
      "id": "fc809d41-c4c5-4161-bad6-3acda9dac3f3",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -1500,
        340
      ]
    },
    {
      "id": "649c6459-7a72-4192-b172-3edea35ae770",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1620,
        340
      ]
    },
    {
      "id": "f90a4f81-216b-470f-9885-bc9df8ca375e",
      "name": "Linkedin-Post-Topic",
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "position": [
        -2320,
        120
      ]
    },
    {
      "id": "ccea615a-d960-4493-9a87-69ff1b5380c3",
      "name": "Validate-Status",
      "type": "n8n-nodes-base.if",
      "position": [
        -2100,
        120
      ]
    },
    {
      "id": "6ee612ac-5a46-4c50-b4ca-3620578e8388",
      "name": "Linedin-Post-Creator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1660,
        120
      ]
    },
    {
      "id": "dad86e35-7fdf-4ad2-999a-39d8d7827769",
      "name": "Format-Content",
      "type": "n8n-nodes-base.code",
      "position": [
        -1280,
        120
      ]
    },
    {
      "id": "46baf319-14bd-47fe-8f5b-5eda101ead3a",
      "name": "Linkedin-User-Detail",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1060,
        120
      ]
    },
    {
      "id": "50db6b67-e0cc-4c43-accd-9f3ad8517476",
      "name": "Linkedin-post",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -840,
        120
      ]
    },
    {
      "id": "f798cd8c-289e-493f-9d27-36a37fe72ae8",
      "name": "Get-Group-id",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -620,
        120
      ]
    },
    {
      "id": "049fc19a-9c29-491a-b3a7-fe9aadee6583",
      "name": "Pick 1 by 1",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -400,
        120
      ]
    },
    {
      "id": "bea35dda-9e97-4b02-90a9-ce6f17ba4c5a",
      "name": "Post-Linkedin-Groups",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -180,
        160
      ]
    },
    {
      "id": "9887fef3-d784-446a-877d-297ad835a6ed",
      "name": "Update-Status",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -180,
        -40
      ]
    },
    {
      "id": "d2d2d0b1-666d-4cfc-8f3b-e528c1b7d33d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3120,
        -360
      ],
      "parameters": {
        "width": 520,
        "height": 1480,
        "content": "LinkedIn AI Agent: Auto-Post Creator & Distributor\nAutomatically generate engaging LinkedIn posts from Google Sheets topics and publish them to your profile and multiple LinkedIn groups. Perfect for:\n"
      }
    }
  ],
  "connections": {
    "Limit": {
      "main": [
        [
          {
            "node": "Linedin-Post-Creator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pick 1 by 1": {
      "main": [
        [
          {
            "node": "Update-Status",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Post-Linkedin-Groups",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get-Group-id": {
      "main": [
        [
          {
            "node": "Pick 1 by 1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Linkedin-post": {
      "main": [
        [
          {
            "node": "Get-Group-id",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format-Content": {
      "main": [
        [
          {
            "node": "Linkedin-User-Detail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate-Status": {
      "main": [
        [
          {
            "node": "Limit",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Linedin-Post-Creator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Linkedin-Post-Topic": {
      "main": [
        [
          {
            "node": "Validate-Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Linedin-Post-Creator": {
      "main": [
        [
          {
            "node": "Format-Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Linkedin-User-Detail": {
      "main": [
        [
          {
            "node": "Linkedin-post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post-Linkedin-Groups": {
      "main": [
        [
          {
            "node": "Pick 1 by 1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Linedin-Post-Creator",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}