{
  "name": "Manage customer inquiries from email & web forms with Slack & Google Sheets",
  "nodes": [
    {
      "id": "c454d429-cc3f-4b56-8730-c72c81938555",
      "name": "Email Trigger",
      "type": "n8n-nodes-base.emailReadImap",
      "position": [
        400,
        280
      ]
    },
    {
      "id": "c6be407e-9f2e-4011-9141-f80d5cbae5aa",
      "name": "Webhook - Web Form",
      "type": "n8n-nodes-base.webhook",
      "position": [
        400,
        464
      ]
    },
    {
      "id": "b67fb3e2-0a16-4044-a741-354e24dfdb46",
      "name": "Extract Email Content",
      "type": "n8n-nodes-base.html",
      "position": [
        624,
        280
      ]
    },
    {
      "id": "95f5f69d-1c14-438b-a996-2448a60387fe",
      "name": "Parse Email Data",
      "type": "n8n-nodes-base.set",
      "position": [
        848,
        280
      ]
    },
    {
      "id": "9f2a42ae-c6fc-4ad9-b2d8-dd488b77e380",
      "name": "Parse Webhook Data",
      "type": "n8n-nodes-base.set",
      "position": [
        848,
        472
      ]
    },
    {
      "id": "fd42df65-9c60-4472-a712-9be61b81ea56",
      "name": "Merge Inquiries",
      "type": "n8n-nodes-base.merge",
      "position": [
        1072,
        376
      ]
    },
    {
      "id": "f7c07e85-6661-4519-b93a-d030c63bc237",
      "name": "Route by Inquiry Type",
      "type": "n8n-nodes-base.switch",
      "position": [
        1296,
        248
      ]
    },
    {
      "id": "7e41903e-b0be-4ef1-ae94-505a0a9e9c36",
      "name": "Save to Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1520,
        464
      ]
    },
    {
      "id": "950a8809-813f-4fe4-a261-122c122851ad",
      "name": "Notify Urgent - Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        1520,
        80
      ]
    },
    {
      "id": "10357ad4-18b3-492b-a722-7a5ddc53d7bc",
      "name": "Notify General - Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        1520,
        272
      ]
    },
    {
      "id": "950d0a86-1ea9-4a6a-a95f-3ed28a2947b6",
      "name": "Send Auto-Reply Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1296,
        472
      ]
    },
    {
      "id": "6a40ae19-43f5-4659-96c0-eedcd799da14",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -448,
        48
      ],
      "parameters": {
        "width": 688,
        "height": 960,
        "content": "## Multi-Channel Customer Support Inquiry Management and Tracking System\n\n\n**Who's it for?**\nCustomer support teams, marketing & sales teams, SMBs, individuals needing efficient inquiry management.\n\n*"
      }
    },
    {
      "id": "c856e1b3-46be-4d2e-aec5-97489e752a18",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        336,
        128
      ],
      "parameters": {
        "width": null,
        "height": 480,
        "content": "## Multi-Channel Input \n**Listens for inquiries from incoming emails (IMAP) and web form submissions (Webhook)."
      }
    },
    {
      "id": "bd8ae3aa-7797-4b04-bda6-dd5e4ed6c859",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1040,
        0
      ],
      "parameters": {
        "width": 704,
        "height": 672,
        "content": "## Send Auto-Reply\n"
      }
    },
    {
      "id": "db09a2a4-fbd9-4c1e-be9e-63787ceb324b",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        608,
        80
      ],
      "parameters": {
        "width": 368,
        "height": 560,
        "content": "## Data Extraction & Parsing \n**Extracts details like customer name, email, subject, message, source, received timestamp, and intelligently determines inquiryType (urgent, billing, general) from both "
      }
    }
  ],
  "connections": {
    "Email Trigger": {
      "main": [
        [
          {
            "node": "Extract Email Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Inquiries": {
      "main": [
        [
          {
            "node": "Route by Inquiry Type",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Auto-Reply Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Email Data": {
      "main": [
        [
          {
            "node": "Merge Inquiries",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Webhook Data": {
      "main": [
        [
          {
            "node": "Merge Inquiries",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Webhook - Web Form": {
      "main": [
        [
          {
            "node": "Parse Webhook Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Email Content": {
      "main": [
        [
          {
            "node": "Parse Email Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Inquiry Type": {
      "main": [
        [
          {
            "node": "Save to Google Sheets",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Notify Urgent - Slack",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Notify General - Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}