n8nflow.net logo

Build a Complete Email CRM with Google Sheets & MailerSend

by Nima Salimiβ€’Updated: Last update 9 days agoβ€’Source: n8n.io
Loading workflow viewer...

Getting Started

βœ‰οΈ Automate MailerSend Email (Google Sheets)


🌐 Overview

This workflow converts Google Sheets into a full Email CRM β€” no HubSpot or Customer.io needed!
It automates segmentation, sending, validation, and delivery tracking using:

βœ… Google Sheets β†’ CDP + Email Performance DB
βœ… MailerSend β†’ Email Template Delivery
βœ… n8n β†’ Automation + Logic + Scheduling

It automatically:
β€’ Reads subscribers from a selected segment sheet
β€’ Validates email + checks for disposable domains
β€’ Sends a MailerSend email template
β€’ Updates send status + delivery result in Sheets

Perfect for onboarding emails, promo campaigns, retention flows, newsletters & more!


βœ… Key Features

β€’ 🎯 Unlimited audience segments
β€’ 🚫 Deduplication system per execution
β€’ πŸ›‘οΈ Disposable email filtering
β€’ πŸ”„ Automatic recurring runs (every 30 minutes)
β€’ 🧩 Template-based personalization (name, codes, journey)
β€’ πŸ“Š Real-time delivery tracking + analytics-ready data
β€’ πŸ” Zero CRM vendor lock-in


πŸ“Š Database Sheets (Google Sheets Required)

Use this database template:
πŸ”— https://docs.google.com/spreadsheets/d/17KqltP-NqchPhZV7gk6QToqCZX6IiA5EBkDCBNsIX_0/edit?usp=sharing

Sheet NamePurposeRequired Fields
templateCampaign configurationId, template_name, journey, type, type_template_id, discount_code
segment1 / segment2Audience listsuser_id, email, first_name, number
transactionStatus + results historyuser_id, status, sent_result, sent_at, template_name

transaction

CreatedAtUpdatedAtuser_idemailnumberfirst_namestatusdatabase_idtypetemplate_idtype_template_idtemplate_namejourneydiscount_codegift_code
2025-10-25T13:11:41.567-04:002025-10-25T13:11:41.567-04:00uid_0000000001[email protected]9362000000Liam1-sendingsegment1email1v28xxl2sq8dg785kSMS-TESTTestdisxxx
2025-10-25T13:11:41.567-04:002025-10-25T13:11:41.567-04:00uid_0000000002[email protected]9362000001Noah1-sendingsegment1email1v28xxl2sq8dg785kSMS-TESTTestdisxxx
2025-10-25T13:11:41.567-04:002025-10-25T13:11:41.567-04:00uid_0000000003[email protected]9362000002Oliver1-sendingsegment1email1v28xxl2sq8dg785kSMS-TESTTestdisxxx

template

Idtemplate_namejourneydatabase_idtypetype_template_iddiscount_codegift_code
3Order-ConfirmationOrdersegment3emailv28xxl2sq8dg785kdiscount2
4Shipping-NotificationNotificationsegment4emailv28xxl2sq8dg785cdiscount3
5Add-to-Cart-day1Add-to-Carsegment5emailv28xxl2sq8dg785ddiscount4
6Welcome-New-CustomerWelcomesegment6emailv28xxl2sq8dg785sdiscount5
7Churn-Pro-PlanChurnsegment7emailv28xxl2sq8dg785gproxc
8Churn-Pro-Plan-1day-agoChurnsegment8emailv28xxl2sq8dg785hshipx

segment1

user_idemailnumberfirst_namedatabase_id
uid_0000000001[email protected]09362000000Liamsegment1
uid_0000000002[email protected]09362000001Noahsegment1
uid_0000000003[email protected]09362000002Oliversegment1
uid_0000000004[email protected]09362000003Elijahsegment1
uid_0000000005[email protected]09362000004Jamessegment1

πŸ“Œ Add more segments simply by creating new sheets (segment3, segment4...)
πŸ“Œ Change campaign by updating template_id in Setup Flow node


πŸ‘€ Who’s it for?

β€’ Ecommerce email retention teams
β€’ SaaS CRM automation operators
β€’ Digital marketing & lifecycle pros
β€’ Agencies running multi-brand campaigns
β€’ No-code builders who want scalable CRM logic


βš™οΈ Automations Included

Flow 1 β€” Insert Users (Triggered on schedule)

β€’ Pull users from selected segment tab
β€’ Insert into transaction sheet
β€’ Status: 0-processing β†’ 1-sending
β€’ Prevent duplicate sending βœ…

Flow 2 β€” Send Emails (Runs every 30 min)

β€’ Selects β€œready” users (1-sending)
β€’ Checks:

  • Missing email β†’ 3-no-email
  • Disposable β†’ 4-disposal-email
    β€’ Sends via MailerSend template ID in sheet
    β€’ Updates status β†’ 2-sent + message result

🎯 Your entire CRM sending logic runs automatically every day


🧠 Personalization Support

Available merge-fields:
β€’ first_name
β€’ discount_code
β€’ gift_code
(Modify jsonBody to add more!)


πŸ” MailerSend Setup Required

Inside MailerSend node:

You must:
βœ” Verify domain
βœ” Approve sender email
βœ” Copy correct template ID β†’ Google Sheet


πŸ’‘ Optional Enhancements

β€’ Slack alerts for failed sends
β€’ Connect Looker Studio for dashboards
β€’ Add SMS / WhatsApp parallel flows
β€’ A/B test templates by duplicating rows
β€’ Add AI for subject optimization or copy rewrite


πŸ“Ί Connect With Me

More workflows, CRM strategy & AI marketing automation πŸ‘‡
LinkedIn: https://linkedin.com/in/nima-salimi-a655a6231

Follow & ⭐️ this template if it helped you πŸš€