Automatic Urgent Task Email Alerts from Google Sheets - n8n Workflow

Use this powerful n8n workflow to monitor project tracking sheets. When a task is marked 'Urgent', a single, personalized email alert is sent via Gmail, ensuring no duplicate notifications.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Project Managers who need instant notifications about critical tasks.
Team Leads requiring reliable, automated status updates.
Technical users looking for robust n8n templates for operational monitoring.
Anyone needing to connect Google Sheets and Gmail reliably using an n8n workflow.

Overview

Managing deadlines often requires immediate attention when task priorities shift. This n8n workflow solves the problem of manual monitoring by creating a reliable, automated alerting system. The core value of this specific n8n workflow lies in its 'state-aware' design: it not only detects when a task becomes 'Urgent' but also checks if an alert has already been sent (using a 'Notified' status column). This prevents notification spam, ensuring recipients only receive the alert once, maximizing the impact and reliability of your automated processes. This is an essential n8n template for project management.

How it Works

This automation operates cyclically, scanning your Google Sheet for status changes.


  1. Trigger Event: The n8n trigger, configured as a Google Sheets Trigger node, polls the specified spreadsheet every minute, watching specifically for changes in the Priority column.

  2. Data Retrieval: The next Google Sheets n8n node fetches the complete row data, crucial for accurately determining the task details and ensuring the rownumber is available for later updates.

  3. Conditional Filtering (The Gate): An IF n8n node applies strict, three-part criteria to filter the data. The n8n workflow proceeds only if:

The Priority is set to 'Urgent'.
The row has a valid row
number.
* The Notified column is empty (meaning the email has not yet been sent).

  1. Send Alert: If the condition passes, the Gmail n8n node executes, sending a highly personalized email alert containing key information like Task name, Owner, Deadline, and Next Step, leveraging the data retrieved by the n8n trigger.

  2. Status Update: Finally, a subsequent Google Sheets n8n node updates the originating row in the spreadsheet. It sets the Notified column to 'Yes', effectively marking the task as alerted. This update mechanism ensures the n8n workflow will not send a duplicate email, even if the sheet is updated again.

Installation Guide

To deploy this powerful n8n workflow, follow these steps:


  1. Import: Copy the provided JSON data and paste it into your n8n instance using the 'Import from JSON' option.

  2. Credentials Setup: You must configure two primary credentials:

Google Sheets Trigger Credential: Set up the required OAuth2 or API key for the Google Sheets Trigger node (Trigger when Urgent status).
Google Sheets Credential: Configure the Google Sheets API credentials for the subsequent Read and Update nodes (Get the row number and Update row avoiding spam).
* Gmail Credential: Set up the credentials for the Gmail n8n node (Email alert).

  1. Sheet Configuration: In the Google Sheets Trigger and Google Sheets nodes, update the Document ID and Sheet Name parameters to point to your specific project tracking spreadsheet. Ensure your sheet contains the columns: Priority, Task, Owner, Deadline, Status, Next step, and a new column named Notified.

  2. Email Destination: In the Gmail n8n node, change the Send To email address from [email protected] to the actual recipient of the urgent alerts.

  3. Activate: Save the n8n workflow and toggle the status to 'Active'. The n8n trigger will begin monitoring your sheet immediately.

Node Details

This n8n workflow utilizes core functional nodes to achieve its reliable automation goal:

Trigger when Urgent status (Google Sheets Trigger n8n node):
Function: Starts the n8n workflow upon detecting changes in the linked spreadsheet.
Key Configuration: Configured to watch only the Priority column, minimizing unnecessary executions. It acts as the primary n8n trigger.
Get the row number (Google Sheets n8n node):
Function: Retrieves necessary row context and ensures the rownumber variable is available for subsequent update operations within the n8n workflow.
Condition to send the email (IF n8n node):
Function: The central filtering mechanism. It allows the flow to continue only if Priority is 'Urgent' AND the status column Notified is empty. This is crucial for creating effective n8n templates that prevent spam.
Email alert (Gmail n8n node):
Function: Sends the personalized, HTML-formatted alert email.
Key Configuration: Uses expressions (e.g., {{$json["Task"]}}) to dynamically insert data from the triggering sheet row into the subject and body.
Update row avoiding spam (Google Sheets n8n node):
Function: Updates the row in the sheet to mark the task as 'Notified: Yes'.
* Key Configuration: Uses the 'Update' operation, matching the row based on the dynamic row
number provided by the preceding n8n node.

Related n8n Workflows

Free

Nodes: 5 Nodes
Updated: December 26 2025
View all
Created by

Digital & IT Project Manager | Data-oriented | Agile certified (PSM I, PSPO I) | Paris

Featured*