8
n8n 한국어amn8n.com

스마트 Gmail 분류기: OpenAI를 사용한 분류 및 태깅

중급

이것은AI Summarization, Multimodal AI분야의자동화 워크플로우로, 8개의 노드를 포함합니다.주로 Cron, Gmail, LmChatOpenAi, TextClassifier 등의 노드를 사용하며. GPT-4o-mini 사용자 정의 분류를 사용하여 Gmail 메시지 자동 라벨링

사전 요구사항
  • Google 계정 및 Gmail API 인증 정보
  • OpenAI API Key
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "MkRETKpIFPWYCRiM",
  "meta": {
    "instanceId": "3d02c71388317a973647ceedf481a6b7f92941c766cf17f67388ab341d525980",
    "templateCredsSetupCompleted": true
  },
  "name": "Smart Gmail Classifier: Classify & Label with openAI",
  "tags": [],
  "nodes": [
    {
      "id": "9038f706-1cf8-4156-9858-969a7bde62e3",
      "name": "OpenAI 채팅 모델",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -848,
        576
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini",
          "cachedResultName": "gpt-4o-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "h5qIkLzWPJjRPGNc",
          "name": "OpenAi account 2"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "0ee542ce-85bc-405a-ba04-7a257e8d6f4f",
      "name": "Job Opportunity",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -544,
        0
      ],
      "webhookId": "5f643023-07de-4b83-a2f7-5f0014a2ec69",
      "parameters": {
        "labelIds": [
          "Label_3116546262966183424"
        ],
        "messageId": "={{ $('Gmail Trigger').item.json.id }}",
        "operation": "addLabels"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "L68pElfU0dElPrnw",
          "name": "Gmail account 3"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "ee69125c-46ae-439d-b0b7-c016af1b5df6",
      "name": "Application Status",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -544,
        192
      ],
      "webhookId": "5f643023-07de-4b83-a2f7-5f0014a2ec69",
      "parameters": {
        "labelIds": [
          "Label_1823036576628176913"
        ],
        "messageId": "={{ $('Gmail Trigger').item.json.id }}",
        "operation": "addLabels"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "L68pElfU0dElPrnw",
          "name": "Gmail account 3"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "37f396b6-7327-43db-b4e5-e34756b82a34",
      "name": "Others",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -544,
        384
      ],
      "webhookId": "5f643023-07de-4b83-a2f7-5f0014a2ec69",
      "parameters": {
        "labelIds": [
          "Label_4879539884577568757"
        ],
        "messageId": "={{ $('Gmail Trigger').item.json.id }}",
        "operation": "addLabels"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "L68pElfU0dElPrnw",
          "name": "Gmail account 3"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "d937e43b-7f05-4eda-bf9e-409a325f6999",
      "name": "Enquiries",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -544,
        576
      ],
      "webhookId": "5f643023-07de-4b83-a2f7-5f0014a2ec69",
      "parameters": {
        "labelIds": [
          "Label_2255072803109768357"
        ],
        "messageId": "={{ $('Gmail Trigger').item.json.id }}",
        "operation": "addLabels"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "L68pElfU0dElPrnw",
          "name": "Gmail account 3"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "eb4f2bf6-4535-4b96-a215-5c99f3f0bb04",
      "name": "Email Classifier",
      "type": "@n8n/n8n-nodes-langchain.textClassifier",
      "position": [
        -944,
        288
      ],
      "parameters": {
        "options": {
          "systemPromptTemplate": "=Please classify the text provided by the user into one of the following categories: {categories}, and use the provided formatting instructions below. Don't explain, and only output the json."
        },
        "inputText": "={{ $json.text }}",
        "categories": {
          "categories": [
            {
              "category": "Job Opportunity",
              "description": "Emails that reflects potential jobs matched as per the profile i've shared across various job sites"
            },
            {
              "category": "Application Status",
              "description": "Email that updates about any jobs i applied or any updates about the position i interviewed for or the position i didn't get selected"
            },
            {
              "category": "Others",
              "description": "The rest of email communication that does not fall under Job Opportunity or Application Status"
            },
            {
              "category": "Enquiries",
              "description": "Email that raise enquiry about my details or the work i do or the service i provide."
            }
          ]
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "1e886235-18c7-4f6e-a744-7a177807e00a",
      "name": "Daily 이메일 Check",
      "type": "n8n-nodes-base.cron",
      "position": [
        -1392,
        288
      ],
      "parameters": {
        "triggerTimes": {
          "item": [
            {
              "hour": 23
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "07c859f1-82ff-4268-bd99-087608931420",
      "name": "Fetch New 이메일s",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -1168,
        288
      ],
      "webhookId": "e76d0a4c-ea02-4ea4-b427-027315c1a846",
      "parameters": {
        "limit": 10,
        "simple": false,
        "filters": {
          "receivedAfter": "2025-08-10T17:28:41"
        },
        "options": {},
        "operation": "getAll"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "L68pElfU0dElPrnw",
          "name": "Gmail account 3"
        }
      },
      "typeVersion": 2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "7aa60bda-b007-4b69-b22a-aac8d578e193",
  "connections": {
    "eb4f2bf6-4535-4b96-a215-5c99f3f0bb04": {
      "main": [
        [
          {
            "node": "0ee542ce-85bc-405a-ba04-7a257e8d6f4f",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "ee69125c-46ae-439d-b0b7-c016af1b5df6",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "37f396b6-7327-43db-b4e5-e34756b82a34",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "d937e43b-7f05-4eda-bf9e-409a325f6999",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch New Emails": {
      "main": [
        [
          {
            "node": "eb4f2bf6-4535-4b96-a215-5c99f3f0bb04",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Email Check": {
      "main": [
        [
          {
            "node": "Fetch New Emails",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "eb4f2bf6-4535-4b96-a215-5c99f3f0bb04",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

이 워크플로우를 어떻게 사용하나요?

위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.

이 워크플로우는 어떤 시나리오에 적합한가요?

중급 - AI 요약, 멀티모달 AI

유료인가요?

이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.

워크플로우 정보
난이도
중급
노드 수8
카테고리2
노드 유형4
난이도 설명

일정 경험을 가진 사용자를 위한 6-15개 노드의 중간 복잡도 워크플로우

저자
Ashish Kumar Swain

Ashish Kumar Swain

@phoenix

Hi, I’m Ashish — an automation architect and AI enthusiast helping people work smarter. I build AI-powered workflows that save time, boost productivity, and create real-world impact. Passionate about no-code, startups, and smart systems that scale. Let’s automate success, one workflow at a time! 🚀

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34