Automate email bounce & invalid detection with Gmail, Google Sheets & Slack
Needs changesWhat this workflow does
This workflow has 12 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Sheets, Slack and Gmail.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Fetch Bounce Notifications (Gmail): get many
- Fetch All Email Contacts (Google Sheets): uses Google Sheets
- Read Updated Sheet Data (Google Sheets): uses Google Sheets
- Get Latest 5 Bounces (Code): runs custom JavaScript code
- Combine Bounce & Contact Data (Merge): merges the data from its input branches
- Calculate Summary Statistics (Code): runs custom JavaScript code
- Parse Bounced Email Addresses (Function): runs custom JavaScript (legacy Function node)
- Match & Update Contact Status (Code): runs custom JavaScript code
- Send Slack Daily Summary (Slack): uses Slack
- Write Status Back to Sheet (Google Sheets): update
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Slack templates (1,314) · Other Gmail + Slack templates (957)
Before you upgrade to n8n 3.0
2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:
- Function (legacy) in Parse Bounced Email Addresses: replace with Code node, mode 'Run Once for All Items'.
- Cron in Daily 7PM Report Trigger: replace with Schedule Trigger.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
| Removed in 3.0 | Replace with |
|---|---|
| Function (legacy) Parse Bounced Email Addresses | Code node, mode 'Run Once for All Items' |
| Cron Daily 7PM Report Trigger | Schedule Trigger |
Nodes used (8)
- Manual Trigger
n8n-nodes-base.manualTrigger - Function
n8n-nodes-base.function - Google Sheets
n8n-nodes-base.googleSheets - Cron
n8n-nodes-base.cron - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail - Code
n8n-nodes-base.code - Merge
n8n-nodes-base.merge
From the author
Description This workflow automatically detects bounced or invalid email addresses from your Gmail inbox and updates their status in Google Sheets. It fetches bounce notifications, extracts failed email addresses, and matches them against your contact list to…