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.