Templates / Automate email tracking & generate pixel for lead nurturing with Google Sheet

Automate email tracking & generate pixel for lead nurturing with Google Sheet

Ready for 3.0

by Davide Boizza ✓ · 2,542 views · created 2025-11-26 · Lead Nurturing, Multimodal AI

Ready 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 14 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Google Sheets and Gmail.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Get CRM (Google Sheets): uses Google Sheets
  2. Create data pixel in base (Edit Fields (Set)): sets 1 field: data
  3. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Create pixel image (Convert to File): converts data to a file (to binary)
  5. Generate Pixel (Edit Fields (Set)): sets 3 fields: pixel, email, webhook_url
  6. Respond to Webhook: sends the response back to the webhook caller
  7. Get vars (Edit Fields (Set)): sets 2 fields: pixel, email
  8. Email Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model
  9. Update Open email (Google Sheets): update
  10. Send email (Gmail): uses Gmail

…plus 1 more step. See the full node list below.

Services it uses

OpenAI Chat ModelGoogle SheetsGmail

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.

Nodes used (10)

From the author

This workflow automates the process of sending personalized lead-nurturing emails and tracking when each recipient opens the message through a custom tracking pixel. It integrates Google Sheets, Gmail, OpenAI, and webhooks to generate, deliver, and monitor…

Excerpt from Davide Boizza'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.