Match students with professors using OpenAI, Firecrawl, Google Sheets, and Gmail
Ready for 3.0What this workflow does
This AI workflow has 33 nodes and runs when someone submits an n8n form (“Research & Matching Request”). Along the way it connects OpenAI Chat Model, Google Sheets, Gmail and Google Drive. It also calls api.firecrawl.dev over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Research & Matching Request”).
- 02 — Validate & Normalize Input (Code): runs custom JavaScript code
- Download CV (Google Drive): download
- Download Motivation Letter (Google Drive): download
- 03 — Extract CV Text (Extract from File): extracts data from a file (pdf)
- 04 — Extract Motivation Letter 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
- Student Field Alignment Valid? (If): checks a condition and branches into true / false
- 07 — Prepare Professor Discovery Context (Code): runs custom JavaScript code
- Prepare Student Field Mismatch (Edit Fields (Set)): sets 2 fields: status, message
…plus 15 more steps. 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)
HTTP calls to: api.firecrawl.dev
Uses Firecrawl. New users get 10% off with our link.
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (14)
- Code
n8n-nodes-base.code - Extract from File
n8n-nodes-base.extractFromFile - Merge
n8n-nodes-base.merge - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Sheets
n8n-nodes-base.googleSheets - n8n Form Trigger
n8n-nodes-base.formTrigger - Gmail
n8n-nodes-base.gmail - Google Drive
n8n-nodes-base.googleDrive
From the author
Quick overview This workflow collects a student’s target field and documents, analyzes them with OpenAI, scrapes a university faculty directory via Firecrawl, evaluates and ranks professor research-fit matches, saves results to Google Sheets, and creates a…