Lovergil Perillo
All workflows
n8n

Customer Email Triage with AI and Crash Alerts

Book a call about this

Problem

A support inbox gets billing questions, login problems, bookings, bug reports and refund requests all mixed together. Someone has to read every email, decide what it is and how urgent it is, and write a reply. Angry customers or refund requests can sit unnoticed, and when an automation breaks, emails can quietly get lost.

Approach

A Gmail Trigger checks the inbox every minute, and a Remove Duplicates node remembers every message ID, so no email is ever handled twice. A Set node keeps the settings and the full AI instructions in one place. One AI call (OpenAI, with a Structured Output Parser) sorts the email into one of six categories, scores its confidence, flags anything that needs a person, and drafts a reply. Everything is saved to Airtable. An If node emails the team only when the confidence is low, it's a refund request, or the AI flagged it. The draft is never sent to the customer automatically. If the AI fails three times, the email is still saved with an Error status and the team is told to reply by hand, and a separate error workflow emails the admin if the whole workflow ever crashes.

Outcome

Every customer email is sorted, logged and given a ready-to-use draft within a minute. The team only steps in when a human is really needed, and nothing fails silently: AI errors and crashes both end up in someone's inbox instead of being lost.

Tools used

n8nGmailOpenAIStructured Output ParserAirtableRemove DuplicatesIfError Trigger

Illustrative savings

Estimate what this workflow could save you. Change the three numbers to match your business. The results update as you type. This is a rough guide, not a client result.

Hours saved / month

33.3

Saved / month

$500

500 customer emails triaged × 4 min ÷ 60 = 33.3 h × $15 = $500

Illustrative replay with sample data. No real workflows are executed.

Choose what to run:
Live results

Ready

ModelOutput Parsersuccesserrortrue

Execution log

0 entries

Press "Execute workflow" to start the replay.

Live results

0 of 3 app updates

Press "Execute workflow" to watch the connected apps update as each step runs.

Want this running in your business?

Book a call about the Customer Email Triage with AI and Crash Alerts. I'll adapt it to your tools and the way your team works.

Book a call about this workflow