AutomationFlowsAI & RAG › 問い合わせメール自動振り分け&返信ドラフト生成

問い合わせメール自動振り分け&返信ドラフト生成

問い合わせメール自動振り分け&返信ドラフト生成. Uses gmailTrigger, googleGemini, slack. Event-driven trigger; 3 nodes.

Event trigger★☆☆☆☆ complexityAI-powered3 nodesGmail TriggerGoogle GeminiSlack
AI & RAG Trigger: Event Nodes: 3 Complexity: ★☆☆☆☆ AI nodes: yes Added:

This workflow follows the Gmail Trigger → Slack recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "\u554f\u3044\u5408\u308f\u305b\u30e1\u30fc\u30eb\u81ea\u52d5\u632f\u308a\u5206\u3051\uff06\u8fd4\u4fe1\u30c9\u30e9\u30d5\u30c8\u751f\u6210",
  "nodes": [
    {
      "parameters": {
        "pollTimes": {
          "item": [
            {
              "mode": "everyX",
              "value": 15
            }
          ]
        },
        "filters": {
          "q": "is:unread to:info@yourdomain.com"
        },
        "options": {}
      },
      "id": "gmail-trigger",
      "name": "Gmail Trigger",
      "type": "n8n-nodes-base.gmailTrigger",
      "typeVersion": 1.1,
      "position": [
        160,
        240
      ],
      "credentials": {
        "gmailOAuth2": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "modelId": {
          "__rl": true,
          "value": "models/gemini-2.5-flash",
          "mode": "list",
          "cachedResultName": "models/gemini-2.5-flash"
        },
        "messages": {
          "values": [
            {
              "content": "=\u3042\u306a\u305f\u306f\u4f01\u696d\u306e\u512a\u79c0\u306a\u30ab\u30b9\u30bf\u30de\u30fc\u30b5\u30dd\u30fc\u30c8\u62c5\u5f53\u8005\u3067\u3059\u3002\n\u4ee5\u4e0b\u306e\u300c\u304a\u5ba2\u69d8\u304b\u3089\u306e\u554f\u3044\u5408\u308f\u305b\u30e1\u30fc\u30eb\u300d\u3092\u8aad\u307f\u3001\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067\u51fa\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n\n\u3010\u4ef6\u540d\u3011\n{{ $json.snippet }}\n\n\u3010\u672c\u6587\u3011\n{{ $json.textPlain }}\n\n\u3010\u51fa\u529b\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3011\uff08\u203b\u524d\u7f6e\u304d\u3084\u6328\u62f6\u306f\u4e0d\u8981\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u9805\u76ee\u306e\u307f\u3092\u51fa\u529b\u3057\u3066\u304f\u3060\u3055\u3044\uff09\n\n1. \ud83d\udcca \u5206\u985e\uff1a[\u55b6\u696d\u6848\u4ef6 / \u8cea\u554f\u30fb\u30b5\u30dd\u30fc\u30c8 / \u30af\u30ec\u30fc\u30e0 / \u55b6\u696d\u30e1\u30fc\u30eb(\u30b9\u30d1\u30e0) / \u305d\u306e\u4ed6] \u306e\u4e2d\u304b\u3089\u6700\u3082\u9069\u5207\u306a\u3082\u306e\u30921\u3064\u9078\u629e\u3002\n2. \ud83c\udfe2 \u9001\u4fe1\u8005\uff1a[\u4f1a\u793e\u540d\u3068\u6c0f\u540d\u3092\u62bd\u51fa\u3002\u4e0d\u660e\u306a\u5834\u5408\u306f\u300c\u4e0d\u660e\u300d]\n3. \ud83d\udcdd \u8981\u7d04\uff1a[\u30e1\u30fc\u30eb\u306e\u8981\u4ef6\u30923\u884c\u4ee5\u5185\u306e\u7b87\u6761\u66f8\u304d\u3067\u5206\u304b\u308a\u3084\u3059\u304f\u8981\u7d04]\n4. \u2709\ufe0f \u8fd4\u4fe1\u30c9\u30e9\u30d5\u30c8\uff1a\n[\u3053\u306e\u30e1\u30fc\u30eb\u306b\u5bfe\u3059\u308b\u4e01\u5be7\u306a\u8fd4\u4fe1\u6587\u306e\u30c9\u30e9\u30d5\u30c8\uff08\u4e0b\u66f8\u304d\uff09\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4ef6\u540d\u3084\u6328\u62f6\u3082\u542b\u3081\u3001\u305d\u306e\u307e\u307e\u30b3\u30d4\u30fc\u3057\u3066\u4f7f\u3048\u308b\u30ec\u30d9\u30eb\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30b9\u30d1\u30e0\u3084\u660e\u3089\u304b\u306a\u55b6\u696d\u30e1\u30fc\u30eb\u306e\u5834\u5408\u306f\u300c\u8fd4\u4fe1\u4e0d\u8981\u300d\u3068\u3057\u3066\u304f\u3060\u3055\u3044\u3002]"
            }
          ]
        },
        "options": {}
      },
      "id": "gemini-analysis",
      "name": "Gemini: Analyze & Draft",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "typeVersion": 1,
      "position": [
        400,
        240
      ],
      "credentials": {
        "googlePalmApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "channel": "YOUR_CHANNEL_ID",
        "text": "=\ud83d\udea8 *\u65b0\u3057\u3044\u554f\u3044\u5408\u308f\u305b\u3092\u53d7\u4fe1\u3057\u307e\u3057\u305f\uff01*\n\n{{ $json.content.parts[0].text }}",
        "otherOptions": {}
      },
      "id": "slack-notification",
      "name": "Slack Notification",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 2.2,
      "position": [
        640,
        240
      ],
      "credentials": {
        "slackApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Gmail Trigger": {
      "main": [
        [
          {
            "node": "Gemini: Analyze & Draft",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini: Analyze & Draft": {
      "main": [
        [
          {
            "node": "Slack Notification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

問い合わせメール自動振り分け&返信ドラフト生成. Uses gmailTrigger, googleGemini, slack. Event-driven trigger; 3 nodes.

Source: https://github.com/alternativescom/n8n-automation-workflows/blob/main/25-inquiry-auto-triage-bot/workflow.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

Supplier Sentiment Intelligence. Uses gmailTrigger, googleGemini, slack, googleSheets. Event-driven trigger; 21 nodes.

Gmail Trigger, Google Gemini, Slack +1
AI & RAG

Analyze incoming support requests, classify intent and priority with AI, create Jira tickets, assign the correct team, send Slack notifications, and track SLA deadlines. Supports Gmail, WhatsApp, form

Gmail Trigger, HTTP Request, Form Trigger +4
AI & RAG

Complete AI-powered sales system Automates lead capture, qualification, and follow-up from multiple channels. AI INTELLIGENCE:

Gmail Trigger, Google Sheets, OpenAI +3
AI & RAG

An automated quote generation system that monitors your inbox, classifies quote requests using AI, calculates intelligent pricing based on historical data, and provides a professional dashboard for re

Gmail Trigger, OpenAI, Supabase +2
AI & RAG

This workflow empowers marketing teams, agencies and solopreneurs to instantly generate on-brand, platform-optimized social media ads — without designers or complex setup. Running performance marketin

Form Trigger, HTTP Request, Slack +1