{
  "name": "The ultimate Instagram automation for high-quality images & text with GPT-Image",
  "nodes": [
    {
      "id": "b86e2630-5775-4e30-bb14-36541cda7318",
      "name": "Input",
      "type": "n8n-nodes-base.set",
      "position": [
        -2340,
        300
      ]
    },
    {
      "id": "c479940e-11cf-4bab-848a-5c3a980e37c7",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1100,
        220
      ]
    },
    {
      "id": "defc4865-0de1-4ab4-bcfd-31605a0a2467",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "position": [
        1160,
        1000
      ]
    },
    {
      "id": "e6c0cf4d-302d-48f9-8b29-ad0258633821",
      "name": "CreateContainerImage1",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        1000,
        1000
      ]
    },
    {
      "id": "fd5d8728-f414-4941-86ca-4a6e90686f74",
      "name": "PublishImageToIG1",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        1320,
        1000
      ]
    },
    {
      "id": "24cf08b7-6ced-4a82-be58-027d6600d28e",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2600,
        -240
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "c8822e37-316b-4941-848b-85eb51c18d2f",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3020,
        300
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "f4050c46-2e28-4df7-a458-af9bdd0f41fc",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -440,
        -280
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "bf0b5fbf-04ee-4efc-aaba-9e251f3ef1fe",
      "name": "Sticky Note14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -120,
        -280
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "3f106ce4-fad8-47a1-997f-b309c4f47fb7",
      "name": "Sticky Note17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        280,
        -160
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "1dec07f7-cecc-48e4-a0f5-6479d67b253e",
      "name": "Sticky Note20",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3040,
        -1000
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "d8e90385-d71a-4d9f-8aec-51483aab59de",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -2920,
        120
      ]
    },
    {
      "id": "10c0b6c5-bbaa-43be-9251-7028840a5926",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1000,
        -80
      ]
    },
    {
      "id": "820d6265-8978-4c7e-8a62-3b4d1fb5ef57",
      "name": "Tavily WebSearch",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -880,
        200
      ]
    },
    {
      "id": "e7e5904f-9206-44b6-bdba-577ec22d0deb",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3020,
        0
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "745daf41-5566-41b6-b019-5403d1758e9d",
      "name": "On form submission - Post Idea",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -2920,
        420
      ]
    },
    {
      "id": "e5497281-f720-4abb-b342-0ac1c0bc12ba",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -660,
        200
      ]
    },
    {
      "id": "84405b06-4f3c-4ce3-8ef4-847c601b06ba",
      "name": "Tavily WebSearch1",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -860,
        1160
      ]
    },
    {
      "id": "7a3d9b5a-34c3-424a-aad7-76cd3f3f1199",
      "name": "Structured Output Parser1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -700,
        1160
      ]
    },
    {
      "id": "94408bc3-568c-4be6-92b7-a4649e1fac84",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1060,
        1180
      ]
    },
    {
      "id": "2154513d-86f8-4559-89cc-d7eba40754f4",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        1140,
        -80
      ]
    },
    {
      "id": "985978b8-ac18-4ca3-b7cc-8fe7c98b03dc",
      "name": "CreateContainerImage",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        940,
        -80
      ]
    },
    {
      "id": "59256ab1-70a9-4487-8656-b442390adf86",
      "name": "PublishImageToIG",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        1320,
        -80
      ]
    },
    {
      "id": "0d5c0a17-90c1-4bad-b301-5c38b47050c2",
      "name": "Sticky Note18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        880,
        -200
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "61f43a85-5b70-4cd5-8445-68eb697f9633",
      "name": "Google Cloud Storage1",
      "type": "n8n-nodes-base.googleCloudStorage",
      "position": [
        400,
        -80
      ]
    },
    {
      "id": "7b9f660d-93f8-419f-b549-cde894dae0cd",
      "name": "AI Agent realistic Image",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -980,
        900
      ]
    },
    {
      "id": "a3e57b3f-b9d1-4289-b9a1-aea45c91b5ec",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3040,
        -220
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "7fdf0ecd-c31a-471d-b706-1c1484e8bcb7",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1920,
        -240
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "8b4dc0dc-b4ae-4013-a110-ef25a5fe3e64",
      "name": "Route by Image Style",
      "type": "n8n-nodes-base.switch",
      "position": [
        -1640,
        300
      ]
    },
    {
      "id": "a6942d43-c033-4a97-a0af-18f1a1499b97",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1180,
        -320
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "12b1cf61-a573-405f-9894-d909dc92031c",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1180,
        660
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "01498a34-d1b8-4584-97da-d85bf031c16a",
      "name": "GPT Image Generation 2",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -340,
        1000
      ]
    },
    {
      "id": "4ab92f97-fadb-4afb-b371-44641427e05a",
      "name": "GPT Image Generation 1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -340,
        -80
      ]
    },
    {
      "id": "73bc14db-d250-49ee-8f5d-c49e90931181",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -960,
        120
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "535dde9e-95cd-4d72-a3a6-7b5901437e05",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -940,
        1080
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "d4dca5c6-3119-4b1d-9621-4a8a4a8ed101",
      "name": "Convert to Binary File1",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        -20,
        -80
      ]
    },
    {
      "id": "5f601327-5b4f-4895-8eaa-66af76589d46",
      "name": "Convert to Binary File2",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        -20,
        1000
      ]
    },
    {
      "id": "f19ca930-8fa1-4713-a972-bc8c6f0e3cd6",
      "name": "Sticky Note15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -440,
        820
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "3913d6a6-153f-4972-ac18-ce089eca0aa3",
      "name": "Sticky Note19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -120,
        820
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "6f3c01f8-8df4-4038-816c-afce62832f3c",
      "name": "SetImageURL1",
      "type": "n8n-nodes-base.set",
      "position": [
        620,
        1000
      ]
    },
    {
      "id": "fd9a2116-9917-470a-ab0b-3c1e21b1929e",
      "name": "Google Cloud Storage 2",
      "type": "n8n-nodes-base.googleCloudStorage",
      "position": [
        400,
        1000
      ]
    },
    {
      "id": "bf1675f3-fca8-47dd-a021-15198135f2a2",
      "name": "SetImageURL2",
      "type": "n8n-nodes-base.set",
      "position": [
        660,
        -80
      ]
    },
    {
      "id": "b6ef3156-4554-453a-924f-c21cc753e55c",
      "name": "Sticky Note21",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        280,
        900
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "ed3c9229-d944-4eab-9c4d-8ef10e70d6e7",
      "name": "Sticky Note22",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        880,
        860
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "bd5087d0-ea1b-4446-9c73-bde7d88a4006",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1220,
        -420
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "ad8d0a9c-2537-4b06-9494-d9300e32ccbf",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1220,
        560
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "PublishImageToIG",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Input": {
      "main": [
        [
          {
            "node": "Route by Image Style",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "PublishImageToIG1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "GPT Image Generation 1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SetImageURL1": {
      "main": [
        [
          {
            "node": "CreateContainerImage1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SetImageURL2": {
      "main": [
        [
          {
            "node": "CreateContainerImage",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Tavily WebSearch": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent realistic Image",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "PublishImageToIG1": {
      "main": [
        []
      ]
    },
    "Tavily WebSearch1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent realistic Image",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "CreateContainerImage": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Image Style": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "AI Agent realistic Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "CreateContainerImage1": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Cloud Storage1": {
      "main": [
        [
          {
            "node": "SetImageURL2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GPT Image Generation 1": {
      "main": [
        [
          {
            "node": "Convert to Binary File1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GPT Image Generation 2": {
      "main": [
        [
          {
            "node": "Convert to Binary File2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Cloud Storage 2": {
      "main": [
        [
          {
            "node": "SetImageURL1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to Binary File1": {
      "main": [
        [
          {
            "node": "Google Cloud Storage1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to Binary File2": {
      "main": [
        [
          {
            "node": "Google Cloud Storage 2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent realistic Image": {
      "main": [
        [
          {
            "node": "GPT Image Generation 2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent realistic Image",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "On form submission - Post Idea": {
      "main": [
        [
          {
            "node": "Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}