- Support email
- Order-status check
- Shopify order lookup
Auto-answer order status emails with live tracking
Spot order-status questions in the support inbox, look up the order in Shopify and reply with live tracking and an honest ETA.
An n8n flow that watches Gmail, trims quoted history, classifies each message, and drafts a reply so nothing sits overnight.
“Overnight Gmail Triage with n8n Classification and Draft Replies” is an intermediate Operations AI agent workflow from Any. It connects n8n, Gmail and ChatGPT in 5 steps. Setup takes about Not stated and running costs are about Not stated.
Inbound email piles up overnight and gets triaged late. A simple Gmail trigger plus classifier plus draft reply works, but Gmail returns the entire thread, so old quoted replies get treated as new messages and skew classification. The fix is to cut the body below the first quoted-reply marker before classifying, though this approach is fragile and needs a more reliable way to split threads.
Add a Gmail trigger node in n8n set to fire on new inbound mail. Keep the raw thread payload available so you can inspect what the API returns before trimming it.
Before classification, cut the message body below the first quoted-reply marker (the line beginning with On and ending in wrote) and remove the signature block. This prevents old replies in the thread from being read as new content.
Send the trimmed body to a classification step that assigns a category and priority. Base the decision only on the cleaned text so quoted history does not distort the result.
Generate a draft response for each classified message and save it to the Gmail draft folder. Leave sending to a human review step so nothing goes out unreviewed.
The quoted-marker cut is fragile across clients and formats. Test against varied senders and consider a more reliable thread-splitting method before relying on this in production.
Create an n8n workflow with a Gmail trigger on new inbound messages. For each message, remove the signature block and cut the body below the first quoted-reply marker line that starts with On and ends with wrote. Pass the cleaned body to a classification step that returns a category and priority, then generate a draft reply and save it as a Gmail draft. Do not send automatically. Use [YOUR CATEGORY LIST] for the classification labels and [YOUR TONE GUIDELINES] for the draft style.
Review the quoted-history trimming in my n8n Gmail triage flow. The current approach cuts below the first line starting with On and ending with wrote, which is fragile. Propose a more reliable way to isolate only the newest message in a Gmail thread, such as using message IDs or thread metadata, and describe how to implement it in an n8n node. Keep the output as a step-by-step plan with [YOUR N8N VERSION] noted.
An n8n flow that watches Gmail, trims quoted history, classifies each message, and drafts a reply so nothing sits overnight.
You need n8n, Gmail and ChatGPT.
Plan for about Not stated. It is rated intermediate. The guide walks through 5 steps, starting with “Trigger on new Gmail messages”.
Expect about Not stated in running costs (Under $25/mo range).
Inbound email piles up overnight and gets triaged late. A simple Gmail trigger plus classifier plus draft reply works, but Gmail returns the entire thread, so old quoted replies get treated as new messages and skew classification. The fix is to cut the body below the first quoted-reply marker before classifying, though this approach is fragile and needs a more reliable way to split threads.
Spot order-status questions in the support inbox, look up the order in Shopify and reply with live tracking and an honest ETA.
Score every demo request against your ICP, update HubSpot and ping the right rep in Slack within a minute of the form submit.
Every new Zendesk ticket gets a category, priority and sentiment tag plus a draft reply in an internal note before an agent opens it.
Built this workflow? Show it is featured on AgentUseHub with a live upvote count that links back here. About badges