Email Automation
Triage support emails and schedule SLA tasks with Gmail, Gemini, Google Calendar, Sheets
When a new email arrives, it handles email with Google Gemini using Discord, Gmail, Google Calendar, Google Sheets.
What it does
## Customer Support Triage & SLA Calendar Dispatcher Automate incoming customer inquiry triage from Gmail with Google Gemini. The system classifies requests, calculates dynamic SLA deadlines based on urgency, schedules follow-up blocks in Google Calendar, logs ticket records in Google Sheets, generates AI reply drafts, and sends instant Discord alerts for high-priority incidents. Who's it for: Customer support leads, IT service desks, and operations teams needing automated triage and SLA tracking without manual data entry. ### How it works 1. When Email Arrives polls unread emails with the subject "Inquiry Received". 2. Language Model Processing and Gemini parse the email body into structured JSON (priority, category, summary, draft). 3. Calculate SLA & Deadlines computes resolution target times (High: 4h, Medium: 1 day, Low: 3 days). 4. Add to Google Calendar creates a deadline block, Append Details to Sheets logs the record, and Create Gmail Draft saves a reply. 5. If priority is High, Check Priority Level routes a critical alert to Send Urgent Discord Alert. ### Setup 1. Connect your Gmail, Google Gemini, Google Calendar, and Google Sheets credentials. 2. Prepare a Google Sheet titled form with headers: received_at, priority, category, sender, subject, summary, deadline, calendar_event_url. 3. Configure your Discord Webhook URL in Send Urgent Discord Alert. ### Customization tips - Adjust dynamic SLA hours directly in the JavaScript code inside Calculate SLA & Deadlines. - Modify the prompt in Language Model Processing to adapt categorization tags to your domain.
The steps
- When Email Arrives
- Language Model Processing
- Gemini AI Conversation
- Parse Structured Output
- Calculate SLA & Deadlines
- Add to Google Calendar
- Append Details to Sheets
- Create Gmail Draft
- Check Priority Level
- Send Urgent Discord Alert
Similar automations
Email AutomationTrack loan applications and send SLA alerts with Sheets, Gmail, Slack and Gemini27 stepsMonitoring, Ops & IncidentsDiagnose failed n8n workflows with Ollama and post triage to Discord16 stepsEmail AutomationB2B Demo Lead Rescue Desk: Enrich, Score, Route, and SLA Escalate20 stepsForms & SurveysRoute and track Typeform leads in Airtable and Slack with Gmail SLA alerts27 steps