{
  "name": "Auto-generate LinkedIn posts from articles with Dumpling AI and GPT-4o",
  "nodes": [
    {
      "id": "3e99adb0-0445-4516-9404-a96e5e273722",
      "name": "Start Workflow",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1060,
        -120
      ]
    },
    {
      "id": "bed177e1-ac0b-4159-8ac7-ae51af05da37",
      "name": " Get \"To do\" Topics from Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -840,
        -120
      ]
    },
    {
      "id": "cfd11e52-1a0b-4f55-a623-40f7f8233ef1",
      "name": "Scrape Articles via Dumpling AI Search",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -620,
        -120
      ]
    },
    {
      "id": "96f68697-8ef2-42a7-b9ef-10044cac2b0a",
      "name": "Enable GPT-4o for LangChain Agent",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -540,
        100
      ]
    },
    {
      "id": "d2acc5f1-b366-4e07-8f1b-953c591f63b0",
      "name": "Summarize 3 Articles + Generate LinkedIn Post + Image Prompt",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -400,
        -120
      ]
    },
    {
      "id": "d1f25b3a-3044-4ca6-937e-c61439d545c8",
      "name": " Extract Post Text and Image Prompt",
      "type": "n8n-nodes-base.set",
      "position": [
        -20,
        -120
      ]
    },
    {
      "id": "1ccd4791-92c9-4572-9e0c-cb60477dabdd",
      "name": "Generate Image with Dumpling AI",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        220,
        -120
      ]
    },
    {
      "id": "be8bd9f0-1cff-41c9-b26e-c6f365aa86fd",
      "name": "Update Google Sheet with Post & Image",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        440,
        -120
      ]
    },
    {
      "id": "44ad06d9-d5f7-4a3c-a894-943ec46ac0f0",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1060,
        -280
      ],
      "parameters": {
        "width": 900,
        "height": 200,
        "content": "### 📚 Get Topic and Summarize Articles with AI\n\nThis part starts the workflow manually, pulls the first \"To do\" topic from a Google Sheet, and passes the topic to Dumpling AI to perform a Google searc"
      }
    },
    {
      "id": "528021a8-6b26-4177-b9fa-eb2405ac7d8d",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -100,
        -280
      ],
      "parameters": {
        "width": 760,
        "height": 200,
        "content": "### 🧠 Refine Output and Store Content\n\nOnce the AI Agent returns the LinkedIn post and image prompt, the Set node extracts both fields. Dumpling AI then uses the image prompt to generate a relevant vi"
      }
    }
  ],
  "connections": {
    "Start Workflow": {
      "main": [
        [
          {
            "node": " Get \"To do\" Topics from Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    " Get \"To do\" Topics from Sheet": {
      "main": [
        [
          {
            "node": "Scrape Articles via Dumpling AI Search",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Image with Dumpling AI": {
      "main": [
        [
          {
            "node": "Update Google Sheet with Post & Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Enable GPT-4o for LangChain Agent": {
      "ai_languageModel": [
        [
          {
            "node": "Summarize 3 Articles + Generate LinkedIn Post + Image Prompt",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    " Extract Post Text and Image Prompt": {
      "main": [
        [
          {
            "node": "Generate Image with Dumpling AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape Articles via Dumpling AI Search": {
      "main": [
        [
          {
            "node": "Summarize 3 Articles + Generate LinkedIn Post + Image Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarize 3 Articles + Generate LinkedIn Post + Image Prompt": {
      "main": [
        [
          {
            "node": " Extract Post Text and Image Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}