{
  "name": "Auto-label Gmail messages with custom categories using GPT-4o-mini",
  "nodes": [
    {
      "id": "9038f706-1cf8-4156-9858-969a7bde62e3",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -848,
        576
      ]
    },
    {
      "id": "0ee542ce-85bc-405a-ba04-7a257e8d6f4f",
      "name": "Job Opportunity",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -544,
        0
      ]
    },
    {
      "id": "ee69125c-46ae-439d-b0b7-c016af1b5df6",
      "name": "Application Status",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -544,
        192
      ]
    },
    {
      "id": "37f396b6-7327-43db-b4e5-e34756b82a34",
      "name": "Others",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -544,
        384
      ]
    },
    {
      "id": "d937e43b-7f05-4eda-bf9e-409a325f6999",
      "name": "Enquiries",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -544,
        576
      ]
    },
    {
      "id": "eb4f2bf6-4535-4b96-a215-5c99f3f0bb04",
      "name": "Email Classifier",
      "type": "@n8n/n8n-nodes-langchain.textClassifier",
      "position": [
        -944,
        288
      ]
    },
    {
      "id": "1e886235-18c7-4f6e-a744-7a177807e00a",
      "name": "Daily Email Check",
      "type": "n8n-nodes-base.cron",
      "position": [
        -1392,
        288
      ]
    },
    {
      "id": "07c859f1-82ff-4268-bd99-087608931420",
      "name": "Fetch New Emails",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -1168,
        288
      ]
    }
  ],
  "connections": {
    "Email Classifier": {
      "main": [
        [
          {
            "node": "Job Opportunity",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Application Status",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Others",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Enquiries",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch New Emails": {
      "main": [
        [
          {
            "node": "Email Classifier",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Email Check": {
      "main": [
        [
          {
            "node": "Fetch New Emails",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Email Classifier",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}