Send HR job application auto-replies with Gmail and OpenAI GPT-4o
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.
What this workflow does
This AI workflow has 8 nodes and runs on Gmail events. Along the way it connects Gmail and OpenAI Chat Model.
How it runs
Trigger: On Gmail events.
- Check Subject Condition (If): checks a condition and branches into true / false
- Set Email Parameters (Edit Fields (Set)): sets 3 fields: candidateEmail, subject, companyEmail
- Email Content Analyzer Agent (AI Agent): runs an AI agent, with model: AI Draft Generator; output parser: Parse AI Output
- Send Automated Reply (Send Email): sends an email over SMTP
Services it uses
Other OpenAI + Gmail templates (1,623)
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.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (When Email Received).
Nodes used (8)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - AI Agent
@n8n/n8n-nodes-langchain.agent - Edit Fields (Set)
n8n-nodes-base.set - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Send Email
n8n-nodes-base.emailSend - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Quick overview This workflow monitors a labeled Gmail inbox for job application emails, uses OpenAI (GPT-4o) to draft a structured HR reply, and sends the response back to the applicant via SMTP email. How it works 1. Polls Gmail every minute for new emails…