Newsletter Automation
A complete newsletter management system built on n8n and Google Sheets. Handles subscriber signups with double opt-in, automated welcome drip emails, broadcast sending, and daily analytics reports.
Problem
Running a newsletter manually means juggling signup forms, confirmation emails, welcome sequences, and broadcast sends across multiple tools. Most newsletter platforms charge per subscriber, and you lose control of your data.
This system gives you a free, self-hosted newsletter pipeline using n8n and Google Sheets.
What It Does
- Double Opt-In Signup — Webhook receives signups, validates email, sends confirmation link, stores in Sheets
- Welcome Drip Sequence — Automatically sends Day 0 (welcome), Day 3 (tips), Day 7 (resources) emails
- Broadcast Sender — API-triggered broadcast to all confirmed subscribers with unsubscribe links
- Daily Analytics — Subscriber counts, growth metrics, confirmation rates, top sources
Included Workflows
| # |
File |
Purpose |
| 01 |
01-subscriber-signup.json |
Webhook signup with validation, double opt-in, and Sheets storage |
| 02 |
02-welcome-sequence.json |
Scheduled drip emails at Day 0, 3, and 7 |
| 03 |
03-broadcast-sender.json |
Webhook-triggered broadcast to all confirmed subscribers |
| 04 |
04-subscriber-analytics.json |
Daily metrics report email |
Architecture
Signup Form (website)
|
v
Workflow 01: Subscriber Signup
|
+-> Validate email
+-> Save to Google Sheets (status: pending)
+-> Send confirmation email (double opt-in)
+-> Return success response
User clicks confirmation link
|
v
Update Sheets (status: confirmed)
Scheduled (every 6 hours):
|
v
Workflow 02: Welcome Drip Sequence
+-> Read confirmed subscribers
+-> Check drip schedule (Day 0/3/7)
+-> Send appropriate email
+-> Update last_drip_day in Sheets
API Trigger:
|
v
Workflow 03: Broadcast Sender
+-> Validate request + auth
+-> Fetch confirmed subscribers
+-> Send broadcast email to each
+-> Include unsubscribe link
Daily Schedule:
|
v
Workflow 04: Subscriber Analytics
+-> Read all subscribers
+-> Calculate metrics (total, growth, rates)
+-> Email report to admin
Required n8n Credentials
| Credential Type |
Used For |
Placeholder in JSON |
| Google Sheets OAuth2 |
Subscriber storage |
YOUR_GOOGLE_SHEETS_CREDENTIAL_ID |
| SMTP (Gmail or custom) |
All emails (confirmation, drip, broadcast, reports) |
YOUR_SMTP_CREDENTIAL_ID |
Environment Variables
# Required
NEWSLETTER_ADMIN_EMAIL=admin@yourbusiness.com
NEWSLETTER_BASE_URL=https://yourdomain.com
NEWSLETTER_SECRET=your-broadcast-api-secret
Configuration Placeholders
| Placeholder |
Description |
YOUR_SUBSCRIBERS_SHEET_ID |
Google Sheet ID for subscriber data |
YOUR_GOOGLE_SHEETS_CREDENTIAL_ID |
n8n Google Sheets credential ID |
YOUR_SMTP_CREDENTIAL_ID |
n8n SMTP credential ID |
YOUR_NOTIFICATION_EMAIL |
Fallback admin email (also set via NEWSLETTER_ADMIN_EMAIL env) |
YOUR_DOMAIN |
Fallback domain (also set via NEWSLETTER_BASE_URL env) |
Google Sheets Schema (Subscribers)
| Column |
Type |
Description |
| email |
text |
Primary key, subscriber email |
| name |
text |
Subscriber name |
| status |
text |
pending / confirmed / unsubscribed |
| source |
text |
Where they signed up (website, landing-page, etc.) |
| subscribed_at |
datetime |
Signup timestamp |
| confirmed |
boolean |
Whether email is confirmed |
| token |
text |
Confirmation token |
| last_drip_day |
number |
Last drip sent (0, 3, or 7) |
| last_drip_at |
datetime |
When last drip was sent |
Quick Start
1. Prerequisites
- n8n v2.4+ (self-hosted)
- Google Sheets OAuth2 credentials
- SMTP email credentials
2. Create Subscriber Sheet
Create a Google Sheet with the columns above. Name the sheet tab "Subscribers".
3. Import Workflows
Import all 4 JSON files into n8n. Replace all YOUR_* placeholders.
4. Test Signup
curl -X POST https://your-n8n.com/webhook/newsletter/signup \
-H "Content-Type: application/json" \
-d '{"email": "test@example.com", "name": "Test User", "source": "api-test"}'
5. Test Broadcast
curl -X POST https://your-n8n.com/webhook/newsletter/broadcast \
-H "Content-Type: application/json" \
-d '{
"_secret": "your-newsletter-secret",
"subject": "Test Broadcast",
"content": "<p>This is a test broadcast.</p>"
}'
Use Cases
- Personal newsletters — Self-hosted alternative to Substack or ConvertKit
- Business newsletters — Weekly updates to customers with zero per-subscriber cost
- Product updates — Notify users about new features and releases
- Community newsletters — Manage subscriber lists for communities or organizations
- Content creators — Build an audience with automated drip sequences
Requirements
- n8n v2.4+ (self-hosted recommended)
- Google Sheets OAuth2 credentials
- SMTP email credentials (Gmail, SES, or custom)
1---
2name: newsletter-automation
3description: Complete newsletter management system with subscriber signup (double opt-in), automated welcome drip sequence, broadcast sender, and subscriber analytics. 4 production-ready n8n workflows with Google Sheets backend.
4tags: [newsletter, email, subscribers, drip, automation, marketing, n8n, google-sheets]
5author: mhmalvi
6version: 1.2.0
7license: CC BY-NC-SA 4.0
8metadata:
9 source: https://skillmd.com/skills/modbender/newsletter-automation
10 clawdbot:
11 emoji: "\U0001F4EC"
12 requires:
13 n8nCredentials: [google-sheets-oauth2, smtp]
14 env: [NEWSLETTER_ADMIN_EMAIL, NEWSLETTER_BASE_URL, NEWSLETTER_SECRET]
15 os: [linux, darwin, win32]
16---
17
18# Newsletter Automation
19
20A complete newsletter management system built on n8n and Google Sheets. Handles subscriber signups with double opt-in, automated welcome drip emails, broadcast sending, and daily analytics reports.
21
22## Problem
23
24Running a newsletter manually means juggling signup forms, confirmation emails, welcome sequences, and broadcast sends across multiple tools. Most newsletter platforms charge per subscriber, and you lose control of your data.
25
26This system gives you a free, self-hosted newsletter pipeline using n8n and Google Sheets.
27
28## What It Does
29
301. **Double Opt-In Signup** — Webhook receives signups, validates email, sends confirmation link, stores in Sheets
312. **Welcome Drip Sequence** — Automatically sends Day 0 (welcome), Day 3 (tips), Day 7 (resources) emails
323. **Broadcast Sender** — API-triggered broadcast to all confirmed subscribers with unsubscribe links
334. **Daily Analytics** — Subscriber counts, growth metrics, confirmation rates, top sources
34
35## Included Workflows
36
37| # | File | Purpose |
38|---|------|---------|
39| 01 | `01-subscriber-signup.json` | Webhook signup with validation, double opt-in, and Sheets storage |
40| 02 | `02-welcome-sequence.json` | Scheduled drip emails at Day 0, 3, and 7 |
41| 03 | `03-broadcast-sender.json` | Webhook-triggered broadcast to all confirmed subscribers |
42| 04 | `04-subscriber-analytics.json` | Daily metrics report email |
43
44## Architecture
45
46```
47Signup Form (website)
48 |
49 v
50Workflow 01: Subscriber Signup
51 |
52 +-> Validate email
53 +-> Save to Google Sheets (status: pending)
54 +-> Send confirmation email (double opt-in)
55 +-> Return success response
56
57User clicks confirmation link
58 |
59 v
60Update Sheets (status: confirmed)
61
62Scheduled (every 6 hours):
63 |
64 v
65Workflow 02: Welcome Drip Sequence
66 +-> Read confirmed subscribers
67 +-> Check drip schedule (Day 0/3/7)
68 +-> Send appropriate email
69 +-> Update last_drip_day in Sheets
70
71API Trigger:
72 |
73 v
74Workflow 03: Broadcast Sender
75 +-> Validate request + auth
76 +-> Fetch confirmed subscribers
77 +-> Send broadcast email to each
78 +-> Include unsubscribe link
79
80Daily Schedule:
81 |
82 v
83Workflow 04: Subscriber Analytics
84 +-> Read all subscribers
85 +-> Calculate metrics (total, growth, rates)
86 +-> Email report to admin
87```
88
89## Required n8n Credentials
90
91| Credential Type | Used For | Placeholder in JSON |
92|----------------|----------|---------------------|
93| Google Sheets OAuth2 | Subscriber storage | `YOUR_GOOGLE_SHEETS_CREDENTIAL_ID` |
94| SMTP (Gmail or custom) | All emails (confirmation, drip, broadcast, reports) | `YOUR_SMTP_CREDENTIAL_ID` |
95
96## Environment Variables
97
98```bash
99# Required
100NEWSLETTER_ADMIN_EMAIL=admin@yourbusiness.com
101NEWSLETTER_BASE_URL=https://yourdomain.com
102NEWSLETTER_SECRET=your-broadcast-api-secret
103```
104
105## Configuration Placeholders
106
107| Placeholder | Description |
108|-------------|-------------|
109| `YOUR_SUBSCRIBERS_SHEET_ID` | Google Sheet ID for subscriber data |
110| `YOUR_GOOGLE_SHEETS_CREDENTIAL_ID` | n8n Google Sheets credential ID |
111| `YOUR_SMTP_CREDENTIAL_ID` | n8n SMTP credential ID |
112| `YOUR_NOTIFICATION_EMAIL` | Fallback admin email (also set via `NEWSLETTER_ADMIN_EMAIL` env) |
113| `YOUR_DOMAIN` | Fallback domain (also set via `NEWSLETTER_BASE_URL` env) |
114
115## Google Sheets Schema (Subscribers)
116
117| Column | Type | Description |
118|--------|------|-------------|
119| email | text | Primary key, subscriber email |
120| name | text | Subscriber name |
121| status | text | pending / confirmed / unsubscribed |
122| source | text | Where they signed up (website, landing-page, etc.) |
123| subscribed_at | datetime | Signup timestamp |
124| confirmed | boolean | Whether email is confirmed |
125| token | text | Confirmation token |
126| last_drip_day | number | Last drip sent (0, 3, or 7) |
127| last_drip_at | datetime | When last drip was sent |
128
129## Quick Start
130
131### 1. Prerequisites
132- n8n v2.4+ (self-hosted)
133- Google Sheets OAuth2 credentials
134- SMTP email credentials
135
136### 2. Create Subscriber Sheet
137Create a Google Sheet with the columns above. Name the sheet tab "Subscribers".
138
139### 3. Import Workflows
140Import all 4 JSON files into n8n. Replace all `YOUR_*` placeholders.
141
142### 4. Test Signup
143```bash
144curl -X POST https://your-n8n.com/webhook/newsletter/signup \
145 -H "Content-Type: application/json" \
146 -d '{"email": "test@example.com", "name": "Test User", "source": "api-test"}'
147```
148
149### 5. Test Broadcast
150```bash
151curl -X POST https://your-n8n.com/webhook/newsletter/broadcast \
152 -H "Content-Type: application/json" \
153 -d '{
154 "_secret": "your-newsletter-secret",
155 "subject": "Test Broadcast",
156 "content": "<p>This is a test broadcast.</p>"
157 }'
158```
159
160## Use Cases
161
1621. **Personal newsletters** — Self-hosted alternative to Substack or ConvertKit
1632. **Business newsletters** — Weekly updates to customers with zero per-subscriber cost
1643. **Product updates** — Notify users about new features and releases
1654. **Community newsletters** — Manage subscriber lists for communities or organizations
1665. **Content creators** — Build an audience with automated drip sequences
167
168## Requirements
169
170- n8n v2.4+ (self-hosted recommended)
171- Google Sheets OAuth2 credentials
172- SMTP email credentials (Gmail, SES, or custom)