This n8n workflow turns labeled Gmail leads into automated cold outreach. It watches Gmail for new unread emails under the label Label_ENRICHED_LEADS and checks every minute. It pulls the lead's name, email address, company, title and message context from the email headers and content.
OpenAI's GPT-4o-mini writes a JSON-formatted subject line, an initial outreach email and a short follow-up message. The workflow validates and parses this output into structured fields. It sends the initial email through Gmail to the lead's address, waits 3 days, then sends the follow-up with a "Re:" subject line.
Each outreach attempt is logged to Google Sheets. A row is appended with the lead details, generated subject lines, timestamps and outreach status. This gives a record of every touchpoint for sales tracking.
- Platform
- n8n workflow
- Trigger
- Gmail Trigger on unread emails under the label Label_ENRICHED_LEADS, runs every minute
- AI model
- OpenAI gpt-4o-mini
- Generated content
- Subject line (JSON-formatted), initial outreach email, short follow-up message
- Extracted lead data
- Name, email address, company, title, message context
- Follow-up delay
- 3 days, sent with a "Re:" subject line
- Logging
- Appends a row to Google Sheets with lead details, subjects, timestamps and outreach status
- Integrations
- Gmail OAuth2, Google Sheets OAuth2
- Nodes
- Set, Code, Wait, Gmail, Gmail Trigger, Google Sheets
- Use cases
- First-touch and follow-up emails for SaaS cold outreach from enriched inbound leads; testing outreach pipelines in n8n; keeping an outreach history in Google Sheets