Templates / Route ecommerce review alerts from Gmail to Slack with OpenAI and Google Sheets

Route ecommerce review alerts from Gmail to Slack with OpenAI and Google Sheets

Needs changes

by Precision Tech ✓ · 6 views · created 2026-07-07 · Ticket Management, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: OpenAI (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 14 nodes and runs on Gmail events. Along the way it connects Gmail, Google Sheets and Slack.

How it runs

Trigger: On Gmail events.

  1. Setup Alert Configuration (Code): runs custom JavaScript code
  2. Extract Review Content (Code): runs custom JavaScript code
  3. Read Review Log in Sheets (Google Sheets): read (sheet)
  4. Verify Duplicate Review (Code): runs custom JavaScript code
  5. If: checks a condition and branches into true / false
  6. OpenAI: message (text)
  7. Parse AI Classification (Code): runs custom JavaScript code
  8. Route by Sentiment (Switch): routes items into 4 branches
  9. Prepare Slack Message (Code): runs custom JavaScript code
  10. Build Neutral Log Entry (Code): runs custom JavaScript code

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

Services it uses

GmailGoogle SheetsSlack

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • OpenAI (legacy) in OpenAI Review Classifier: replace with OpenAI node (AI section).
  • Also check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll).

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
OpenAI (legacy)
OpenAI Review Classifier
OpenAI node (AI section)

Nodes used (7)

From the author

Quick Overview This workflow polls Gmail for unread ecommerce review notification emails, extracts key review details, checks Google Sheets to prevent duplicate processing, uses OpenAI to classify sentiment and urgency, posts routed alerts to Slack, and logs…

Excerpt from Precision Tech'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.