Send HR job application auto-replies with Gmail and OpenAI GPT-4o

Go to Workflow
0 views
Built by Rahul Shah Rahul Shah
Created on August 10, 2026

Description

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
Polls Gmail every minute for new emails in the specified label.
Checks whether the email subject contains the phrase “job application”.
Extracts the applicant’s reply-to address, the company recipient address, and the original subject to prepare inputs for the reply.
Uses OpenAI (GPT-4o) to generate a professional HR response as JSON with a reply subject and body, enforcing a structured output schema.
Sends the generated reply email to the applicant from the company email address.
Does nothing for emails that do not match the “job application” subject check.

Setup
Connect your Gmail account and set the label ID (or label) that contains the incoming application emails.
Add your OpenAI credentials and confirm the model selection (gpt-4o) matches your account access.
Configure SMTP email sending credentials in the Email Send node and verify the from-address matches the mailbox that receives the applications.

Nodes Used (4)

AI Agent
@n8n/n8n-nodes-langchain.agent
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Send Email
n8n-nodes-base.emailSend
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured