Automate bounce email management for lead generation with Gmail and NocoDB
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 14 nodes and runs on Gmail events. Along the way it connects Gmail and NocoDB.
How it runs
Trigger: On Gmail events.
- EXTRACT EMAIL (Code): runs custom JavaScript code
- MAIN OUTREACH SHEET (NocoDB): get many
- MERGE (Code): runs custom JavaScript code
- Already has the spam tag? (If): checks a condition and branches into true / false
- 1 EMAIL AT A TIME (Loop Over Items (Split in Batches)): loops over the items in batches
- DATA (Code): runs custom JavaScript code
- ADD TO SPAM SHEET (NocoDB): create
- UPDATE SPAM NAME IN MAIN OUTREACH SHEET (NocoDB): update
- 1 EMAIL AT A TIME. (Loop Over Items (Split in Batches)): loops over the items in batches
- ADD UNSUBSCRIBE AND/OR SPAM TAG TO EMAIL (Gmail): add labels
…plus 1 more step. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (CHECK INBOX).
Nodes used (7)
- Code
n8n-nodes-base.code - Gmail Trigger
n8n-nodes-base.gmailTrigger - NocoDB
n8n-nodes-base.nocoDb - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Gmail
n8n-nodes-base.gmail
From the author
📬 SPAM MANAGER FOR LEAD GENERATION Automatically identifies and manages spam replies from your outreach inbox; such as “Delivery failed” or “There was a problem with your delivery” which comes from "[email protected]" for Gmail. This is to remove…