Off Prompt

AI Tools for Small Business

Operations

Auto-Email Inventory Reorder Alerts from Google Sheets

Use this prompt to generate a working Google Apps Script that automatically emails you when any inventory item falls below its reorder point. Paste it into Claude, ChatGPT, or Gemini after setting up your spreadsheet columns.

The Prompt

I use Google Sheets to track inventory. My spreadsheet has these columns: Column A = Product Name, Column B = Current Stock (number), Column C = Reorder Point (number), Column D = Supplier. I want a Google Apps Script that checks every row starting at row 2. If the value in Column B is less than the value in Column C, I want it to send an email to [your email address] with a subject line of "Reorder Alert" and a body that lists each product name and current stock level that triggered the alert. Please write the complete script, ready to paste into Google Apps Script.

From the guide

Using AI to build a simple inventory reorder alert system from a spreadsheet you already use →

Related Prompts