Skip to main content

Automate personalized email campaigns with Google Docs, Sheets and SMTP

Workflow preview

Workflow preview
100%
Automate personalized email campaigns with Google Docs, Sheets and SMTP preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Emailing Using Google Sheet, Google Docs, and SMTP Automate personalized email campaigns using a Google Sheets contact list, a Google Docs template, and SMTP delivery. How It Works Google Docs is u...

Best for

  • Social Media automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.googledocs, n8n-nodes-base.set, n8n-nodes-base.emailsend, n8n-nodes-base.filter, n8n-nodes-base.splitinbatches, n8n-nodes-base.wait

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Stéphane Heckel.

Original n8n.io source

1.1 Workflow description

Title
Automate personalized email campaigns with Google Docs, Sheets and SMTP
Workflow name
Automate personalized email campaigns with Google Docs, Sheets and SMTP

Emailing Using Google Sheet, Google Docs, and SMTP

Automate personalized email campaigns using a Google Sheets contact list, a Google Docs template, and SMTP delivery.

How It Works

  • Google Docs is used as the email template with variables: {{firstname}}, {{lastname}}, {{company}}, {{email}}.
  • Google Sheet contains your list of recipients (one per row).
  • For each contact, the workflow merges personal data into the Google Docs template.
  • Email is sent to each recipient via SMTP (batch size: 1). Use the Wait node to respect provider quotas.
  • After sending, the workflow updates the "process" column of the Google Sheet with the date/time.

How to Use

  1. Copy Templates:

  2. Configure Workflow:

    • Enter your Google Docs and Google Sheets IDs in the settings node.
    • Set your email subject in the appropriate parameter.
  3. Set Up Credentials:

    • Connect your Google account.
    • Configure the SMTP node with your mail server details.
  4. Update Data:

    • Edit the Google Docs template with your message and variables.
    • Prepare your Google Sheet with these columns: email, firstname, lastname, company.
  5. Deploy and Test:

    • Connect all nodes.
    • Test with a small contact batch.
    • Troubleshoot any node errors (indicated in red in n8n).

Requirements

  • Google Credentials & permissions: For Sheets and Docs access.
  • SMTP Server: For email delivery (adjust Wait node for rate limits).
  • n8n Version: Tested on 1.105.2 (Ubuntu).

Need Help?

See Also

After running your email campaign, some messages may fail to deliver. This workflow scans your email inbox for delivery errors (e.g., bounced messages), flags problematic email addresses in the Google Sheet and ensures future campaigns skip them.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 2 - contacts

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.4

Block 3 - template

Type / Role
n8n-nodes-base.googleDocs - googleDocs
Config choices
Version 2

Block 4 - updatebody

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 5 - settings

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - sendemail

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 2.1

Block 7 - notemailed

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2

Block 8 - updatecontacts

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.4

Block 9 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 10 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 11 - No Operation, do nothing

Type / Role
n8n-nodes-base.noOp - noOp
Config choices
Version 1

Block 12 - merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3

Block 13 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Automate personalized email campaigns with Google Docs, Sheets and SMTP
Complexity advanced
Nodes 21
Categories Social Media
Author Stéphane Heckel
Published 06 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7065/7065.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate personalized email campaigns with Google Docs, Sheets and SMTP do?

Emailing Using Google Sheet, Google Docs, and SMTP Automate personalized email campaigns using a Google Sheets contact list, a Google Docs template, and SMTP delivery. How It Works Google Docs is u...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Social Media use case.