Templates / Automate email bounce & invalid detection with Gmail, Google Sheets & Slack

Automate email bounce & invalid detection with Gmail, Google Sheets & Slack

Needs changes

by Rahul Joshi ✓ · 205 views · created 2025-10-10 · Lead Nurturing

Needs changes. This template uses 2 thing(s) that n8n 3.0 removes: Function (legacy), Cron. 2 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What 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).

  1. Fetch Bounce Notifications (Gmail): get many
  2. Fetch All Email Contacts (Google Sheets): uses Google Sheets
  3. Read Updated Sheet Data (Google Sheets): uses Google Sheets
  4. Get Latest 5 Bounces (Code): runs custom JavaScript code
  5. Combine Bounce & Contact Data (Merge): merges the data from its input branches
  6. Calculate Summary Statistics (Code): runs custom JavaScript code
  7. Parse Bounced Email Addresses (Function): runs custom JavaScript (legacy Function node)
  8. Match & Update Contact Status (Code): runs custom JavaScript code
  9. Send Slack Daily Summary (Slack): uses Slack
  10. Write Status Back to Sheet (Google Sheets): update

Services it uses

Google SheetsSlackGmail

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 →

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.
Removed in 3.0Replace 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)

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…

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