{
  "name": "Transform documents into engaging LinkedIn posts with GPT-4.1 and email approval",
  "nodes": [
    {
      "id": "f83c8742-ad0a-4ce4-83d8-9aa1bcd105f3",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        0,
        -220
      ]
    },
    {
      "id": "ec90f76e-01bb-452a-967b-58e42bdbbff3",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        880,
        -220
      ]
    },
    {
      "id": "c408d312-3947-4c28-b8a9-2a4cf4ae1353",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        968,
        0
      ]
    },
    {
      "id": "906ae331-b613-41b9-840a-c0ccb055a874",
      "name": "Extract from File",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        660,
        -420
      ]
    },
    {
      "id": "7bb8147e-ae70-46bb-8060-86bfcb365c93",
      "name": "LinkedIn",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        1680,
        -320
      ]
    },
    {
      "id": "e2b861ad-ce2c-4337-a804-b5880e1df85f",
      "name": "Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        220,
        -220
      ]
    },
    {
      "id": "9d798da2-c2c9-4483-bca9-2e3b8ef070d5",
      "name": "Extract from File1",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        660,
        -20
      ]
    },
    {
      "id": "03e9122f-99c6-4a26-8373-2e1c7c4136bd",
      "name": "Google Docs",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        660,
        -220
      ]
    },
    {
      "id": "7829c078-fb7b-4296-ba42-c7ba76ef7db7",
      "name": "HTTP Request2",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        440,
        -220
      ]
    },
    {
      "id": "afdc4cc8-8af5-42c5-a813-da63132e53f1",
      "name": "Send Email",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1260,
        -220
      ]
    },
    {
      "id": "0e65e913-9a14-4f5d-b1d3-661efff5396d",
      "name": "Switch1",
      "type": "n8n-nodes-base.switch",
      "position": [
        1480,
        -220
      ]
    },
    {
      "id": "94ac12d5-86a4-4fdc-a778-b42e8fdbe0e8",
      "name": "Email Trigger (IMAP)",
      "type": "n8n-nodes-base.emailReadImap",
      "position": [
        40,
        -540
      ]
    }
  ],
  "connections": {
    "Switch": {
      "main": [
        [
          {
            "node": "Extract from File",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "HTTP Request2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Extract from File1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch1": {
      "main": [
        [
          {
            "node": "LinkedIn",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Send Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Email": {
      "main": [
        [
          {
            "node": "Switch1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Docs": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request2": {
      "main": [
        [
          {
            "node": "Google Docs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract from File": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Extract from File1": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email Trigger (IMAP)": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}