Skip to main content

Cold lead re-engagement email generator with GPT-4o-mini, Outlook, and Sheets

Workflow preview

Workflow preview
100%
Cold lead re-engagement email generator with GPT-4o-mini, Outlook, and Sheets preview
Open on n8n.io

Important notice

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

1. Workflow Overview

This powerful n8n workflow helps you automatically re engage cold leads by summarizing their past emails and generating personalized outreach with OpenAI. It pulls in contacts from Google Sheets, f...

Best for

  • Lead Nurturing automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.stickynote, n8n-nodes-base.manualtrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.microsoftoutlook, n8n-nodes-base.aggregate, n8n-nodes-base.code

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Robert Breen.

Original n8n.io source

1.1 Workflow description

Title
Cold lead re-engagement email generator with GPT-4o-mini, Outlook, and Sheets
Workflow name
Cold lead re-engagement email generator with GPT-4o-mini, Outlook, and Sheets

This powerful n8n workflow helps you automatically re-engage cold leads by summarizing their past emails and generating personalized outreach with OpenAI. It pulls in contacts from Google Sheets, fetches their prior communication from Outlook, and then uses an AI agent to analyze, strategize, and write a draft re-engagement message — all automatically.


⚙️ What the Workflow Does

  1. 📄 Get Contacts from Google Sheets

    • Pulls a list of contacts and their email addresses from a Google Sheet.
  2. 📥 Search Emails from Outlook

    • For each contact, fetches all emails received from that address since January 1, 2025.
  3. 📊 Aggregate Emails

    • Merges relevant email fields (subject, body, createdDateTime) into a single string for analysis.
  4. 🧠 Use OpenAI to Analyze and Draft Response

    • AI Agent summarizes the lead’s communication history.
    • Suggests how to re-engage them in bullet points.
    • Writes a personalized draft email to re-initiate the conversation.
  5. 📝 Save to Google Sheets

    • Appends or updates the original row with:
      • Summary of communication
      • Re-engagement ideas
      • Suggested subject line
      • Suggested email body
  6. 📤 Create Draft Email in Outlook

    • Creates a draft email in your Microsoft Outlook account using the subject and body provided by OpenAI.
    • The email is not sent automatically — giving you a chance to review and personalize further.

🧰 What You'll Need

  • 🔐 Google Sheets API connection

    • OAuth2 credential setup in n8n
    • Make a copy of this sample sheet
  • 🔐 Microsoft Outlook OAuth2 connection

    • Connected inbox with access to historical messages
  • 🔐 OpenAI API Key

    • Add your OpenAI key in the OpenAI Chat Model node
    • Recommended model: gpt-4o-mini or higher

👨‍💼 Built By

Robert Breen
Automation Consultant | n8n Expert | Data Strategist

🔗 Website: https://ynteractive.com
📧 Email: [email protected]
💼 LinkedIn: https://www.linkedin.com/in/robert-breen-29429625/


🏷 Tags

openai outlook email reengagement lead nurturing automation google sheets ai email gpt-4o crm sales automation

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 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 2 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

Block 3 - Sticky Note

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

Block 4 - Sticky Note1

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

Block 5 - Sticky Note2

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

Block 6 - Sticky Note3

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

Block 7 - Sticky Note4

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

Block 8 - Start Workflow

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

Block 9 - Get Stale Leads

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

Block 10 - Get all emails from the lead

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

Block 11 - Combine into one field

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

Block 12 - Convert object fields to text

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

Block 13 - AI Agent - Re-Engage Lead

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2

Block 14 - Save data to Sheets

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

Block 15 - Create draft email

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

3. Summary Table

Workflow Cold lead re-engagement email generator with GPT-4o-mini, Outlook, and Sheets
Complexity advanced
Nodes 15
Categories Lead Nurturing, Multimodal AI
Author Robert Breen
Published 02 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6919/6919.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 Cold lead re-engagement email generator with GPT-4o-mini, Outlook, and Sheets do?

This powerful n8n workflow helps you automatically re engage cold leads by summarizing their past emails and generating personalized outreach with OpenAI. It pulls in contacts from Google Sheets, f...

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 Lead Nurturing, Multimodal AI use case.