Templates / Track client reply SLAs in Gmail with OpenAI, Google Sheets, and Slack

Track client reply SLAs in Gmail with OpenAI, Google Sheets, and Slack

Ready for 3.0

by Samruddhi Mokal ✓ · 4 views · created 2026-10-19 · Ticket Management, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 19 nodes and runs on a schedule (every hour). Along the way it connects Gmail, Google Sheets, OpenAI Chat Model and Slack.

How it runs

Trigger: On a schedule (every hour).

  1. Configure settings (Edit Fields (Set)): sets 7 fields: my_email, internal_domains, client_domains…
  2. Get recent inbox emails (Gmail): get many
  3. Get recent sent emails (Gmail): get many
  4. Find threads waiting on you (Code): runs custom JavaScript code
  5. Read Reply Log (Google Sheets): uses Google Sheets
  6. Compare with Reply Log (Code): runs custom JavaScript code
  7. Route by change (Switch): routes items into 3 branches
  8. Check if a reply is needed (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Structured Output Parser
  9. Mark as overdue (Google Sheets): update
  10. Close with response time (Google Sheets): update

…plus 5 more steps. See the full node list below.

Services it uses

GmailGoogle SheetsOpenAI Chat ModelSlack

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (12)

From the author

Quick overview This workflow runs hourly to find Gmail threads where a client is waiting for your reply, uses OpenAI to triage and summarize new overdue messages, logs SLA timing in Google Sheets, and posts new and escalated reminders to a Slack channel. How…

Excerpt from Samruddhi Mokal's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.