Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Email Automation

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

  1. When Email Arrives
  2. Language Model Processing
  3. Gemini AI Conversation
  4. Parse Structured Output
  5. Calculate SLA & Deadlines
  6. Add to Google Calendar
  7. Append Details to Sheets
  8. Create Gmail Draft
  9. Check Priority Level
  10. Send Urgent Discord Alert

Similar automations