{
  "name": "Design UI projects 🎨🖼️ with Google Stitch via Telegram using MCP and Gemini AI",
  "nodes": [
    {
      "id": "58ca337c-08fd-4cba-80e6-06c006fe8fef",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -256,
        -144
      ]
    },
    {
      "id": "bb3fd9e0-7a46-4ae2-b503-a3d5e7a541e4",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -16,
        -96
      ]
    },
    {
      "id": "84cb4bde-15b3-4284-b08b-34e468ce4b09",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        -128
      ],
      "parameters": {
        "width": 528,
        "height": 496,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## STEP 2 - Google Stitch\n[Get your API Key](https://stitch.withgoogle.com/docs/mcp/setup) and set Header Auth with name: \"X-Goog-Api-Key\" and value \"YOUR-API-KEY\"\""
      }
    },
    {
      "id": "da184335-9adc-423a-8d23-55fd63c4cc3d",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        128,
        -80
      ]
    },
    {
      "id": "2d8f7450-9cc1-4dac-8145-2b598258f801",
      "name": "Create Project",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        304,
        -64
      ]
    },
    {
      "id": "832b9197-cdd1-463e-a84a-eac1e981f603",
      "name": "Get Project",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        432,
        -64
      ]
    },
    {
      "id": "59607d6a-9cbf-44bc-8a0f-b7621378a824",
      "name": "List projects",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        560,
        -64
      ]
    },
    {
      "id": "83cf7b04-6c37-4317-8758-f84f41aa419a",
      "name": "List screen",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        304,
        112
      ]
    },
    {
      "id": "f24d9ca5-3999-4a73-92df-789e28038e28",
      "name": "Get screen",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        432,
        112
      ]
    },
    {
      "id": "d4ddf52d-9a66-40cc-b84d-0fe58741a33c",
      "name": "Generate Screen",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        560,
        112
      ]
    },
    {
      "id": "1d3c9bb2-6201-4fa0-9398-d893bb4e7ea9",
      "name": "Search on web",
      "type": "n8n-nodes-base.perplexityTool",
      "position": [
        832,
        -80
      ]
    },
    {
      "id": "08bfae9e-bfb1-4495-9482-fad2118aa032",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        -928,
        -336
      ]
    },
    {
      "id": "1b6f04f2-4e75-48be-b342-d70dbf2f175a",
      "name": "Search with MCP?",
      "type": "n8n-nodes-base.if",
      "position": [
        -704,
        -336
      ]
    },
    {
      "id": "80599982-490d-4160-ba71-2cec80fb02e4",
      "name": "Get Message",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -1152,
        -336
      ]
    },
    {
      "id": "12d0b4dc-9204-4324-997c-020301886860",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1024,
        -464
      ],
      "parameters": {
        "width": 720,
        "height": 292,
        "content": "## STEP 1 - Set Telegram Bot\n\nSet your Telegram ID here. the search only occurs when the command \"/stitch\" is present in the message"
      }
    },
    {
      "id": "7ad2cba9-a301-4960-bd2d-8498671c1fec",
      "name": "Get Text",
      "type": "n8n-nodes-base.set",
      "position": [
        -480,
        -336
      ]
    },
    {
      "id": "fa76c04c-1624-4c8a-a0cd-80b0660ac2f4",
      "name": "Send a text message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1392,
        -512
      ]
    },
    {
      "id": "725d1d2f-fabd-4c6e-8a84-c0619412e662",
      "name": "Google Gemini Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1056,
        -320
      ]
    },
    {
      "id": "dd7b7f1c-c2d2-4d34-958c-ade116e05752",
      "name": "Google Stitch Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        256,
        -336
      ]
    },
    {
      "id": "37dd1c91-74f7-4fdd-8fa2-0c9d97f76766",
      "name": "From MD to HTML",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1056,
        -512
      ]
    },
    {
      "id": "e9e6cfa0-2340-4b8e-baa7-ac69bde3b5aa",
      "name": "Clean query",
      "type": "n8n-nodes-base.code",
      "position": [
        -96,
        -336
      ]
    },
    {
      "id": "25a65c54-bee4-4e63-a2b7-1788427fcd77",
      "name": "is Telegram?",
      "type": "n8n-nodes-base.if",
      "position": [
        768,
        -336
      ]
    },
    {
      "id": "8b8a2d45-29b8-440e-ae01-ee4e8ab3a8d3",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1008,
        -624
      ],
      "parameters": {
        "width": 672,
        "height": 452,
        "content": "## STEP 3- Send Response\n\nSet response message for Telegram and send it"
      }
    },
    {
      "id": "42bbb0f3-0e2e-4bfb-8f14-4160b7b7d378",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1024,
        -1104
      ],
      "parameters": {
        "width": 704,
        "height": 592,
        "content": "## AI-powered Google Stitch Design Agent via Telegram using MCP and Gemini\nThis workflow implements an **AI-powered design and prototyping assistant** that integrates **Telegram**, **Google Gemini**, "
      }
    },
    {
      "id": "37dcf1d8-119b-4e2b-99f9-4159ad3e5931",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -288,
        -1248
      ],
      "parameters": {
        "width": 736,
        "height": 736,
        "content": "## MY NEW YOUTUBE CHANNEL\n👉 [Subscribe to my new **YouTube channel**](https://youtube.com/@n3witalia). Here I’ll share videos and Shorts with practical tutorials and **FREE templates for n8n**.\n\n[![im"
      }
    }
  ],
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "Search with MCP?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Text": {
      "main": [
        [
          {
            "node": "Clean query",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get screen": {
      "ai_tool": [
        [
          {
            "node": "Google Stitch Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Clean query": {
      "main": [
        [
          {
            "node": "Google Stitch Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Message": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Project": {
      "ai_tool": [
        [
          {
            "node": "Google Stitch Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "List screen": {
      "ai_tool": [
        [
          {
            "node": "Google Stitch Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "is Telegram?": {
      "main": [
        [
          {
            "node": "From MD to HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "List projects": {
      "ai_tool": [
        [
          {
            "node": "Google Stitch Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Search on web": {
      "ai_tool": [
        [
          {
            "node": "Google Stitch Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "Google Stitch Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Create Project": {
      "ai_tool": [
        [
          {
            "node": "Google Stitch Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "From MD to HTML": {
      "main": [
        [
          {
            "node": "Send a text message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Screen": {
      "ai_tool": [
        [
          {
            "node": "Google Stitch Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Search with MCP?": {
      "main": [
        [
          {
            "node": "Get Text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Stitch Agent": {
      "main": [
        [
          {
            "node": "is Telegram?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Google Stitch Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "From MD to HTML",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "Google Stitch Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}