Send One-Time Email Alerts for Urgent Tasks with Google Sheets and Gmail — n8n 工作流

复杂度 触发器5 个节点🏷️ Project Management👁 36 次查看作者:Yassin Zehar

概览

Description

This workflow sends a personalized email when a task in a Google Sheet is marked as Urgent, but only once per task.

It prevents duplicate notifications by updating the sheet after the email is sent. Ideal for collaborative task tracking where multiple people edit the same spreadsheet.

Context

When working with shared task lists in Google Sheets, it’s easy to miss critical updates — or worse, trigger multiple alerts for the same task.

This workflow ensures that each "Urgent" task

使用的节点

Google SheetsGmail

工作流预览

Required
• Google sheets credential
• Gmail credential
1) Trigger, Filter & Row Info
Trigger:
- Google Sheets Trigger (on change in "Priority" column
Filtering:
- IF node filters on:
- Priority = "Urgent"
2) Send Email
Email Node:
- Personalized message with:
- Task name
- Owner
- Deadline
3) Update Google Sheet
Update Row Node:
- Use: row_number = {{ $json.row_number }}
- Set "Notified" to "Yes" or timestamp
Best Practice:
- Update a value to track that the email was sent
T
Trigger when Urgent status
Get the row number
C
Condition to send the em…
Email alert
Update row avoiding spam
5 nodes4 edges

工作原理

  1. 1

    触发器

    工作流由 触发器 触发器启动。

  2. 2

    处理

    数据流经 5 个节点, connecting gmail, googlesheets, googlesheetstrigger。

  3. 3

    输出

    工作流完成自动化并将结果发送到配置的目标。

节点详情 (5)

GO

Google Sheets

googleSheets

#1
GM

Gmail

gmail

#2

如何导入此工作流

  1. 1点击右侧 下载 JSON 按钮保存工作流文件。
  2. 2打开你的 n8n 实例,依次点击 工作流 → 新建 → 从文件导入
  3. 3选择下载的 send-one-time-email-alerts-for-urgent-tasks-with-google-sheets-and-gmail 文件并点击导入。
  4. 4为每个服务节点配置 凭证(API 密钥、OAuth 等)。
  5. 5点击 测试工作流 验证一切正常,然后激活它。

或直接在 n8n → 从 JSON 导入 中粘贴:

{ "name": "Send One-Time Email Alerts for Urgent Tasks with Google Sheets and Gmail", "nodes": [...], ...}

集成

gmailgooglesheetsgooglesheetstriggerif

获取此工作流

一键下载并导入

下载 JSON在 n8n.io 上查看
节点5
复杂度low
触发器trigger
查看次数36

创建者

Yassin Zehar

Yassin Zehar

@yassinzehar

标签

gmailgooglesheetsgooglesheetstriggerif

n8n 新手?

n8n 是一款免费开源的工作流自动化工具,支持自托管或使用云版本。

免费获取 n8n →