{
  "name": "Post images from Google Drive to Discord using Gemini Gemini AI",
  "nodes": [
    {
      "id": "beaeb4ca-3743-4b84-84fc-9c9be5a77004",
      "name": "Download file",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -288,
        592
      ]
    },
    {
      "id": "d8eeab29-3243-4dc0-8ecc-c39357025562",
      "name": "Check For A New File to post on laughing-everyday",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        -720,
        592
      ]
    },
    {
      "id": "b8636c5b-ff24-4617-8c84-566f710b3daa",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -352,
        816
      ]
    },
    {
      "id": "cc330074-028c-487c-94ab-11c8f974e0b2",
      "name": "Structured Output",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -208,
        992
      ]
    },
    {
      "id": "7e19c859-7f8b-4a73-9f5c-86b880b34f8d",
      "name": "Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -352,
        992
      ]
    },
    {
      "id": "7276a152-055d-4e57-a100-164674a73cda",
      "name": "Post To Discord Channel",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        384,
        592
      ]
    },
    {
      "id": "12552ab6-e097-4727-aabb-344623b617f4",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        -48,
        592
      ]
    },
    {
      "id": "feedddc1-8d48-4829-82bb-3d953330fdde",
      "name": "Get Downloaded File & Set Post Data",
      "type": "n8n-nodes-base.set",
      "position": [
        144,
        592
      ]
    },
    {
      "id": "9df380ee-41cf-4cb1-b00f-f2631987fb65",
      "name": "Move file",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        800,
        592
      ]
    },
    {
      "id": "73ea74ac-1535-4c3e-96c4-cb26b7fa6e4f",
      "name": "Update file",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        592,
        592
      ]
    },
    {
      "id": "583bf0f7-e0a8-440c-9321-cf34b2522b5b",
      "name": "Done !",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1008,
        592
      ]
    },
    {
      "id": "e8b8869c-b7dc-488c-9a8e-e86887319f9e",
      "name": "Get File & Set Channel",
      "type": "n8n-nodes-base.set",
      "position": [
        -512,
        592
      ]
    },
    {
      "id": "c8d918ea-9729-4a7d-b4d4-8a3c0ab1b01a",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -16,
        800
      ],
      "parameters": {
        "width": 512,
        "height": 288,
        "content": "## 💡 Quick Demo\n1.  Upload a photo of code or a design mockup to your Drive folder.\n2.  Wait a few seconds.\n3.  See a new thread appear in Discord with the image and a question like \"How would you opt"
      }
    },
    {
      "id": "1641465b-8109-4420-9bb2-0565dba6fd31",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -720,
        144
      ],
      "parameters": {
        "width": 1024,
        "height": 416,
        "content": "## 🚀 AI-Powered Visual Content Pipeline\nThis workflow automates the process of turning raw images into engaging community content. It connects your file storage directly to your social platform, using"
      }
    },
    {
      "id": "30b2806f-e4d5-45ea-82da-3a0ae3cfe865",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -256,
        272
      ],
      "parameters": {
        "width": 528,
        "height": 256,
        "content": "### ⚙️ How it works\n1.  **Trigger:** The automation starts instantly when a new image file is uploaded to a designated Google Drive folder.\n2.  **Analysis:** The file is downloaded and passed to AI. T"
      }
    },
    {
      "id": "e4ebcf4f-7a40-43c5-a882-ad7e47d6b02d",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -688,
        272
      ],
      "parameters": {
        "width": 384,
        "height": 256,
        "content": "### 🛠️ Setup steps\n1.  **Google Drive:** Create two folders (\"Input\" and \"Processed\"). Copy their IDs into the *Google Drive Trigger* and the *Set* nodes respectively.\n2.  **Credentials:** Connect you"
      }
    }
  ],
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Get Downloaded File & Set Post Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Move file": {
      "main": [
        [
          {
            "node": "Done !",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Update file": {
      "main": [
        [
          {
            "node": "Move file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download file": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Get File & Set Channel": {
      "main": [
        [
          {
            "node": "Download file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post To Discord Channel": {
      "main": [
        [
          {
            "node": "Update file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Downloaded File & Set Post Data": {
      "main": [
        [
          {
            "node": "Post To Discord Channel",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check For A New File to post on laughing-everyday": {
      "main": [
        [
          {
            "node": "Get File & Set Channel",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}