{
  "name": "Generate enhanced AI images via Telegram with DALL-E and GPT",
  "nodes": [
    {
      "id": "d9cee081-13cd-4ed4-843c-84e3e4e6c3d5",
      "name": "Image Prompt",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -720,
        -240
      ]
    },
    {
      "id": "9d2a73d3-fc71-47e4-94c5-1c79dd6b3a30",
      "name": "Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -240,
        140
      ]
    },
    {
      "id": "a4ac1967-64d1-455c-abef-bc3804d0cad4",
      "name": "Image Log",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        20,
        140
      ]
    },
    {
      "id": "67ae3f89-2d7d-47c3-a55d-251a47a08072",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -820,
        60
      ],
      "parameters": {
        "width": null,
        "height": 180,
        "content": "## Model"
      }
    },
    {
      "id": "230b29c6-ae1b-4cd0-9a35-dce2a0b15c05",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -280,
        -380
      ],
      "parameters": {
        "width": 540,
        "height": 420,
        "content": "# Send Image"
      }
    },
    {
      "id": "b9bcd205-679b-4cb0-a6a5-cf2bd8b58887",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -280,
        40
      ],
      "parameters": {
        "width": 540,
        "height": 240,
        "content": "# Write to Drive & Sheets"
      }
    },
    {
      "id": "fd75b2ba-57f8-4ce3-8d39-915a96f7cef8",
      "name": "Send Photo",
      "type": "n8n-nodes-base.telegram",
      "position": [
        160,
        -240
      ]
    },
    {
      "id": "91e34b1e-4d15-482f-bb07-86c81c32b478",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -920,
        -240
      ]
    },
    {
      "id": "14caf60f-2813-4e39-8960-0dc85adce28d",
      "name": "Create Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -420,
        -240
      ]
    },
    {
      "id": "f63c6038-a6dd-41c6-9db1-c42e6f21636a",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -720,
        100
      ]
    },
    {
      "id": "2959d03f-5f3f-4009-b09e-6700fc1ef3d9",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -200,
        -240
      ]
    },
    {
      "id": "9573f5b8-9c0b-423a-81f9-7c0689c40c72",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        -360
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "## Loom Link Demo\n**https://www.loom.com/share/9d4743b32c204b189a237d8b9446f45d?sid=af5f3a1d-fb78-4bba-ac01-f4f29ac7f14a**"
      }
    }
  ],
  "connections": {
    "Create Image": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive": {
      "main": [
        [
          {
            "node": "Image Log",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request": {
      "main": [
        [
          {
            "node": "Google Drive",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Photo",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Image Prompt": {
      "main": [
        [
          {
            "node": "Create Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Image Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Image Prompt",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}