{
  "name": "WordPress blog generation with AI Research, Image Creation & Auto Publishing",
  "nodes": [
    {
      "id": "26c13879-8715-4f44-89f4-dd5b5670658b",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -1680,
        288
      ]
    },
    {
      "id": "3034c0cb-d965-44d0-892a-abb5b1d851ac",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -2416,
        464
      ]
    },
    {
      "id": "ae74e407-8f46-40a2-8432-17f2e82ea74b",
      "name": "Google Gemini Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -3264,
        400
      ]
    },
    {
      "id": "575c6b36-07ce-479f-8b26-0da4e6e0a133",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        -2816,
        32
      ]
    },
    {
      "id": "660f5291-1b3a-4dc8-b8e2-d80a001a7875",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        -2704,
        -192
      ]
    },
    {
      "id": "5edd2cd3-10c8-4e54-992b-f3cefb68d6a0",
      "name": "Google Gemini Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -1536,
        560
      ]
    },
    {
      "id": "83ac318c-5aab-44c7-8070-a814bafb8e78",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -1056,
        1056
      ]
    },
    {
      "id": "b2112c18-754e-4ad9-bd8f-110537bc1835",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "position": [
        1088,
        1120
      ]
    },
    {
      "id": "1ee8fec3-1bde-4d95-a0cd-50242f316bf3",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        -880,
        64
      ]
    },
    {
      "id": "7671a510-e153-487b-b563-080b3b13b1b3",
      "name": "all_images",
      "type": "n8n-nodes-base.code",
      "position": [
        -784,
        576
      ]
    },
    {
      "id": "9eb5157d-1189-4744-bcf5-e4ee28d67346",
      "name": "html_content",
      "type": "n8n-nodes-base.set",
      "position": [
        -496,
        576
      ]
    },
    {
      "id": "78ef3312-8e6c-4cc3-b64f-5142b631136d",
      "name": "If1",
      "type": "n8n-nodes-base.if",
      "position": [
        -1984,
        48
      ]
    },
    {
      "id": "15102c8a-6c5a-4137-82b3-4aa7977c795c",
      "name": "Wait2",
      "type": "n8n-nodes-base.wait",
      "position": [
        -1856,
        -160
      ]
    },
    {
      "id": "42ea9596-5580-4b05-97a2-be7276cfeaec",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3152,
        432
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "0976872b-1a8e-4886-b20c-d929b20d555a",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -4224,
        -720
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "a61b2ca7-f044-40bc-8734-856a11972d02",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3296,
        -224
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "75349a4f-f934-4975-bf43-fa399adb0157",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2512,
        -192
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "9804b306-a879-4229-99f9-bb41d3bdd5e0",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1248,
        -48
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "5daff317-a73c-4f9c-a79b-4dd13f1f3ac4",
      "name": "URL Scraper",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -2000,
        1248
      ]
    },
    {
      "id": "aa267c37-0ff5-4f17-bcd8-2f0d2120cd87",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2336,
        1072
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "b3079325-ef93-4e46-b145-10d091b535ab",
      "name": "Message a model in Perplexity",
      "type": "n8n-nodes-base.perplexityTool",
      "position": [
        -2160,
        1232
      ]
    },
    {
      "id": "69c92e4e-68b4-46bc-b9f4-03c8b2f2c3f0",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1200,
        880
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "6e1d6ec3-c664-4eef-80fe-7edd734866bb",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -832,
        800
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "4e442684-5583-4300-9795-6ad8843eb420",
      "name": "download image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        192,
        960
      ]
    },
    {
      "id": "3c431965-4b06-4df3-8b60-40a45f6d7d9b",
      "name": "Edit Image (only for changing to png)",
      "type": "n8n-nodes-base.editImage",
      "position": [
        416,
        960
      ]
    },
    {
      "id": "961715f4-8fcf-4317-8bb6-4ab219b9fb5b",
      "name": "nano banana",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -256,
        976
      ]
    },
    {
      "id": "33450b79-fc04-4ea6-bae1-9dded2782d5b",
      "name": "Edit Fields (set image prompt and name)",
      "type": "n8n-nodes-base.set",
      "position": [
        -480,
        1056
      ]
    },
    {
      "id": "dd3bdb43-01a5-4d92-8bc7-b793b5581e07",
      "name": "final image url",
      "type": "n8n-nodes-base.set",
      "position": [
        864,
        960
      ]
    },
    {
      "id": "e9808248-d4a9-474d-9341-a371b76ce8e4",
      "name": "imbed images in html",
      "type": "n8n-nodes-base.code",
      "position": [
        -272,
        576
      ]
    },
    {
      "id": "3c0e12d4-10b6-4535-8dc0-bd47a7d94dde",
      "name": "API Keys",
      "type": "n8n-nodes-base.set",
      "position": [
        -3648,
        -640
      ]
    },
    {
      "id": "0e4e21d8-bef7-42ec-ae57-6aec9e43f6f8",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3792,
        -784
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "c607a43a-7410-43ef-801b-5f7e0d415e66",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -4064,
        -640
      ]
    },
    {
      "id": "89871096-f88c-4dcf-80d1-f372bc50b267",
      "name": "tavily search",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -2320,
        1264
      ]
    },
    {
      "id": "24421708-87c1-4f99-97fe-6825c5cf79ad",
      "name": "save blog",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        -1584,
        64
      ]
    },
    {
      "id": "9eb1674e-e5ae-405b-9b81-97f01f8b8762",
      "name": "save blog1",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        -48,
        576
      ]
    },
    {
      "id": "1a4eea3f-5d66-4993-9656-d73a19e546da",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2480,
        256
      ]
    },
    {
      "id": "cfd024a6-214c-4f4c-be35-b8c79602cb06",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -3104,
        208
      ]
    },
    {
      "id": "d124aa30-f9d3-4108-beae-42c5edb40079",
      "name": "OpenAI Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1264,
        272
      ]
    },
    {
      "id": "e75d4028-a2de-420c-b2de-b72f5af60500",
      "name": "Upload image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        640,
        960
      ]
    },
    {
      "id": "ac8d8845-1b57-4d91-a726-52cea11e3535",
      "name": "Create a post",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        176,
        576
      ]
    },
    {
      "id": "33db6568-b949-4fdc-99a8-1c5bdc3b51de",
      "name": "Set Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        400,
        576
      ]
    },
    {
      "id": "541c6490-925f-45de-b758-0ed2107ec1f6",
      "name": "If2",
      "type": "n8n-nodes-base.if",
      "position": [
        -32,
        976
      ]
    },
    {
      "id": "bdbdd212-9424-4441-8eb1-13af74831ca4",
      "name": "Wait3",
      "type": "n8n-nodes-base.wait",
      "position": [
        192,
        1168
      ]
    },
    {
      "id": "22688947-95b7-4450-aebb-0bec263df709",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1696,
        -48
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "03e63604-ec02-4b9d-89c9-1531b1da445f",
      "name": "Researcher Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -3088,
        32
      ]
    },
    {
      "id": "f69abe65-20b9-4b3d-8964-b31e5de81c5b",
      "name": "Writer Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -2336,
        48
      ]
    },
    {
      "id": "090f1dc2-4894-49bb-b48e-0f04d4450519",
      "name": "Image Prompts Writer",
      "type": "@n8n/n8n-nodes-langchain.informationExtractor",
      "position": [
        -1184,
        64
      ]
    },
    {
      "id": "e4c74c2c-387b-4d2f-9920-327f66a0459c",
      "name": "image name writer",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -832,
        1056
      ]
    },
    {
      "id": "374d370c-a591-4098-bae6-29bbc72db0b8",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2560,
        -1632
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "6cb35921-71e5-4229-83f2-3deb7badfd4c",
      "name": "RSS Read3",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        -3296,
        -640
      ]
    },
    {
      "id": "0d8fe5aa-e8d1-433a-8a41-a98ce8de93c3",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -3104,
        -640
      ]
    },
    {
      "id": "98428ed5-5f4f-4405-883f-c888d6f54684",
      "name": "Code in JavaScript",
      "type": "n8n-nodes-base.code",
      "position": [
        -2896,
        -640
      ]
    },
    {
      "id": "e65c62bf-7861-424a-af30-0f476fe7b445",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3312,
        -720
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "8680074b-3e88-4cab-925c-9de81837bcfb",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        96,
        496
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Writer Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If1": {
      "main": [
        [
          {
            "node": "Wait2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "save blog",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If2": {
      "main": [
        [
          {
            "node": "download image",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Researcher Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait2": {
      "main": [
        [
          {
            "node": "Writer Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait3": {
      "main": [
        [
          {
            "node": "Edit Fields (set image prompt and name)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "API Keys": {
      "main": [
        [
          {
            "node": "RSS Read3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Code in JavaScript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RSS Read3": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "save blog": {
      "main": [
        [
          {
            "node": "Image Prompts Writer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "all_images": {
      "main": [
        [
          {
            "node": "html_content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "save blog1": {
      "main": [
        [
          {
            "node": "Create a post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "URL Scraper": {
      "ai_tool": [
        [
          {
            "node": "Researcher Agent",
            "type": "ai_tool",
            "index": 0
          },
          {
            "node": "Writer Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "nano banana": {
      "main": [
        [
          {
            "node": "If2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload image": {
      "main": [
        [
          {
            "node": "final image url",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Writer Agent": {
      "main": [
        [
          {
            "node": "If1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "html_content": {
      "main": [
        [
          {
            "node": "imbed images in html",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create a post": {
      "main": [
        [
          {
            "node": "Set Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "download image": {
      "main": [
        [
          {
            "node": "Edit Image (only for changing to png)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "all_images",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "image name writer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "final image url": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Researcher Agent": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Writer Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "image name writer": {
      "main": [
        [
          {
            "node": "Edit Fields (set image prompt and name)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript": {
      "main": [
        [
          {
            "node": "Researcher Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "API Keys",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Researcher Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Image Prompts Writer",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Image Prompts Writer": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "imbed images in html": {
      "main": [
        [
          {
            "node": "save blog1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Writer Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Structured Output Parser",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Message a model in Perplexity": {
      "ai_tool": [
        [
          {
            "node": "Researcher Agent",
            "type": "ai_tool",
            "index": 0
          },
          {
            "node": "Writer Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Edit Image (only for changing to png)": {
      "main": [
        [
          {
            "node": "Upload image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields (set image prompt and name)": {
      "main": [
        [
          {
            "node": "nano banana",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}