{
  "name": "Generate LinkedIn posts and AI images from web pages with Airtop and GPT-4",
  "nodes": [
    {
      "id": "e790b122-c9ca-421a-8001-8eaa4e315e85",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -4280,
        1040
      ]
    },
    {
      "id": "3a34d1e6-85c9-4ae2-924d-0883f8055bc9",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -4020,
        820
      ],
      "parameters": {
        "width": 2040,
        "height": 480,
        "content": "# Content Generation & Revisions"
      }
    },
    {
      "id": "1bbae834-8dc7-4a55-a0f5-4a85630de0f2",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1920,
        820
      ],
      "parameters": {
        "width": 1640,
        "height": 480,
        "content": "# Image Generation & Revisions\n"
      }
    },
    {
      "id": "eda10c0b-00e9-459c-a124-b160f246d3c8",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -4500,
        820
      ],
      "parameters": {
        "width": 440,
        "height": 480,
        "content": "# To generate post and visual - start here!"
      }
    },
    {
      "id": "91ea946a-30a8-4d0f-958b-4a1417295363",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2560,
        1100
      ]
    },
    {
      "id": "e4e324b5-8e0d-41c8-980b-3490501aead5",
      "name": "Set Post",
      "type": "n8n-nodes-base.set",
      "position": [
        -3160,
        920
      ]
    },
    {
      "id": "b6435124-f7d0-466c-9f11-908fddabd9b8",
      "name": "Set Params",
      "type": "n8n-nodes-base.set",
      "position": [
        -3760,
        1040
      ]
    },
    {
      "id": "b36ddef0-15fe-47b3-ae0b-cf75a7e88695",
      "name": "Set Post1",
      "type": "n8n-nodes-base.set",
      "position": [
        -2280,
        580
      ]
    },
    {
      "id": "77eb23ab-77e5-4ccb-bb51-73afc935f856",
      "name": "Image Prompt Generator",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -1660,
        920
      ]
    },
    {
      "id": "63b748f9-6884-4c37-97cf-00372a8b9653",
      "name": "Set Image Prompt",
      "type": "n8n-nodes-base.set",
      "position": [
        -1860,
        920
      ]
    },
    {
      "id": "51025a08-3034-435c-a3c5-0950cf540d17",
      "name": "Check Post Text Feedback",
      "type": "@n8n/n8n-nodes-langchain.textClassifier",
      "position": [
        -2560,
        920
      ]
    },
    {
      "id": "b59b8989-1e22-4496-a2b9-1803897ba50e",
      "name": "Check Image Feedback",
      "type": "@n8n/n8n-nodes-langchain.textClassifier",
      "position": [
        -680,
        920
      ]
    },
    {
      "id": "76323ea2-9c7a-41f7-a9a1-dd375dc3c373",
      "name": "Set Image Prompt1",
      "type": "n8n-nodes-base.set",
      "position": [
        -1300,
        920
      ]
    },
    {
      "id": "ac381668-70d7-4cd1-9a71-8e0ac55a9f31",
      "name": "Set Image Prompt2",
      "type": "n8n-nodes-base.set",
      "position": [
        -320,
        600
      ]
    },
    {
      "id": "e1d23987-51d7-464b-ab1e-974a5ca5285c",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -680,
        1120
      ]
    },
    {
      "id": "2997f0cb-9554-4c8e-b68c-32add0a9624a",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -220,
        820
      ],
      "parameters": {
        "width": 440,
        "height": 480,
        "content": "# Send Final Post and Visual"
      }
    },
    {
      "id": "6c0705d9-73a0-4e9c-b1b5-6dd1cdadf24b",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1900,
        280
      ],
      "parameters": {
        "width": 440,
        "height": 480,
        "content": "# To generate just a branded visual - start here!"
      }
    },
    {
      "id": "54ccdc45-6790-4faa-bbc6-d1cc5299d521",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -4500,
        -480
      ],
      "parameters": {
        "width": 1060,
        "height": 1140,
        "content": "README\n# Generate LinkedIn Posts from Any Webpage (With Visuals)\n## Use Case\nTurn any web page into a compelling LinkedIn post — complete with an AI-generated image. This automation is ideal for shari"
      }
    },
    {
      "id": "85fcea76-f016-49d2-97fa-d1d5a2652559",
      "name": "Generate on-brand image",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        -1100,
        920
      ]
    },
    {
      "id": "79c5ba3a-573c-46cc-a592-4dc3c87abb37",
      "name": "Final Version",
      "type": "n8n-nodes-base.slack",
      "position": [
        -40,
        1000
      ]
    },
    {
      "id": "ac358c88-f9a6-42c0-ba2b-8574a6551047",
      "name": "Generate Image",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -1780,
        500
      ]
    },
    {
      "id": "2e528d15-8d3c-4c1f-884c-570b4133df11",
      "name": "Human Revision of Text",
      "type": "n8n-nodes-base.slack",
      "position": [
        -2860,
        920
      ]
    },
    {
      "id": "1c1cffaf-0ba4-4ef9-9c4b-46cc509360ed",
      "name": "Human Review of Visual",
      "type": "n8n-nodes-base.slack",
      "position": [
        -880,
        920
      ]
    },
    {
      "id": "f2ac9ab6-d48e-494a-80c1-d79660fedf85",
      "name": "Generate Post Text",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -3540,
        1040
      ]
    },
    {
      "id": "32074dfb-45bd-4031-b00d-d8da9a95157c",
      "name": "Get Page",
      "type": "n8n-nodes-base.airtop",
      "position": [
        -3980,
        1040
      ]
    }
  ],
  "connections": {
    "Get Page": {
      "main": [
        [
          {
            "node": "Set Params",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Post": {
      "main": [
        [
          {
            "node": "Human Revision of Text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Post1": {
      "main": [
        [
          {
            "node": "Generate Post Text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Params": {
      "main": [
        [
          {
            "node": "Generate Post Text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Image": {
      "main": [
        [
          {
            "node": "Set Image Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Image Prompt": {
      "main": [
        [
          {
            "node": "Image Prompt Generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Check Post Text Feedback",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Set Image Prompt1": {
      "main": [
        [
          {
            "node": "Generate on-brand image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Image Prompt2": {
      "main": [
        [
          {
            "node": "Generate on-brand image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Post Text": {
      "main": [
        [
          {
            "node": "Set Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Get Page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Check Image Feedback",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Check Image Feedback": {
      "main": [
        [
          {
            "node": "Set Image Prompt2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Final Version",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Human Review of Visual": {
      "main": [
        [
          {
            "node": "Check Image Feedback",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Human Revision of Text": {
      "main": [
        [
          {
            "node": "Check Post Text Feedback",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Image Prompt Generator": {
      "main": [
        [
          {
            "node": "Set Image Prompt1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate on-brand image": {
      "main": [
        [
          {
            "node": "Human Review of Visual",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Post Text Feedback": {
      "main": [
        [
          {
            "node": "Set Post1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set Image Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}