Automate Email Triage with GPT-4.1-mini Classification and Gmail Auto-Replies

Last edited 58 days ago

How it works:

  • Detects new unread Gmail messages
  • Extracts sender name for personalized replies
  • Classifies the email into one of four categories
  • Applies the correct Gmail label and either sends an auto-reply, creates a draft, or logs the contact in Google Sheets

Setup steps:

  • Takes about 5–10 minutes to connect accounts and set labels
  • Connect Gmail, OpenAI, and optional Google Sheets in n8n
  • Add label IDs, Google Sheet ID, sheet name, and phone number in Set – Config
  • Create four Gmail labels for the categories
  • Keep full setup instructions in the sticky notes inside the workflow

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!