Templates / Optimize dead shelf products with Google Sheets, Google Gemini and Slack

Optimize dead shelf products with Google Sheets, Google Gemini and Slack

Ready for 3.0

by iamvaar ✓ · 1 views · created 2026-10-08 · CRM, 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 22 nodes and runs on a schedule (every day at 01:00) (plus 1 other trigger). Along the way it connects Google Sheets, Google Gemini Chat Model and Slack.

How it runs

Trigger: On a schedule (every day at 01:00) (plus 1 other trigger).

  1. Set Configuration Constants (Edit Fields (Set)): sets 17 fields: sheetid, as_of_date, t_stagnant_days…
  2. Read Catalog from Sheets (Google Sheets): uses Google Sheets
  3. Read Sales Rollup from Sheets (Google Sheets): uses Google Sheets
  4. Read Inventory from Sheets (Google Sheets): uses Google Sheets
  5. Read Planogram from Sheets (Google Sheets): uses Google Sheets
  6. Merge Input Sources (Code): runs custom JavaScript code
  7. Calculate Metrics (Edit Fields (Set)): sets 14 fields: days_to_expiry, days_unsold, velocity_ratio…
  8. Filter: keeps only the items that match a condition
  9. Set Rule Actions (Edit Fields (Set)): sets 2 fields: rule_action, spoilage_flag
  10. Sort: sorts the items

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

Services it uses

Google SheetsGoogle Gemini 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.

Nodes used (12)

From the author

Quick overview Youtube Video: https://youtu.be/iDW5lD-AHxM This workflow runs daily to analyze planogrammed prime eye-level SKUs using Sheets catalog, sales, and inventory data, then uses Gemini to validate recommended actions and writes a store action queue…

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