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

πŸ“„ Get Contacts from Google Sheets
Pulls a list of contacts and their email addresses from a Google Sheet.

πŸ“₯ Search Emails from Outlook
For each contact, fetches all emails received from that address since January 1, 2025.

πŸ“Š Aggregate Emails
Merges relevant email fields (subject, body, createdDateTime) into a single string for analysis.

🧠 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.

πŸ“ Save to Google Sheets
Appends or updates the original row with: Summary of communication Re-engagement ideas Suggested subject line Suggested email body

πŸ“€ 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: robert@ynteractive.com
πŸ’Ό 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

0
Downloads
0
Views
8.64
Quality Score
intermediate
Complexity
Author:Robert Breen(View Original β†’)
Created:8/13/2025
Updated:8/25/2025

πŸ”’ Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments