Draft evidence-based professor outreach emails with GPT-4.1 and Gmail
Ready for 3.0What this workflow does
This AI workflow has 37 nodes and runs when someone submits an n8n form (“Personalized Research Outreach Request”). Along the way it connects OpenAI Chat Model, Gmail and Google Drive.
How it runs
Trigger: When someone submits an n8n form (“Personalized Research Outreach Request”).
- 02 — Validate & Normalize Input (Code): runs custom JavaScript code
- Download Motivation Letter (Google Drive): download
- Download CV (Google Drive): download
- 04 — Extract Motivation Letter Text (Extract from File): extracts data from a file (pdf)
- 03 — Extract CV Text (Extract from File): extracts data from a file (pdf)
- 05 — Merge Student Documents (Merge): merges the data from its input branches
- 06 — Build Student Research Profile (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
- 03 — Validate Required Input (If): checks a condition and branches into true / false
- 04 — Scrape Professor Profile (HTTP Request): calls an HTTP API
- Stop and Error: stops the run with an error
…plus 14 more steps. See the full node list below.
Services it uses
Other OpenAI + Gmail templates (1,623) · Other OpenAI + Google Drive templates (628) · Other Gmail + Google Drive templates (465)
Scraping pages by hand? Firecrawl is a simpler option (10% off for new users).
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 (15)
- If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - HTML
n8n-nodes-base.html - Edit Fields (Set)
n8n-nodes-base.set - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Gmail
n8n-nodes-base.gmail - Stop and Error
n8n-nodes-base.stopAndError - n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - Google Drive
n8n-nodes-base.googleDrive - Extract from File
n8n-nodes-base.extractFromFile - Merge
n8n-nodes-base.merge - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
Quick overview This workflow collects a student’s details plus CV and motivation letter PDFs, extracts evidence from an official professor profile page, and uses OpenAI to generate and quality-check a personalized outreach email, then creates an unsent Gmail…