Outlookによる自主のメール管理

上級

これはContent Creation, Multimodal AI分野の自動化ワークフローで、79個のノードを含みます。主にSet, Slack, MicrosoftExcel, Agent, MicrosoftOutlookなどのノードを使用。 GPT-5-mini と人間の介入による Outlook オートメーション化されたメール管理

前提条件
  • Slack Bot Token または Webhook URL
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "022c4cec02334ad93761b1a970897849a4f67e26412446691d3bdf320adeb980",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "f35a6559-68d6-47b8-8a31-707fc4f5de90",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1184,
        -352
      ],
      "parameters": {
        "width": 460,
        "height": 1888,
        "content": "## Message triage and categorization \n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "887192bb-5226-4633-bcfd-336640f0e5f0",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1664,
        -352
      ],
      "parameters": {
        "width": 150,
        "height": 1892,
        "content": "## Text mover\n"
      },
      "typeVersion": 1
    },
    {
      "id": "5bcab540-979c-4884-a14c-eb7f271a04e8",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1824,
        -352
      ],
      "parameters": {
        "width": 300,
        "height": 1380,
        "content": "## AI Email composer"
      },
      "typeVersion": 1
    },
    {
      "id": "c9206738-9d42-445a-b38d-b1e0a680c71d",
      "name": "付箋4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2144,
        -352
      ],
      "parameters": {
        "width": 360,
        "height": 1892,
        "content": "## Brand Voice"
      },
      "typeVersion": 1
    },
    {
      "id": "b1b24fbb-afa4-493a-9065-9cea8eee22b5",
      "name": "付箋5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2528,
        -352
      ],
      "parameters": {
        "color": 5,
        "width": 308,
        "height": 1020,
        "content": "## Flow Classifier\n"
      },
      "typeVersion": 1
    },
    {
      "id": "f0bb5038-4bb3-4d5f-aaf3-353593650e25",
      "name": "付箋6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1824,
        1040
      ],
      "parameters": {
        "color": 5,
        "width": 300,
        "height": 496,
        "content": "## Flow Classifier\n"
      },
      "typeVersion": 1
    },
    {
      "id": "32eb030f-a50c-4b5e-994e-d29063a8af13",
      "name": "付箋7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2528,
        688
      ],
      "parameters": {
        "color": 3,
        "width": 308,
        "height": 852,
        "content": "## Direct Message on Slack\n"
      },
      "typeVersion": 1
    },
    {
      "id": "15f4ff52-5665-406c-832b-08b1084f7276",
      "name": "付箋8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1424,
        1008
      ],
      "parameters": {
        "color": 6,
        "width": 200,
        "height": 240,
        "content": "## LLM\n"
      },
      "typeVersion": 1
    },
    {
      "id": "091ec89c-1c03-4617-9b17-48cf9acb7428",
      "name": "付箋9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2864,
        -352
      ],
      "parameters": {
        "width": 220,
        "height": 1892,
        "content": "## Email Drafter"
      },
      "typeVersion": 1
    },
    {
      "id": "bf1873c2-d96a-4ee9-b915-46a54916c5e4",
      "name": "付箋10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3408,
        -352
      ],
      "parameters": {
        "width": 180,
        "height": 1888,
        "content": "## Email Read\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "537605fb-0030-415d-9e68-73577f71e2d1",
      "name": "付箋11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3824,
        -352
      ],
      "parameters": {
        "width": 220,
        "height": 1888,
        "content": "## Email Archive in Folder\n\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "20b14870-bd11-4ae9-8699-fff1ea710536",
      "name": "付箋12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3600,
        -352
      ],
      "parameters": {
        "color": 5,
        "width": 190,
        "height": 1888,
        "content": "## Email Tagged as \"AI\"\n"
      },
      "typeVersion": 1
    },
    {
      "id": "e43f8075-f964-49be-94bd-6d48f6debe06",
      "name": "付箋13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4080,
        400
      ],
      "parameters": {
        "color": 5,
        "width": 230,
        "height": 292,
        "content": "## Body saved on CSV for future Memory\n"
      },
      "typeVersion": 1
    },
    {
      "id": "6b612cc8-886b-4bd6-9bf0-b4005910aca0",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1152,
        -432
      ],
      "parameters": {
        "color": 7,
        "width": 3188,
        "height": 2016,
        "content": "# Autonomous Email Assistant\n"
      },
      "typeVersion": 1
    },
    {
      "id": "f3746559-efab-44d5-b714-1cdec8ba6a9e",
      "name": "付箋14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2048,
        -1088
      ],
      "parameters": {
        "width": 1376,
        "height": 608,
        "content": "# 📧 AUTONOMOUS EMAIL ASSISTANT - AI-Powered Email Management System\n\n## 🎯 WORKFLOW OVERVIEW\nThis intelligent email automation system processes incoming emails through AI-powered classification, generates context-aware responses in your brand voice, and automatically organizes your inbox.\n\n## ⚡ KEY FEATURES\n- **Smart Classification**: 7-category email sorting (Commercial/Spam, Internal, Meeting, Newsletter, Notifications, Urgent, Other)\n- **AI Response Generation**: Context-aware replies with personalized brand voice\n- **Meeting Management**: Automatic calendar integration and scheduling\n- **Inbox Organization**: Auto-filing to categorized folders\n- **AI Tagging**: All processed emails tagged for tracking\n- **Data Logging**: Comprehensive audit trail in Excel\n\n## 🔄 WORKFLOW STAGES\n1️⃣ Email Trigger → 2️⃣ Information Extraction → 3️⃣ AI Classification → 4️⃣ Route Processing → 5️⃣ Response Generation → 6️⃣ Organization & Archiving → 7️⃣ Data Logging\n\n## ⚙️ REQUIREMENTS\n- Microsoft Outlook account (OAuth2)\n- Microsoft Excel 365 access\n- OpenRouter API (GPT-5-mini)\n- Slack workspace (for urgent notifications)"
      },
      "typeVersion": 1
    },
    {
      "id": "16748ccd-9881-4c78-a0dd-0bcf51a36079",
      "name": "付箋15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1152,
        1600
      ],
      "parameters": {
        "width": 432,
        "height": 976,
        "content": "## 📋 EMAIL CLASSIFICATION ENGINE\n\n### DUAL CLASSIFICATION SYSTEM\nTwo classifiers work in tandem for accuracy:\n\n**Classifier Pro (Chain LLM)**\n- Primary classifier using structured prompts\n- Fast, deterministic classification\n- Returns single category label\n\n**Virtual Postman (Text Classifier)**  \n- Secondary validation layer\n- AI-powered semantic understanding\n- 7 distinct categories with descriptions\n\n### CLASSIFICATION CATEGORIES\n\n🔴 **Commercial/Spam**\nSales, promotions, marketing, unwanted mass emails\n→ Action: Mark read, tag AI, archive to Commercial/Spam\n\n🔵 **Internal** (@marqgroup.com, @mibellegroup.com)\nCompany communications, team updates, projects\n→ Action: Draft reply if needed, archive to Internal\n→ Note: Urgent takes precedence over Internal\n\n📅 **Meeting**\nScheduling, invitations, confirmations, follow-ups\n→ Action: AI Agent with calendar tools, archive to Event\n\n📰 **Newsletter**\nSubscribed content, curated updates, regular digests\n→ Action: Mark read, tag AI, archive to Newsletter\n\n🔔 **Notifications**\nAutomated system alerts, order updates, social media\n→ Action: Mark read, tag AI, archive to Notifications\n\n🚨 **Urgent** (HIGH PRIORITY)\nTime-sensitive, requires immediate attention\n→ Action: Slack notification + draft reply, archive to Urgent\n→ Note: Overrides Internal classification\n\n📦 **Other**\nCatch-all for emails not fitting other categories\n→ Action: Classify if needs reply, archive to Other"
      },
      "typeVersion": 1
    },
    {
      "id": "7981a7b4-2711-4f53-b56e-8cd0d8bd19a5",
      "name": "付箋16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        688,
        -352
      ],
      "parameters": {
        "width": 432,
        "height": 432,
        "content": "## 🔍 INFORMATION EXTRACTOR\n\n**Purpose**: Extracts sender's first name for personalized responses\n\n**What it does:**\n- Parses email metadata (subject, sender, body, ID)\n- Extracts sender_name attribute\n- Feeds to downstream nodes for personalization\n\n**Why it's important:**\nAll AI-generated responses address the sender by their first name, creating a more personal and professional tone.\n\n**Example:**\nEmail from: John Doe <john.doe@example.com>\nExtracted: sender_name = \"John\"\nResponse: \"Hi John, ...\""
      },
      "typeVersion": 1
    },
    {
      "id": "003ab8b2-12bd-47aa-b53f-c3fe67e4f249",
      "name": "付箋17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1600,
        1600
      ],
      "parameters": {
        "width": 384,
        "height": 944,
        "content": "## 🤖 AI RESPONSE GENERATION - BRAND VOICE SYSTEM\n\n### THREE RESPONSE ENGINES\n\n**1. emailReplier** (General Emails)\n- Handles routine email responses\n- Information requests, clarifications, acknowledgments\n- Task delegation and general correspondence\n\n**2. urgentReplier** (Urgent Emails)\n- Prioritizes immediate acknowledgment\n- Provides specific timeframe commitments\n- Alerts via Slack for human oversight\n- Default: \"I'll get back to you within [timeframe]\"\n\n**3. AI Agent** (Meeting Requests)\n- Calendar integration via eventChecker & eventCreator tools\n- Checks availability automatically\n- Suggests 2 alternative times if unavailable\n- Creates events when confirming meetings\n- Maintains 15-minute buffer between meetings\n- Only schedules 8:30 AM - 5:00 PM\n\n### BRAND VOICE APPLICATION\nAll responses pass through Brand Voice nodes:\n- **Brand Voice** → Meeting responses\n- **Brand Voice1** → General email responses\n- **Brand Voice2** → Urgent email responses\n- **Brand Voice3** → Other category responses\n\n**Brand Voice Characteristics:**\n- Direct and concise (8-15 words/sentence)\n- Action-oriented language\n- Key phrases: \"Just checking...\", \"For your awareness\", \"Let me know...\"\n- Professional greetings & closings\n- IT terminology when relevant\n- Always signs: \"Regards, Didac\""
      },
      "typeVersion": 1
    },
    {
      "id": "5b518457-72bd-47e5-b1aa-ffab5e594d2f",
      "name": "付箋18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2000,
        1600
      ],
      "parameters": {
        "width": 384,
        "height": 832,
        "content": "## 📅 MEETING REQUEST HANDLER\n\n### AI AGENT WITH CALENDAR TOOLS\n\n**Tools Available:**\n1. **eventChecker** - Searches calendar for availability\n2. **eventCreator** - Creates new calendar events\n3. **Window Buffer Memory** - Maintains conversation context\n\n**Decision Flow:**\n\nIF time suggested AND available:\n  → Create event\n  → Send confirmation\n  \nIF time suggested BUT unavailable:\n  → Check calendar for alternatives\n  → Suggest 2 available times (same day if possible)\n  → Wait for confirmation\n\nIF no specific time:\n  → Check general availability\n  → Suggest 2 specific time slots\n  → Wait for confirmation\n\n**Safety Features:**\n- 15-minute buffer between meetings\n- Working hours only (8:30 AM - 5:00 PM)\n- Respects existing commitments\n\n### CLASSIFIER (Confirming vs Suggesting)\nAfter AI generates response:\n- **Confirming** → Event was created, send confirmation\n- **Suggesting** → Proposing times, send proposal"
      },
      "typeVersion": 1
    },
    {
      "id": "c0f41526-4b8b-4d70-abc7-4cd5d1dccce0",
      "name": "付箋19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2400,
        1600
      ],
      "parameters": {
        "width": 384,
        "height": 736,
        "content": "## 🚨 URGENT EMAIL PRIORITY HANDLING\n\n### DUAL NOTIFICATION SYSTEM\n\n**1. Slack Direct Message**\nImmediately notifies you via Slack with:\n- Sender name and email\n- Subject line  \n- Email body preview\n- Note about drafted response\n\n**2. AI-Generated Draft Response**\nCreates immediate acknowledgment:\n- Explicitly acknowledges urgency\n- Provides specific response timeframe\n- Commits to follow-up\n- Professional and action-oriented\n\n### HUMAN-IN-THE-LOOP\nAfter Slack notification, Microsoft Outlook tool waits for your feedback:\n\n**Response Options:**\n- **Approved**: Send draft as-is\n- **Declined**: Provide feedback for revisions\n\n**Check Feedback Classifier:**\n- Analyzes your response\n- **Approved** → Sends email, marks read, archives\n- **Declined** → Loops back for adjustments"
      },
      "typeVersion": 1
    },
    {
      "id": "ee8f5d5e-7f88-4b18-8aa4-86f441a803c3",
      "name": "付箋20",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2800,
        1600
      ],
      "parameters": {
        "width": 384,
        "height": 544,
        "content": "## 🔀 FLOW CLASSIFIER (Other Category)\n\n**Purpose**: Determines if \"Other\" emails need a response\n\n**Categories:**\n- **Requires reply** → Generate draft response\n- **Doesn't require reply** → Mark read and archive\n\n**Examples:**\n\nREQUIRES REPLY:\n- Questions needing answers\n- Requests for information\n- Action items\n- Unclear communications\n\nNO REPLY NEEDED:\n- FYI messages\n- Status updates\n- Automated confirmations\n- Complete threads"
      },
      "typeVersion": 1
    },
    {
      "id": "50ac227e-8516-4829-bbec-1ff25bb3de64",
      "name": "付箋21",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3200,
        1600
      ],
      "parameters": {
        "width": 384,
        "height": 688,
        "content": "## 📨 EMAIL OPERATIONS\n\n### MARKING AS READ\nAll processed emails automatically marked as read\n- Keeps inbox clean\n- Prevents duplicate processing\n- Indicates AI handling\n\n### AI TAGGING\nEvery email receives \"AI\" category tag\n- Easy identification of automated processing\n- Searchable in Outlook\n- Audit trail for review\n\n### FOLDER ARCHIVING\nEmails moved to category-specific folders:\n- **Commercial/Spam** → Commercial/Spam folder\n- **Newsletter** → Newsletter folder\n- **Notifications** → Notifications folder\n- **Event** → Event folder\n- **Internal** → Internal folder\n- **Urgent** → Urgent folder\n- **Other** → Other folder\n\n**Benefits:**\n- Organized inbox\n- Easy retrieval\n- Category-based searching"
      },
      "typeVersion": 1
    },
    {
      "id": "b84883a6-2964-46e6-bf5d-e2c23d4f8bbf",
      "name": "付箋22",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3600,
        1600
      ],
      "parameters": {
        "width": 384,
        "height": 688,
        "content": "## 📊 DATA LOGGING TO EXCEL\n\n### TRACKED INFORMATION\nEvery processed email logged with:\n- Email ID\n- Date/Time received\n- Subject line\n- Sender information\n- Email body preview\n- AI-generated reply\n\n### EXCEL STRUCTURE\nWorksheet: Sheet1\nColumns: Id | Date | Subject | Sender | Body | Reply\n\n**Purpose:**\n- Comprehensive audit trail\n- Quality assurance\n- Training data collection\n- Performance analytics\n- Compliance documentation\n\n**Location:**\nMicrosoft Excel 365: \"Email Automator\" workbook"
      },
      "typeVersion": 1
    },
    {
      "id": "1bc3461b-0fec-4009-87ed-b4aed5161455",
      "name": "付箋23",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4000,
        1600
      ],
      "parameters": {
        "width": 384,
        "height": 752,
        "content": "## ⚙️ TECHNICAL CONFIGURATION\n\n### REQUIRED CREDENTIALS\n1. **Microsoft Outlook OAuth2**\n   - Account: Personal Outlook\n   - Permissions: Read, Write, Send emails\n   - Calendar access\n\n2. **Microsoft Excel OAuth2**\n   - Account: Didac Personal Office\n   - Workbook: Email Automator\n\n3. **OpenRouter API**\n   - Model: openai/gpt-5-mini\n   - Used for: All AI classification and generation\n\n4. **Slack OAuth2**\n   - Workspace connection required\n   - DM channel: @didac (U060FTJ71C7)\n\n### BRAND VOICE PROMPT\nThe extensive brand voice prompt is embedded in the Brand Voice nodes.\nContains writing style analysis, dos/don'ts, and examples for consistent tone.\n\n### POLLING INTERVAL\nMicrosoft Outlook Trigger: Every minute\nCan be adjusted based on needs in trigger settings."
      },
      "typeVersion": 1
    },
    {
      "id": "5479f37b-799a-4761-bad5-53d0af982a14",
      "name": "付箋24",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4368,
        -432
      ],
      "parameters": {
        "width": 384,
        "height": 880,
        "content": "## 💡 TIPS & BEST PRACTICES\n\n### CUSTOMIZATION TIPS\n1. **Adjust Classification Categories**\n   - Edit Virtual Postman categories for your needs\n   - Update folder destinations in archive nodes\n\n2. **Modify Brand Voice**\n   - Update brand voice prompts to match your style\n   - Add/remove key phrases\n   - Adjust formality level\n\n3. **Change Response Behavior**\n   - Modify AI Agent system messages\n   - Update response templates\n   - Adjust meeting time preferences\n\n4. **Notification Preferences**\n   - Change Slack user/channel\n   - Add email notifications\n   - Adjust urgent criteria\n\n### MONITORING & MAINTENANCE\n- Review Excel log weekly\n- Check AI-tagged emails periodically\n- Monitor classification accuracy\n- Adjust categories as needed\n- Update brand voice based on feedback\n\n### SAFETY FEATURES\n- All urgent emails require human approval\n- Drafts created (not auto-sent) for most categories\n- Comprehensive logging for audit\n- Easy rollback via email history"
      },
      "typeVersion": 1
    },
    {
      "id": "27111480-ce32-41d0-818d-2e889d57232f",
      "name": "付箋25",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1152,
        -1296
      ],
      "parameters": {
        "color": 7,
        "width": 816,
        "height": 832,
        "content": "![My Image](https://i.postimg.cc/brRs1sms/Chat-GPT-Image-Sep-30-2025-02-29-08-PM.png)"
      },
      "typeVersion": 1
    },
    {
      "id": "d853508f-5a82-4066-aeb9-74d42ecc41fd",
      "name": "付箋26",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3488,
        -1296
      ],
      "parameters": {
        "color": 7,
        "width": 848,
        "height": 848,
        "content": "![My Image](https://i.postimg.cc/3RCvSmDS/Untitled-design-10.png)"
      },
      "typeVersion": 1
    },
    {
      "id": "9da48397-43c8-416f-a154-f4fab8526fea",
      "name": "付箋27",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2048,
        -1760
      ],
      "parameters": {
        "color": 7,
        "width": 1360,
        "height": 624,
        "content": "# AutoSolutions.ai - AI Consulting Services\n## Didac Fernandez Girona\n\n\n\n![My Image](https://i.postimg.cc/qvRLbFDL/Long-logo.png)"
      },
      "typeVersion": 1
    },
    {
      "id": "ad9ee671-0cf6-4afc-8892-149956d7d238",
      "name": "下書き修正",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        3136,
        1136
      ],
      "parameters": {
        "text": "=Subject:{{ $('Edit Fields6').item.json.subject }}\n\nSender:{{ $('Edit Fields6').item.json.from }}\n\nBody:{{ $('Edit Fields6').item.json.bodyPreview }}\n\nUser Feedback: {{ $('Microsoft Outlook1').item.json.data.text }}\n\nPrevious Draft: {{ $('Brand Voice6').item.json.text }}",
        "messages": {
          "messageValues": [
            {
              "message": "You are Didac's email revision assistant. The user provided feedback on the draft. Revise the email based ONLY on their feedback. Keep everything else unchanged. Maintain Didac's direct, concise, professional style. Use short sentences (8-15 words). Include phrases like 'Just checking', 'For your awareness', 'Let me know'. Output ONLY the revised email text. Always end with:\n\nRegards,\nDidac"
            }
          ]
        },
        "promptType": "define"
      },
      "typeVersion": 1.5
    },
    {
      "id": "651304c6-13bc-4ae5-8d23-45cbe5aea56e",
      "name": "Microsoft Outlook トリガー1",
      "type": "n8n-nodes-base.microsoftOutlookTrigger",
      "position": [
        1344,
        -256
      ],
      "parameters": {
        "filters": {},
        "options": {},
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        }
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "e9de8215-8dae-4182-90e2-9ce4ca465802",
      "name": "情報抽出1",
      "type": "@n8n/n8n-nodes-langchain.informationExtractor",
      "position": [
        1264,
        -48
      ],
      "parameters": {
        "text": "=Subject:{{ $(\"Microsoft Outlook Trigger1\").first().json.subject }}\n\nSender:{{ $(\"Microsoft Outlook Trigger1\").first().json.from }}\n\nBody:{{ $(\"Microsoft Outlook Trigger1\").first().json.bodyPreview }}\n\nEmail ID:{{ $(\"Microsoft Outlook Trigger1\").first().json.id }}",
        "options": {},
        "attributes": {
          "attributes": [
            {
              "name": "sender_name",
              "description": "First name of the sender"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "ac2f0aac-255d-4685-96bd-d98a1c4c39c0",
      "name": "Virtual Postman1",
      "type": "@n8n/n8n-nodes-langchain.textClassifier",
      "position": [
        1264,
        352
      ],
      "parameters": {
        "options": {},
        "inputText": "=Subject:{{ $(\"Microsoft Outlook Trigger1\").first().json.subject }}\n\nSender:{{ $(\"Microsoft Outlook Trigger1\").first().json.from }}\n\nBody:{{ $(\"Microsoft Outlook Trigger1\").first().json.bodyPreview }}\n\nEmail ID:{{ $(\"Microsoft Outlook Trigger1\").first().json.id }}",
        "categories": {
          "categories": [
            {
              "category": "Commercial/Spam",
              "description": "Emails related to sales, promotions, marketing, offers, or advertisements from businesses."
            },
            {
              "category": "Internal",
              "description": "Emails originating from within your own organization (@marqgroup.com and @mibellegroup.com). Urgent emails take precedence."
            },
            {
              "category": "Meeting",
              "description": "Emails specifically related to scheduling, confirming, reminding, or following up on meetings."
            },
            {
              "category": "Newsletter",
              "description": "Regularly scheduled emails from organizations or individuals that the recipient has subscribed to."
            },
            {
              "category": "Notifications",
              "description": "Automated emails triggered by specific events or actions."
            },
            {
              "category": "Urgent",
              "description": "Emails that require immediate attention or action. Takes precedence over internal classification."
            },
            {
              "category": "Other",
              "description": "A catch-all category for emails that do not fit neatly into any of the other defined categories."
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "19ba4a89-74a8-46cc-9e1d-0b600a98cacf",
      "name": "既読マーク3",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        3440,
        -256
      ],
      "webhookId": "7dab5454-f985-4265-a194-29ffc0bd4aab",
      "parameters": {
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Microsoft Outlook Trigger1').item.json.id }}"
        },
        "operation": "update",
        "updateFields": {
          "isRead": true
        }
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "08c622b9-6930-490c-a40c-dca30dd56a55",
      "name": "既読マーク7",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        3440,
        -96
      ],
      "webhookId": "7dab5454-f985-4265-a194-29ffc0bd4aab",
      "parameters": {
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Microsoft Outlook Trigger1').item.json.id }}"
        },
        "operation": "update",
        "updateFields": {
          "isRead": true
        }
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "25ce3155-fed6-4f1b-926d-d19ffed20924",
      "name": "既読マーク9",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        3440,
        64
      ],
      "webhookId": "7dab5454-f985-4265-a194-29ffc0bd4aab",
      "parameters": {
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Microsoft Outlook Trigger1').item.json.id }}"
        },
        "operation": "update",
        "updateFields": {
          "isRead": true
        }
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "dda64bdd-6c41-4779-b970-8ecb45d8d856",
      "name": "既読マーク10",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        3440,
        272
      ],
      "webhookId": "7dab5454-f985-4265-a194-29ffc0bd4aab",
      "parameters": {
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $(\"Microsoft Outlook Trigger1\").first().json.id }}"
        },
        "operation": "update",
        "updateFields": {
          "isRead": true
        }
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "a53d0df5-dcff-4199-b6e1-fb2027b02da9",
      "name": "既読マーク11",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        3440,
        880
      ],
      "webhookId": "7dab5454-f985-4265-a194-29ffc0bd4aab",
      "parameters": {
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $(\"Microsoft Outlook Trigger1\").first().json.id }}"
        },
        "operation": "update",
        "updateFields": {
          "isRead": true
        }
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "143742b9-9394-4670-97b7-afe0d2218a8e",
      "name": "既読マーク12",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        3440,
        672
      ],
      "webhookId": "7dab5454-f985-4265-a194-29ffc0bd4aab",
      "parameters": {
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $(\"Microsoft Outlook Trigger1\").first().json.id }}"
        },
        "operation": "update",
        "updateFields": {
          "isRead": true
        }
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "7225e29b-f0f1-436a-aeb2-2004aa0210b2",
      "name": "既読マーク13",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        2624,
        1376
      ],
      "webhookId": "7dab5454-f985-4265-a194-29ffc0bd4aab",
      "parameters": {
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $(\"Microsoft Outlook Trigger1\").first().json.id }}"
        },
        "operation": "update",
        "updateFields": {
          "isRead": true
        }
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "19faa021-8a2b-4715-b6c7-d3b6cc772dc4",
      "name": "AIタグ付け",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        3648,
        -256
      ],
      "webhookId": "63f53da5-a4ba-4e91-8c2d-c25996b00b7e",
      "parameters": {
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Microsoft Outlook Trigger1').item.json.id }}"
        },
        "operation": "update",
        "updateFields": {
          "categories": [
            "AI"
          ]
        }
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "da7eb62a-e13b-4a93-8e37-8d5fafddf7b0",
      "name": "AIタグ付け8",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        3648,
        -96
      ],
      "webhookId": "63f53da5-a4ba-4e91-8c2d-c25996b00b7e",
      "parameters": {
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Microsoft Outlook Trigger1').item.json.id }}"
        },
        "operation": "update",
        "updateFields": {
          "categories": [
            "AI"
          ]
        }
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "173995ab-d7a5-4054-8b37-1a1fac46ec7c",
      "name": "AIタグ付け9",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        3648,
        64
      ],
      "webhookId": "63f53da5-a4ba-4e91-8c2d-c25996b00b7e",
      "parameters": {
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Microsoft Outlook Trigger1').item.json.id }}"
        },
        "operation": "update",
        "updateFields": {
          "categories": [
            "AI"
          ]
        }
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "26e46c24-f812-4436-9c61-36a3bbc8e288",
      "name": "AIタグ付け10",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        3648,
        272
      ],
      "webhookId": "63f53da5-a4ba-4e91-8c2d-c25996b00b7e",
      "parameters": {
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Microsoft Outlook Trigger1').item.json.id }}"
        },
        "operation": "update",
        "updateFields": {
          "categories": [
            "AI"
          ]
        }
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "1661ee15-a89a-4f43-a75f-7544f9663414",
      "name": "AIタグ付け11",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        3648,
        672
      ],
      "webhookId": "63f53da5-a4ba-4e91-8c2d-c25996b00b7e",
      "parameters": {
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Microsoft Outlook Trigger1').item.json.id }}"
        },
        "operation": "update",
        "updateFields": {
          "categories": [
            "AI"
          ]
        }
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "78c041ec-a889-4f09-80ca-2978b6d9dc1f",
      "name": "AIタグ付け12",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        3648,
        880
      ],
      "webhookId": "63f53da5-a4ba-4e91-8c2d-c25996b00b7e",
      "parameters": {
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Microsoft Outlook Trigger1').item.json.id }}"
        },
        "operation": "update",
        "updateFields": {
          "categories": [
            "AI"
          ]
        }
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "a230a00e-c6a1-41c9-ab78-d7751dc10621",
      "name": "AIタグ付け13",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        3648,
        1184
      ],
      "webhookId": "63f53da5-a4ba-4e91-8c2d-c25996b00b7e",
      "parameters": {
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Microsoft Outlook Trigger1').item.json.id }}"
        },
        "operation": "update",
        "updateFields": {
          "categories": [
            "AI"
          ]
        }
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "1e026f4a-8c9c-4b44-b54b-a77ac7ec607a",
      "name": "広告スパムアーカイブ1",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        3888,
        -256
      ],
      "webhookId": "2f1553f5-2f9d-4b51-a9a7-017488afe539",
      "parameters": {
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "AAMkADIzNDc5ZjA0LTIwYWYtNDA4Mi1hZTBjLTU4Y2FhZmU1ZWYyMAAuAAAAAADJ9uk8AwAXR7HARQNFg0p1AQA1kiTrv1ULT7yCxtznxA9dAABl8Hj-AAA=",
          "cachedResultUrl": "https://outlook.office365.com/mail/AAMkADIzNDc5ZjA0LTIwYWYtNDA4Mi1hZTBjLTU4Y2FhZmU1ZWYyMAAuAAAAAADJ9uk8AwAXR7HARQNFg0p1AQA1kiTrv1ULT7yCxtznxA9dAABl8Hj%2FAAA%3D",
          "cachedResultName": "Commercial/Spam"
        },
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Microsoft Outlook Trigger1').item.json.id }}"
        },
        "operation": "move"
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "3de240eb-19fe-4da5-8a17-92df12e5f438",
      "name": "ニュースレターアーカイブ1",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        3888,
        -96
      ],
      "webhookId": "1b886f81-e3f9-4d25-b5f3-f8e4b3839aea",
      "parameters": {
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "AAMkADIzNDc5ZjA0LTIwYWYtNDA4Mi1hZTBjLTU4Y2FhZmU1ZWYyMAAuAAAAAADJ9uk8AwAXR7HARQNFg0p1AQA1kiTrv1ULT7yCxtznxA9dAABl8HkCAAA=",
          "cachedResultUrl": "https://outlook.office365.com/mail/AAMkADIzNDc5ZjA0LTIwYWYtNDA4Mi1hZTBjLTU4Y2FhZmU1ZWYyMAAuAAAAAADJ9uk8AwAXR7HARQNFg0p1AQA1kiTrv1ULT7yCxtznxA9dAABl8HkCAAA%3D",
          "cachedResultName": "Newsletter"
        },
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Microsoft Outlook Trigger1').item.json.id }}"
        },
        "operation": "move"
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "131507af-9834-4d9d-99a1-483dd2abc7a1",
      "name": "通知アーカイブ1",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        3888,
        64
      ],
      "webhookId": "1b886f81-e3f9-4d25-b5f3-f8e4b3839aea",
      "parameters": {
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "AAMkADIzNDc5ZjA0LTIwYWYtNDA4Mi1hZTBjLTU4Y2FhZmU1ZWYyMAAuAAAAAADJ9uk8AwAXR7HARQNFg0p1AQA1kiTrv1ULT7yCxtznxA9dAABl8Hj9AAA=",
          "cachedResultUrl": "https://outlook.office365.com/mail/AAMkADIzNDc5ZjA0LTIwYWYtNDA4Mi1hZTBjLTU4Y2FhZmU1ZWYyMAAuAAAAAADJ9uk8AwAXR7HARQNFg0p1AQA1kiTrv1ULT7yCxtznxA9dAABl8Hj9AAA%3D",
          "cachedResultName": "Notifications"
        },
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Microsoft Outlook Trigger1').item.json.id }}"
        },
        "operation": "move"
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "39089d40-6500-4b42-a14a-4557e2e96ebc",
      "name": "イベントアーカイブ1",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        3888,
        272
      ],
      "webhookId": "2f1553f5-2f9d-4b51-a9a7-017488afe539",
      "parameters": {
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "AAMkADIzNDc5ZjA0LTIwYWYtNDA4Mi1hZTBjLTU4Y2FhZmU1ZWYyMAAuAAAAAADJ9uk8AwAXR7HARQNFg0p1AQA1kiTrv1ULT7yCxtznxA9dAABEWx9nAAA=",
          "cachedResultUrl": "https://outlook.office365.com/mail/AAMkADIzNDc5ZjA0LTIwYWYtNDA4Mi1hZTBjLTU4Y2FhZmU1ZWYyMAAuAAAAAADJ9uk8AwAXR7HARQNFg0p1AQA1kiTrv1ULT7yCxtznxA9dAABEWx9nAAA%3D",
          "cachedResultName": "Event"
        },
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Microsoft Outlook Trigger1').item.json.id }}"
        },
        "operation": "move"
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "96d2927c-b9ea-49cd-af3b-8625781682c1",
      "name": "社内メールアーカイブ1",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        3888,
        672
      ],
      "webhookId": "2f1553f5-2f9d-4b51-a9a7-017488afe539",
      "parameters": {
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "AAMkADIzNDc5ZjA0LTIwYWYtNDA4Mi1hZTBjLTU4Y2FhZmU1ZWYyMAAuAAAAAADJ9uk8AwAXR7HARQNFg0p1AQA1kiTrv1ULT7yCxtznxA9dAABl8Hj_AAA=",
          "cachedResultUrl": "https://outlook.office365.com/mail/AAMkADIzNDc5ZjA0LTIwYWYtNDA4Mi1hZTBjLTU4Y2FhZmU1ZWYyMAAuAAAAAADJ9uk8AwAXR7HARQNFg0p1AQA1kiTrv1ULT7yCxtznxA9dAABl8Hj_AAA%3D",
          "cachedResultName": "Internal"
        },
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Microsoft Outlook Trigger1').item.json.id }}"
        },
        "operation": "move"
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "23a5733b-13cc-427e-ad80-4bd00b1c5122",
      "name": "緊急メールアーカイブ1",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        3888,
        880
      ],
      "webhookId": "2f1553f5-2f9d-4b51-a9a7-017488afe539",
      "parameters": {
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "AAMkADIzNDc5ZjA0LTIwYWYtNDA4Mi1hZTBjLTU4Y2FhZmU1ZWYyMAAuAAAAAADJ9uk8AwAXR7HARQNFg0p1AQA1kiTrv1ULT7yCxtznxA9dAABl8HkDAAA=",
          "cachedResultUrl": "https://outlook.office365.com/mail/AAMkADIzNDc5ZjA0LTIwYWYtNDA4Mi1hZTBjLTU4Y2FhZmU1ZWYyMAAuAAAAAADJ9uk8AwAXR7HARQNFg0p1AQA1kiTrv1ULT7yCxtznxA9dAABl8HkDAAA%3D",
          "cachedResultName": "Urgent"
        },
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Microsoft Outlook Trigger1').item.json.id }}"
        },
        "operation": "move"
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "b10cbaee-3c8b-4058-9c1a-12a5b021746e",
      "name": "通知アーカイブ7",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        3888,
        1184
      ],
      "webhookId": "2f1553f5-2f9d-4b51-a9a7-017488afe539",
      "parameters": {
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "AAMkADIzNDc5ZjA0LTIwYWYtNDA4Mi1hZTBjLTU4Y2FhZmU1ZWYyMAAuAAAAAADJ9uk8AwAXR7HARQNFg0p1AQA1kiTrv1ULT7yCxtznxA9dAABl8HkAAAA=",
          "cachedResultUrl": "https://outlook.office365.com/mail/AAMkADIzNDc5ZjA0LTIwYWYtNDA4Mi1hZTBjLTU4Y2FhZmU1ZWYyMAAuAAAAAADJ9uk8AwAXR7HARQNFg0p1AQA1kiTrv1ULT7yCxtznxA9dAABl8HkAAAA%3D",
          "cachedResultName": "Other"
        },
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Microsoft Outlook Trigger1').item.json.id }}"
        },
        "operation": "move"
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "1dff237e-a27b-4945-b221-32884a3141fa",
      "name": "Microsoft Excel 3651",
      "type": "n8n-nodes-base.microsoftExcel",
      "position": [
        4144,
        512
      ],
      "parameters": {
        "options": {},
        "fieldsUi": {
          "values": [
            {
              "column": "Id",
              "fieldValue": "={{ $('Microsoft Outlook Trigger1').item.json.id }}"
            },
            {
              "column": "Date",
              "fieldValue": "={{ $('Microsoft Outlook Trigger1').item.json.receivedDateTime }}"
            },
            {
              "column": "Subject",
              "fieldValue": "={{ $('Edit Fields6').item.json.subject }}"
            },
            {
              "column": "Sender",
              "fieldValue": "={{ $('Edit Fields6').item.json.sender_name }}"
            },
            {
              "column": "Body",
              "fieldValue": "={{ $('Edit Fields6').item.json.bodyPreview }}"
            },
            {
              "column": "Reply",
              "fieldValue": "={{ $('Brand Voice6').item.json.text }}"
            }
          ]
        },
        "resource": "worksheet",
        "workbook": {
          "__rl": true,
          "mode": "list",
          "value": "01GHNPNYAW5PVLWCXLVJEYBVJP3E67MFDL",
          "cachedResultUrl": "https://marq365-my.sharepoint.com/personal/didac_marqgroup_com/_layouts/15/Doc.aspx?sourcedoc=%7BBBEAEB16-EB0A-49AA-80D5-2FD93DF6146B%7D&file=Email%20Automator.xlsx&action=default&mobileredirect=true&DefaultItemOpen=1",
          "cachedResultName": "Email Automator"
        },
        "operation": "append",
        "worksheet": {
          "__rl": true,
          "mode": "list",
          "value": "{00000000-0001-0000-0000-000000000000}",
          "cachedResultUrl": "https://marq365-my.sharepoint.com/personal/didac_marqgroup_com/_layouts/15/Doc.aspx?sourcedoc=%7BBBEAEB16-EB0A-49AA-80D5-2FD93DF6146B%7D&file=Email%20Automator.xlsx&action=default&mobileredirect=true&DefaultItemOpen=1&activeCell=Sheet1!A1",
          "cachedResultName": "Sheet1"
        }
      },
      "credentials": {
        "microsoftExcelOAuth2Api": {
          "id": "S5Mz0gpJ5F1RRIug",
          "name": "Didac Personal Office"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "bbdd1973-6239-47bd-a078-f95662bba6b3",
      "name": "フィールド編集4",
      "type": "n8n-nodes-base.set",
      "position": [
        1696,
        272
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "89f17f31-62d3-4012-967c-ca4340c57d5f",
              "name": "id",
              "type": "string",
              "value": "={{ $(\"Microsoft Outlook Trigger1\").first().json.id }}"
            },
            {
              "id": "15e73bb7-c6b0-4050-b39e-6f465273e2f7",
              "name": "subject",
              "type": "string",
              "value": "={{ $(\"Microsoft Outlook Trigger1\").first().json.subject }}"
            },
            {
              "id": "fa5873e7-d9fd-4076-b214-127eec66d4c6",
              "name": "bodyPreview",
              "type": "string",
              "value": "={{ $(\"Microsoft Outlook Trigger1\").first().json.bodyPreview }}"
            },
            {
              "id": "68b0b272-50bc-4008-9201-b9830c1c2c2b",
              "name": "from",
              "type": "string",
              "value": "={{ $(\"Microsoft Outlook Trigger1\").first().json.from }}\n"
            },
            {
              "id": "38732e6a-e1ba-4b46-a624-956bacd089ca",
              "name": "sender_name",
              "type": "string",
              "value": "={{ $(\"Information Extractor1\").first().json.output.sender_name }}"
            }
          ]
        }
      },
      "typeVersion": 3.4,
      "alwaysOutputData": true
    },
    {
      "id": "a29122f6-f6b0-4bbd-af30-4f942d9a0fea",
      "name": "フィールド編集5",
      "type": "n8n-nodes-base.set",
      "position": [
        1696,
        672
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "89f17f31-62d3-4012-967c-ca4340c57d5f",
              "name": "id",
              "type": "string",
              "value": "={{ $(\"Microsoft Outlook Trigger1\").first().json.id }}"
            },
            {
              "id": "15e73bb7-c6b0-4050-b39e-6f465273e2f7",
              "name": "subject",
              "type": "string",
              "value": "={{ $(\"Microsoft Outlook Trigger1\").first().json.subject }}"
            },
            {
              "id": "fa5873e7-d9fd-4076-b214-127eec66d4c6",
              "name": "bodyPreview",
              "type": "string",
              "value": "={{ $(\"Microsoft Outlook Trigger1\").first().json.bodyPreview }}"
            },
            {
              "id": "68b0b272-50bc-4008-9201-b9830c1c2c2b",
              "name": "from",
              "type": "string",
              "value": "={{ $(\"Microsoft Outlook Trigger1\").first().json.from }}\n"
            },
            {
              "id": "38732e6a-e1ba-4b46-a624-956bacd089ca",
              "name": "sender_name",
              "type": "string",
              "value": "={{ $(\"Information Extractor1\").first().json.output.sender_name }}"
            }
          ]
        }
      },
      "typeVersion": 3.4,
      "alwaysOutputData": true
    },
    {
      "id": "dc2697dc-deca-47c4-be02-995e9d22a3e6",
      "name": "フィールド編集6",
      "type": "n8n-nodes-base.set",
      "position": [
        1696,
        880
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "89f17f31-62d3-4012-967c-ca4340c57d5f",
              "name": "id",
              "type": "string",
              "value": "={{ $(\"Microsoft Outlook Trigger1\").first().json.id }}"
            },
            {
              "id": "15e73bb7-c6b0-4050-b39e-6f465273e2f7",
              "name": "subject",
              "type": "string",
              "value": "={{ $(\"Microsoft Outlook Trigger1\").first().json.subject }}"
            },
            {
              "id": "fa5873e7-d9fd-4076-b214-127eec66d4c6",
              "name": "bodyPreview",
              "type": "string",
              "value": "={{ $(\"Microsoft Outlook Trigger1\").first().json.bodyPreview }}"
            },
            {
              "id": "68b0b272-50bc-4008-9201-b9830c1c2c2b",
              "name": "from",
              "type": "string",
              "value": "={{ $(\"Microsoft Outlook Trigger1\").first().json.from }}\n"
            },
            {
              "id": "38732e6a-e1ba-4b46-a624-956bacd089ca",
              "name": "sender_name",
              "type": "string",
              "value": "={{ $(\"Information Extractor1\").first().json.output.sender_name }}"
            }
          ]
        }
      },
      "typeVersion": 3.4,
      "alwaysOutputData": true
    },
    {
      "id": "d185b4b2-8ac4-441a-a294-280d565e122c",
      "name": "フィールド編集7",
      "type": "n8n-nodes-base.set",
      "position": [
        1696,
        1184
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "89f17f31-62d3-4012-967c-ca4340c57d5f",
              "name": "id",
              "type": "string",
              "value": "={{ $(\"Microsoft Outlook Trigger1\").first().json.id }}"
            },
            {
              "id": "15e73bb7-c6b0-4050-b39e-6f465273e2f7",
              "name": "subject",
              "type": "string",
              "value": "={{ $(\"Microsoft Outlook Trigger1\").first().json.subject }}"
            },
            {
              "id": "fa5873e7-d9fd-4076-b214-127eec66d4c6",
              "name": "bodyPreview",
              "type": "string",
              "value": "={{ $(\"Microsoft Outlook Trigger1\").first().json.bodyPreview }}"
            },
            {
              "id": "68b0b272-50bc-4008-9201-b9830c1c2c2b",
              "name": "from",
              "type": "string",
              "value": "={{ $(\"Microsoft Outlook Trigger1\").first().json.from }}\n"
            },
            {
              "id": "38732e6a-e1ba-4b46-a624-956bacd089ca",
              "name": "sender_name",
              "type": "string",
              "value": "={{ $(\"Information Extractor1\").first().json.output.sender_name }}"
            }
          ]
        }
      },
      "typeVersion": 3.4,
      "alwaysOutputData": true
    },
    {
      "id": "42af394f-6d7f-4865-9b26-ed5ce26c70f5",
      "name": "イベントチェッカー1",
      "type": "n8n-nodes-base.microsoftOutlookTool",
      "position": [
        1888,
        512
      ],
      "webhookId": "87f0ff79-d613-47ee-8e89-48af185ba052",
      "parameters": {
        "filters": {},
        "resource": "event",
        "calendarId": {
          "__rl": true,
          "mode": "list",
          "value": "AQMkADIzNDc5ZjA0LTIwYWYtNDA4Mi1hZTBjLTU4Y2FhAGZlNWVmMjAARgAAA8n26TwDABdHscBFA0WDSnUHADWSJOu-VQtPvILG3OfED10AAAIBBgAAADWSJOu-VQtPvILG3OfED10AAAJ2rwAAAA==",
          "cachedResultName": "Calendar"
        },
        "fromAllCalendars": false
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "151946b6-7078-47e6-bbf6-afea6c8e6941",
      "name": "イベント作成1",
      "type": "n8n-nodes-base.microsoftOutlookTool",
      "position": [
        2000,
        512
      ],
      "webhookId": "87f0ff79-d613-47ee-8e89-48af185ba052",
      "parameters": {
        "subject": "=Didac and {{ $fromAI('sendersName') }} meeting.",
        "resource": "event",
        "operation": "create",
        "calendarId": {
          "__rl": true,
          "mode": "list",
          "value": "AQMkADIzNDc5ZjA0LTIwYWYtNDA4Mi1hZTBjLTU4Y2FhAGZlNWVmMjAARgAAA8n26TwDABdHscBFA0WDSnUHADWSJOu-VQtPvILG3OfED10AAAIBBgAAADWSJOu-VQtPvILG3OfED10AAAJ2rwAAAA==",
          "cachedResultName": "Calendar"
        },
        "endDateTime": "={{ $fromAI('meeting_finish') }} ",
        "startDateTime": "={{ $fromAI('meeting_start') }} ",
        "additionalFields": {}
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "3c747bbb-5fcd-47cc-9b72-43a2013384b5",
      "name": "ウィンドウバッファメモリ1",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        1696,
        512
      ],
      "parameters": {
        "sessionKey": "={{ $(\"Microsoft Outlook Trigger1\").first().json.id }}",
        "sessionIdType": "customKey"
      },
      "typeVersion": 1.3
    },
    {
      "id": "a2860e41-a0b4-481a-a41d-69964c30c4a4",
      "name": "AIエージェント1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1872,
        272
      ],
      "parameters": {
        "text": "=Subject:{{ $json.subject }}\n\nSender:{{ $json.from }}\n\nBody:{{ $json.bodyPreview }}\n\nEmail ID:{{ $json.id }}",
        "options": {
          "systemMessage": "=You are an email scheduling assistant. Based on the received email, check my availability and propose an appropriate response. \nAim to get a specific time, rather than just a day. When checking my availability, make sure that there's enough time in between meetings.\nIf I'm not available, ALWAYS propose a new time based on my availability. When proposing a new time, always leave at least 15 minutes buffer from previous meeting. Always suggest two available options. Never booked appoinments outside working hours, only suggest times between 8:30 am and 5:00 pm.\n\n- Use the tool \"eventChecker\" to check available times.\n- Use the tool \"eventCreator\" to create the event.\n\n\n###\nExample Email:\n\n- Sender\nHi Didac,\n\nAre you free for a quick catch up tomorrow at 3pm?\n\n- \"eventChecker\" tool\n\nOption 1: *\"eventChecker\" tool is used to check availability. If not free, will suggest 2 available times on the same day if possible*\nOption 2: *\"eventChecker\" tool is used to check availability. Confirmed time is free. *\"eventCreator\"* tool is called and the meeting is scheduled at the suggested time.\n\n- Response to option 1\nHi Sender,\n\nUnfortunately I'm not available at this time, but Im available at 2pm and 4pm that day. Let me know if these work for you.\n\nRegards,\nDidac\n\n- Response to option 2\nHi Sender,\n\nThat works for me. I have scheduled a meeting for tomorrow at the suggested time.\n\nRegards,\nDidac\n\n\n####\n\nToday date and time is: {{ $now.toISO() }}."
        },
        "promptType": "define"
      },
      "typeVersion": 1.7,
      "alwaysOutputData": false
    },
    {
      "id": "a76a2ecf-5ce6-4c15-9c35-98d5cde4960d",
      "name": "ブランドボイス4",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        2192,
        272
      ],
      "parameters": {
        "text": "=Please re write the below email using my own words and style. Only output the email content and nothing else like comments:\n\n{{ $json.output }}\n\nAlways write the following at the bottom of the emails:\n\nRegards,\nDidac",
        "messages": {
          "messageValues": [
            {
              "message": "You are Didac's email writer. Write in his direct, concise, professional style. Use short sentences (8-15 words). Include phrases like 'Just checking', 'For your awareness', 'Let me know'. Be action-oriented and polite but firm."
            }
          ]
        },
        "promptType": "define"
      },
      "typeVersion": 1.5
    },
    {
      "id": "4ab0b941-6aa0-43c5-8761-60a276a29d3c",
      "name": "分類器2",
      "type": "@n8n/n8n-nodes-langchain.textClassifier",
      "position": [
        2544,
        272
      ],
      "parameters": {
        "options": {},
        "inputText": "={{ $json.message.content }}",
        "categories": {
          "categories": [
            {
              "category": "Confirming",
              "description": "The email was confirming our previously suggested times."
            },
            {
              "category": "Suggesting",
              "description": "The email was asking for availability and we are providing available times."
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "b54dbe73-e0e4-444e-b595-95de3a357586",
      "name": "イベント提案1",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        2928,
        432
      ],
      "webhookId": "7dab5454-f985-4265-a194-29ffc0bd4aab",
      "parameters": {
        "message": "={{ $json.message.content }}",
        "options": {},
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $(\"Edit Fields4\").item.json.id }}"
        },
        "operation": "reply"
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "8890d4fe-360c-4743-b8a3-02bbef649c65",
      "name": "イベント確認1",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        2928,
        272
      ],
      "webhookId": "2f1553f5-2f9d-4b51-a9a7-017488afe539",
      "parameters": {
        "folderId": {
          "__rl": true,
          "mode": "id",
          "value": "=AAMkADIzNDc5ZjA0LTIwYWYtNDA4Mi1hZTBjLTU4Y2FhZmU1ZWYyMAAuAAAAAADJ9uk8AwAXR7HARQNFg0p1AQA1kiTrv1ULT7yCxtznxA9dAABEWx9nAAA"
        },
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Microsoft Outlook Trigger1').item.json.id }}"
        },
        "operation": "move"
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "d0bdb6c3-2a23-4735-afa1-8206b5bc03cd",
      "name": "メール返信1",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1872,
        672
      ],
      "parameters": {
        "text": "=Subject:{{ $json.subject }}\n\nSender:{{ $json.from }}\n\nBody:{{ $json.bodyPreview }}\n\nEmail ID:{{ $json.id }}",
        "messages": {
          "messageValues": [
            {
              "message": "You are Didac's email response assistant. Generate professional, concise replies. Prioritize: 1) Information requests 2) Clarification requests 3) Task delegation 4) General acknowledgement. Be direct, action-oriented, polite but firm. Use 'Just checking', 'For your awareness', 'Let me know' where appropriate. Output ONLY the email reply text."
            }
          ]
        },
        "promptType": "define"
      },
      "typeVersion": 1.5
    },
    {
      "id": "ac3f2f2b-11a3-4035-9445-4af386da3b86",
      "name": "ブランドボイス5",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        2192,
        672
      ],
      "parameters": {
        "text": "=Please re write the below email using my own words and style. Only output the email content and nothing else like comments:\n\n{{ $json.text }}\n\nAlways write the following at the bottom of the emails:\n\nRegards,\nDidac",
        "messages": {
          "messageValues": [
            {
              "message": "You are Didac's email writer. Write in his direct, concise, professional style. Use short sentences (8-15 words). Include phrases like 'Just checking', 'For your awareness', 'Let me know'. Be action-oriented and polite but firm."
            }
          ]
        },
        "promptType": "define"
      },
      "typeVersion": 1.5
    },
    {
      "id": "ceda1acb-e101-4f25-859f-f322eca23ba0",
      "name": "返信下書き1",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        2928,
        672
      ],
      "webhookId": "690c5690-6c22-42db-8ebd-a487e8fde445",
      "parameters": {
        "message": "={{ $json.text }}",
        "options": {
          "saveAsDraft": true
        },
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Microsoft Outlook Trigger1').item.json.id }}"
        },
        "operation": "reply"
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "5de978f1-48c5-497a-8d82-bc0653b41e5e",
      "name": "緊急返信1",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1872,
        880
      ],
      "parameters": {
        "text": "=Subject:{{ $json.subject }}\n\nSender:{{ $json.from }}\n\nBody:{{ $json.bodyPreview }}\n\nEmail ID:{{ $json.id }}",
        "messages": {
          "messageValues": [
            {
              "message": "You handle URGENT emails. Generate professional, prompt replies acknowledging urgency. 1) Immediate acknowledgement 2) Provide info if available, otherwise state timeframe 3) For unclear requests, ask for clarification quickly 4) Commit to specific timeframe. Be direct, action-oriented. Prioritize phrases showing urgency: 'I'll look into this immediately', 'I'm on it', 'I'll get back to you ASAP'. Output ONLY the email reply text. No placeholders."
            }
          ]
        },
        "promptType": "define"
      },
      "typeVersion": 1.5
    },
    {
      "id": "aa8f604f-631e-4b9a-a2a7-d2b795caeb34",
      "name": "ブランドボイス6",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        2192,
        880
      ],
      "parameters": {
        "text": "=Please re write the below email using my own words and style. Only output the email content and nothing else like comments:\n\n{{ $json.text }}\n\nAlways write the following at the bottom of the emails:\n\nRegards,\nDidac",
        "messages": {
          "messageValues": [
            {
              "message": "You are Didac's email writer. Write in his direct, concise, professional style. Use short sentences (8-15 words). Include phrases like 'Just checking', 'For your awareness', 'Let me know'. Be action-oriented and polite but firm."
            }
          ]
        },
        "promptType": "define"
      },
      "typeVersion": 1.5
    },
    {
      "id": "1b9178d6-4997-4d69-b2e2-41384ba0776d",
      "name": "Slack1",
      "type": "n8n-nodes-base.slack",
      "position": [
        2624,
        736
      ],
      "webhookId": "a6e95d1d-a1d6-4f91-80d8-dac2424d22d1",
      "parameters": {
        "text": "=Hey! Heads up, it seems you got an urgent message in your inbox. Check it out!\n\nSender:{{ $('Microsoft Outlook Trigger1').item.json.from }} ({{ $('Information Extractor1').item.json.output.sender_name }})\n\nSubject:{{ $('Microsoft Outlook Trigger1').item.json.subject }}\n\nBody:{{ $('Microsoft Outlook Trigger1').item.json.bodyPreview }}\n\n(I drafted you a response, check it out and click send if everythiong looks good)",
        "user": {
          "__rl": true,
          "mode": "list",
          "value": "U060FTJ71C7",
          "cachedResultName": "didac"
        },
        "select": "user",
        "otherOptions": {},
        "authentication": "oAuth2"
      },
      "credentials": {
        "slackOAuth2Api": {
          "id": "iP9cBmv9V16ENlfQ",
          "name": "Slack account 2"
        }
      },
      "typeVersion": 2.3
    },
    {
      "id": "1fd30592-e4ea-4ad8-a777-b8951055f15d",
      "name": "Microsoft Outlook1",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        2624,
        880
      ],
      "webhookId": "30039e44-d023-4bdf-a5cf-522442a30ad0",
      "parameters": {
        "message": "={{ $json.text }}",
        "options": {},
        "subject": "=RE: {{ $('Microsoft Outlook Trigger1').item.json.subject }}",
        "operation": "sendAndWait",
        "responseType": "freeText",
        "toRecipients": "={{ $('Microsoft Outlook Trigger1').item.json.from }}"
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "6b627129-426b-4d14-9a07-e176c4729753",
      "name": "フィードバック確認1",
      "type": "@n8n/n8n-nodes-langchain.textClassifier",
      "position": [
        3136,
        880
      ],
      "parameters": {
        "options": {},
        "inputText": "={{ $json.data.text }}",
        "categories": {
          "categories": [
            {
              "category": "Approved",
              "description": "The email has been reviewed and accepted as-is. Example: 'Looks good', 'Go ahead and send it', 'Approved', 'No changes needed'."
            },
            {
              "category": "Declined",
              "description": "The email needs modifications. Example: 'Can we tweak this part?', 'Needs some changes', 'I'd like to reword this', 'Don't mention that we can't do that'."
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "b18c7f73-4cf3-4dea-8685-0794276edc60",
      "name": "分類器3",
      "type": "@n8n/n8n-nodes-langchain.textClassifier",
      "position": [
        1872,
        1184
      ],
      "parameters": {
        "options": {},
        "inputText": "={{ $json.message.content }}",
        "categories": {
          "categories": [
            {
              "category": "Requires reply",
              "description": "The email requires a response or action."
            },
            {
              "category": "Doesn't require reply",
              "description": "The email doesn't need a response."
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "ed2428aa-8d0d-4340-9196-73280cc5cf85",
      "name": "ブランドボイス7",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        2192,
        1184
      ],
      "parameters": {
        "text": "=Please re write the below email using my own words and style. Only output the email content and nothing else like comments:\n\n{{ $json.output }}\n\nAlways write the following at the bottom of the emails:\n\nRegards,\nDidac",
        "messages": {
          "messageValues": [
            {
              "message": "You are Didac's email writer. Write in his direct, concise, professional style. Use short sentences (8-15 words). Include phrases like 'Just checking', 'For your awareness', 'Let me know'. Be action-oriented and polite but firm."
            }
          ]
        },
        "promptType": "define"
      },
      "typeVersion": 1.5
    },
    {
      "id": "f5f56abd-3ff6-4a53-bb2b-d52663604476",
      "name": "返信下書き3",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        2624,
        1184
      ],
      "webhookId": "690c5690-6c22-42db-8ebd-a487e8fde445",
      "parameters": {
        "message": "={{ $json.text }}",
        "options": {
          "saveAsDraft": true
        },
        "messageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $(\"Edit Fields5\").item.json.id }}"
        },
        "operation": "reply"
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "YMXk0nP7Qq7rC8Rc",
          "name": "Personal Outlook"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "99a1acbe-71e4-4f3d-8b13-b24c63c79a2b",
      "name": "OpenRouter Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        1488,
        1104
      ],
      "parameters": {
        "model": "openai/gpt-5-mini",
        "options": {}
      },
      "credentials": {
        "openRouterApi": {
          "id": "mVWPCJOf8Y1QFHiw",
          "name": "OpenRouter n8n general"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "d3f3ca72-4355-4269-a3e1-cf7d63276758",
      "name": "OpenRouter Chat Model3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        2944,
        1024
      ],
      "parameters": {
        "model": "openai/gpt-5-mini",
        "options": {}
      },
      "credentials": {
        "openRouterApi": {
          "id": "mVWPCJOf8Y1QFHiw",
          "name": "OpenRouter n8n general"
        }
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "a2860e41-a0b4-481a-a41d-69964c30c4a4": {
      "main": [
        [
          {
            "node": "a76a2ecf-5ce6-4c15-9c35-98d5cde4960d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "19faa021-8a2b-4715-b6c7-d3b6cc772dc4": {
      "main": [
        [
          {
            "node": "1e026f4a-8c9c-4b44-b54b-a77ac7ec607a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "da7eb62a-e13b-4a93-8e37-8d5fafddf7b0": {
      "main": [
        [
          {
            "node": "3de240eb-19fe-4da5-8a17-92df12e5f438",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "173995ab-d7a5-4054-8b37-1a1fac46ec7c": {
      "main": [
        [
          {
            "node": "131507af-9834-4d9d-99a1-483dd2abc7a1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4ab0b941-6aa0-43c5-8761-60a276a29d3c": {
      "main": [
        [
          {
            "node": "8890d4fe-360c-4743-b8a3-02bbef649c65",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "b54dbe73-e0e4-444e-b595-95de3a357586",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b18c7f73-4cf3-4dea-8685-0794276edc60": {
      "main": [
        [
          {
            "node": "ed2428aa-8d0d-4340-9196-73280cc5cf85",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "7225e29b-f0f1-436a-aeb2-2004aa0210b2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "26e46c24-f812-4436-9c61-36a3bbc8e288": {
      "main": [
        [
          {
            "node": "39089d40-6500-4b42-a14a-4557e2e96ebc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1661ee15-a89a-4f43-a75f-7544f9663414": {
      "main": [
        [
          {
            "node": "96d2927c-b9ea-49cd-af3b-8625781682c1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "78c041ec-a889-4f09-80ca-2978b6d9dc1f": {
      "main": [
        [
          {
            "node": "23a5733b-13cc-427e-ad80-4bd00b1c5122",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a230a00e-c6a1-41c9-ab78-d7751dc10621": {
      "main": [
        [
          {
            "node": "b10cbaee-3c8b-4058-9c1a-12a5b021746e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ceda1acb-e101-4f25-859f-f322eca23ba0": {
      "main": [
        [
          {
            "node": "143742b9-9394-4670-97b7-afe0d2218a8e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f5f56abd-3ff6-4a53-bb2b-d52663604476": {
      "main": [
        [
          {
            "node": "7225e29b-f0f1-436a-aeb2-2004aa0210b2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a76a2ecf-5ce6-4c15-9c35-98d5cde4960d": {
      "main": [
        [
          {
            "node": "4ab0b941-6aa0-43c5-8761-60a276a29d3c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ac3f2f2b-11a3-4035-9445-4af386da3b86": {
      "main": [
        [
          {
            "node": "ceda1acb-e101-4f25-859f-f322eca23ba0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "aa8f604f-631e-4b9a-a2a7-d2b795caeb34": {
      "main": [
        [
          {
            "node": "1b9178d6-4997-4d69-b2e2-41384ba0776d",
            "type": "main",
            "index": 0
          },
          {
            "node": "1fd30592-e4ea-4ad8-a777-b8951055f15d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ed2428aa-8d0d-4340-9196-73280cc5cf85": {
      "main": [
        [
          {
            "node": "f5f56abd-3ff6-4a53-bb2b-d52663604476",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "bbdd1973-6239-47bd-a078-f95662bba6b3": {
      "main": [
        [
          {
            "node": "a2860e41-a0b4-481a-a41d-69964c30c4a4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a29122f6-f6b0-4bbd-af30-4f942d9a0fea": {
      "main": [
        [
          {
            "node": "d0bdb6c3-2a23-4735-afa1-8206b5bc03cd",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "dc2697dc-deca-47c4-be02-995e9d22a3e6": {
      "main": [
        [
          {
            "node": "5de978f1-48c5-497a-8d82-bc0653b41e5e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d185b4b2-8ac4-441a-a294-280d565e122c": {
      "main": [
        [
          {
            "node": "b18c7f73-4cf3-4dea-8685-0794276edc60",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ad9ee671-0cf6-4afc-8892-149956d7d238": {
      "main": [
        [
          {
            "node": "1fd30592-e4ea-4ad8-a777-b8951055f15d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "39089d40-6500-4b42-a14a-4557e2e96ebc": {
      "main": [
        [
          {
            "node": "1dff237e-a27b-4945-b221-32884a3141fa",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8890d4fe-360c-4743-b8a3-02bbef649c65": {
      "main": [
        [
          {
            "node": "dda64bdd-6c41-4779-b970-8ecb45d8d856",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d0bdb6c3-2a23-4735-afa1-8206b5bc03cd": {
      "main": [
        [
          {
            "node": "ac3f2f2b-11a3-4035-9445-4af386da3b86",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "42af394f-6d7f-4865-9b26-ed5ce26c70f5": {
      "ai_tool": [
        [
          {
            "node": "a2860e41-a0b4-481a-a41d-69964c30c4a4",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "151946b6-7078-47e6-bbf6-afea6c8e6941": {
      "ai_tool": [
        [
          {
            "node": "a2860e41-a0b4-481a-a41d-69964c30c4a4",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "19ba4a89-74a8-46cc-9e1d-0b600a98cacf": {
      "main": [
        [
          {
            "node": "19faa021-8a2b-4715-b6c7-d3b6cc772dc4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "08c622b9-6930-490c-a40c-dca30dd56a55": {
      "main": [
        [
          {
            "node": "da7eb62a-e13b-4a93-8e37-8d5fafddf7b0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "25ce3155-fed6-4f1b-926d-d19ffed20924": {
      "main": [
        [
          {
            "node": "173995ab-d7a5-4054-8b37-1a1fac46ec7c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b54dbe73-e0e4-444e-b595-95de3a357586": {
      "main": [
        [
          {
            "node": "dda64bdd-6c41-4779-b970-8ecb45d8d856",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "23a5733b-13cc-427e-ad80-4bd00b1c5122": {
      "main": [
        [
          {
            "node": "1dff237e-a27b-4945-b221-32884a3141fa",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "dda64bdd-6c41-4779-b970-8ecb45d8d856": {
      "main": [
        [
          {
            "node": "26e46c24-f812-4436-9c61-36a3bbc8e288",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a53d0df5-dcff-4199-b6e1-fb2027b02da9": {
      "main": [
        [
          {
            "node": "78c041ec-a889-4f09-80ca-2978b6d9dc1f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "143742b9-9394-4670-97b7-afe0d2218a8e": {
      "main": [
        [
          {
            "node": "1661ee15-a89a-4f43-a75f-7544f9663414",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7225e29b-f0f1-436a-aeb2-2004aa0210b2": {
      "main": [
        [
          {
            "node": "a230a00e-c6a1-41c9-ab78-d7751dc10621",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5de978f1-48c5-497a-8d82-bc0653b41e5e": {
      "main": [
        [
          {
            "node": "aa8f604f-631e-4b9a-a2a7-d2b795caeb34",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6b627129-426b-4d14-9a07-e176c4729753": {
      "main": [
        [
          {
            "node": "a53d0df5-dcff-4199-b6e1-fb2027b02da9",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "ad9ee671-0cf6-4afc-8892-149956d7d238",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ac2f0aac-255d-4685-96bd-d98a1c4c39c0": {
      "main": [
        [
          {
            "node": "19ba4a89-74a8-46cc-9e1d-0b600a98cacf",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "a29122f6-f6b0-4bbd-af30-4f942d9a0fea",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "bbdd1973-6239-47bd-a078-f95662bba6b3",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "08c622b9-6930-490c-a40c-dca30dd56a55",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "25ce3155-fed6-4f1b-926d-d19ffed20924",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "dc2697dc-deca-47c4-be02-995e9d22a3e6",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "d185b4b2-8ac4-441a-a294-280d565e122c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "96d2927c-b9ea-49cd-af3b-8625781682c1": {
      "main": [
        [
          {
            "node": "1dff237e-a27b-4945-b221-32884a3141fa",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1fd30592-e4ea-4ad8-a777-b8951055f15d": {
      "main": [
        [
          {
            "node": "6b627129-426b-4d14-9a07-e176c4729753",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3de240eb-19fe-4da5-8a17-92df12e5f438": {
      "main": [
        [
          {
            "node": "1dff237e-a27b-4945-b221-32884a3141fa",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3c747bbb-5fcd-47cc-9b72-43a2013384b5": {
      "ai_memory": [
        [
          {
            "node": "a2860e41-a0b4-481a-a41d-69964c30c4a4",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "131507af-9834-4d9d-99a1-483dd2abc7a1": {
      "main": [
        [
          {
            "node": "1dff237e-a27b-4945-b221-32884a3141fa",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b10cbaee-3c8b-4058-9c1a-12a5b021746e": {
      "main": [
        [
          {
            "node": "1dff237e-a27b-4945-b221-32884a3141fa",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e9de8215-8dae-4182-90e2-9ce4ca465802": {
      "main": [
        [
          {
            "node": "ac2f0aac-255d-4685-96bd-d98a1c4c39c0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "99a1acbe-71e4-4f3d-8b13-b24c63c79a2b": {
      "ai_languageModel": [
        [
          {
            "node": "e9de8215-8dae-4182-90e2-9ce4ca465802",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "ac2f0aac-255d-4685-96bd-d98a1c4c39c0",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "a2860e41-a0b4-481a-a41d-69964c30c4a4",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "a76a2ecf-5ce6-4c15-9c35-98d5cde4960d",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "4ab0b941-6aa0-43c5-8761-60a276a29d3c",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "d0bdb6c3-2a23-4735-afa1-8206b5bc03cd",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "ac3f2f2b-11a3-4035-9445-4af386da3b86",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "5de978f1-48c5-497a-8d82-bc0653b41e5e",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "aa8f604f-631e-4b9a-a2a7-d2b795caeb34",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "ad9ee671-0cf6-4afc-8892-149956d7d238",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "b18c7f73-4cf3-4dea-8685-0794276edc60",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "ed2428aa-8d0d-4340-9196-73280cc5cf85",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "d3f3ca72-4355-4269-a3e1-cf7d63276758": {
      "ai_languageModel": [
        [
          {
            "node": "6b627129-426b-4d14-9a07-e176c4729753",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "1e026f4a-8c9c-4b44-b54b-a77ac7ec607a": {
      "main": [
        [
          {
            "node": "1dff237e-a27b-4945-b221-32884a3141fa",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "651304c6-13bc-4ae5-8d23-45cbe5aea56e": {
      "main": [
        [
          {
            "node": "e9de8215-8dae-4182-90e2-9ce4ca465802",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

上級 - コンテンツ作成, マルチモーダルAI

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
上級
ノード数79
カテゴリー2
ノードタイプ13
難易度説明

上級者向け、16ノード以上の複雑なワークフロー

作成者
Didac Fernandez

Didac Fernandez

@didac-fg

Pro VibeCoder & Master Jedi in Business Applied GenAI | Expert in Process Automation and AI Business Transformation | IT & Cyber

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34