{
  "name": "Edit & deliver images with DALL-E 2, Google Drive & Telegram messaging",
  "nodes": [
    {
      "id": "0b9585d8-e520-4ed2-9c63-de16fdcfdf50",
      "name": "🚀 Form Submission Trigger",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        380,
        280
      ]
    },
    {
      "id": "8fcc87f1-f2c0-4bbd-b1be-3baf1f154f67",
      "name": "⚙️ Configuration Variables",
      "type": "n8n-nodes-base.set",
      "position": [
        640,
        280
      ]
    },
    {
      "id": "877c3e0f-8566-438c-bf69-8e7ccdb9dfe3",
      "name": "📁 Upload Original to Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        880,
        280
      ]
    },
    {
      "id": "4742b2b8-5c56-468f-98b2-b1f2ea908702",
      "name": "📥 Download for Processing",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1140,
        280
      ]
    },
    {
      "id": "c8008016-1d32-415b-a59b-0858d8f5887e",
      "name": "🎨 AI Image Editor",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1380,
        280
      ]
    },
    {
      "id": "5c8753f1-43cf-45d5-a984-69232a14adac",
      "name": "🔄 Convert to File",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        1640,
        280
      ]
    },
    {
      "id": "dd69866a-1439-4ad7-8e20-5e6eeccb3e2e",
      "name": "📱 Send to Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1880,
        280
      ]
    },
    {
      "id": "14fd976d-849b-4b6c-b4f7-bb12d21da68d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -200,
        40
      ],
      "parameters": {
        "width": 569,
        "height": 1304,
        "content": "# 🎨 AI Image Editor Workflow\n\n**Created by:** David Olusola\n\n## 📋 What This Workflow Does\n\nThis automation creates a complete AI image editing pipeline that:\n- ✅ Provides a user-friendly web form for "
      }
    },
    {
      "id": "e8b0837c-bd0e-4184-a42a-13ce73837e29",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        280,
        160
      ],
      "parameters": {
        "width": 200,
        "height": 308,
        "content": "💡 **STEP 1: Form Submission**\n\nUser uploads image and provides editing instructions through web form. The form validates file type and requires both image and prompt."
      }
    },
    {
      "id": "04947555-cd06-4c6c-9f01-43aab9dcd821",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        540,
        160
      ],
      "parameters": {
        "width": 200,
        "height": 248,
        "content": "⚙️ **STEP 2: Configuration**\n\nSets up all workflow variables that users need to customize. Update these values before first use!"
      }
    },
    {
      "id": "4f504b1e-73c9-4d62-b7bf-41a83087d68a",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        780,
        160
      ],
      "parameters": {
        "width": 200,
        "height": 248,
        "content": "📁 **STEP 3: Backup Storage**\n\nUploads original image to Google Drive with timestamp for organization and backup purposes."
      }
    },
    {
      "id": "e065914a-070c-48bd-ac65-e9c666478e78",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1040,
        160
      ],
      "parameters": {
        "width": 200,
        "height": 248,
        "content": "📥 **STEP 4: Prepare for AI**\n\nDownloads the image from Drive to prepare it for OpenAI processing in the correct format."
      }
    },
    {
      "id": "0a9ffa00-4432-497d-98cb-d74e9320fcc7",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1280,
        160
      ],
      "parameters": {
        "width": 200,
        "height": 248,
        "content": "🎨 **STEP 5: AI Magic**\n\nSends image and prompt to OpenAI's image editing API. Uses DALL-E model for high-quality results."
      }
    },
    {
      "id": "30d577e2-9c74-46b9-b62e-7b7a24aca423",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1540,
        160
      ],
      "parameters": {
        "width": 200,
        "height": 268,
        "content": "🔄 **STEP 6: File Conversion**\n\nConverts the AI response to a downloadable PNG file with proper naming and metadata."
      }
    },
    {
      "id": "97a064c2-60cb-4e8c-bfda-d81356c7918c",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1780,
        160
      ],
      "parameters": {
        "width": 200,
        "height": 228,
        "content": "📱 **STEP 7: Instant Delivery**\n\nSends the edited image to Telegram with prompt details and timestamp for easy identification."
      }
    }
  ],
  "connections": {
    "🎨 AI Image Editor": {
      "main": [
        [
          {
            "node": "🔄 Convert to File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🔄 Convert to File": {
      "main": [
        [
          {
            "node": "📱 Send to Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📥 Download for Processing": {
      "main": [
        [
          {
            "node": "🎨 AI Image Editor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🚀 Form Submission Trigger": {
      "main": [
        [
          {
            "node": "⚙️ Configuration Variables",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📁 Upload Original to Drive": {
      "main": [
        [
          {
            "node": "📥 Download for Processing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "⚙️ Configuration Variables": {
      "main": [
        [
          {
            "node": "📁 Upload Original to Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}