Automate email tracking & generate pixel for lead nurturing with Google Sheet
Ready for 3.0What 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).
- Get CRM (Google Sheets): uses Google Sheets
- Create data pixel in base (Edit Fields (Set)): sets 1 field: data
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Create pixel image (Convert to File): converts data to a file (to binary)
- Generate Pixel (Edit Fields (Set)): sets 3 fields: pixel, email, webhook_url
- Respond to Webhook: sends the response back to the webhook caller
- Get vars (Edit Fields (Set)): sets 2 fields: pixel, email
- Email Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model
- Update Open email (Google Sheets): update
- Send email (Gmail): uses Gmail
…plus 1 more step. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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)
- Manual Trigger
n8n-nodes-base.manualTrigger - Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Google Sheets
n8n-nodes-base.googleSheets - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Gmail
n8n-nodes-base.gmail - Convert to File
n8n-nodes-base.convertToFile
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…