{
  "name": "AI Gmail support automation with Google Gemini, OpenAI & Pinecone",
  "nodes": [
    {
      "id": "be23e9c7-5b61-4578-940d-7d992594009f",
      "name": "Gmail Trigger",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        576,
        304
      ]
    },
    {
      "id": "00a8bbd7-f686-4418-bead-094ceeaa5b17",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        784,
        464
      ]
    },
    {
      "id": "d380d68c-e23f-4f04-82a4-4afe389c4e59",
      "name": "No Operation, do nothing",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1088,
        416
      ]
    },
    {
      "id": "4e326e15-1ecd-4f76-8eaf-6f2648f314c9",
      "name": "Embeddings OpenAI",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        1280,
        528
      ]
    },
    {
      "id": "17f862f3-057b-4066-896a-a2017a5859ed",
      "name": "Notify Team",
      "type": "n8n-nodes-base.slack",
      "position": [
        1904,
        240
      ]
    },
    {
      "id": "3f259a9a-809f-43d1-bcce-2453df7f7028",
      "name": "Reply to Query",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1904,
        16
      ]
    },
    {
      "id": "ec4d6090-b2c1-4b58-8fba-35177199ecf0",
      "name": "Label Query",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1680,
        128
      ]
    },
    {
      "id": "470a6a6b-7f9d-47c2-92b2-d36a040eb185",
      "name": "Email Support Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1248,
        112
      ]
    },
    {
      "id": "0fb47262-525e-40d6-8505-8cb3ba17af9b",
      "name": "Intent Classifier",
      "type": "@n8n/n8n-nodes-langchain.textClassifier",
      "position": [
        768,
        304
      ]
    },
    {
      "id": "1e327de4-9bd8-46b3-901f-e02abbc89ee2",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        32
      ],
      "parameters": {
        "width": 464,
        "height": 464,
        "content": "## Gmail AI Support Automation\n\n## How it works\nThis workflow turns your Gmail inbox into an AI-powered support assistant. When a new email arrives, it’s classified by intent using Google Gemini. If i"
      }
    },
    {
      "id": "814e7a7c-81ea-4675-a4e4-6e8c0c75b40b",
      "name": "Pinecone Vector Store",
      "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
      "position": [
        1360,
        336
      ]
    },
    {
      "id": "0f2da3bd-9b62-4b84-b318-618ebd99dda7",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        528,
        240
      ],
      "parameters": {
        "width": 512,
        "height": 352,
        "content": "## Gmail Intake"
      }
    },
    {
      "id": "93e9dc0c-fedc-4947-9416-c70b5de1b170",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1216,
        64
      ],
      "parameters": {
        "width": 304,
        "height": 176,
        "content": "## AI Response Engine"
      }
    },
    {
      "id": "43c00e83-c9f4-4553-8931-6e8902ed95cf",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1648,
        -48
      ],
      "parameters": {
        "width": 480,
        "height": 448,
        "content": "## Actions & Notifications"
      }
    }
  ],
  "connections": {
    "Label Query": {
      "main": [
        [
          {
            "node": "Reply to Query",
            "type": "main",
            "index": 0
          },
          {
            "node": "Notify Team",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail Trigger": {
      "main": [
        [
          {
            "node": "Intent Classifier",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI": {
      "ai_embedding": [
        [
          {
            "node": "Pinecone Vector Store",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Intent Classifier": {
      "main": [
        [
          {
            "node": "Email Support Agent",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "No Operation, do nothing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email Support Agent": {
      "main": [
        [
          {
            "node": "Label Query",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pinecone Vector Store": {
      "ai_tool": [
        [
          {
            "node": "Email Support Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Intent Classifier",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Email Support Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}