Skip to main content

Personalize candidate feedback with GPT-4o, Google Sheets & Gmail for HR teams

Workflow preview

Personalize candidate feedback with GPT-4o, Google Sheets & Gmail for HR teams preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

Overview

Description

This workflow automates personalized candidate communication for both shortlisted and rejected applicants. It fetches candidate details, processes resumes, checks for errors, and uses GPT-4o to generate professional HTML emails. Shortlisted candidates receive congratulatory onboarding plans, while rejected candidates receive polite rejections with learning resources.

What This Template Does (Step-by-Step)

  • ⚑ Manual Trigger – Starts the workflow execution.
  • πŸ“‘ Candidate Data Fetch (Google Sheets) – Pulls structured candidate data (name, email, resume link, skills, job info, status).
  • πŸ“₯ Resume Downloader (Google Drive) – Downloads candidate resumes from sheet links.
  • βœ… Resume File Check (If Condition) – Ensures the resume file is valid before proceeding.
  • ⚠️ Error Logging (Google Sheets) – Records failed or missing resumes in a dedicated sheet for audit.
  • πŸ“„ PDF β†’ Text Extractor – Extracts raw resume text for deeper AI analysis.
  • 🧩 Candidate Data Builder (Code Node) – Combines Google Sheets data with extracted resume text into a single enriched JSON object.
  • 🎯 Shortlisted vs Rejected (If Condition) – Splits candidates into two flows based on their status field.

Shortlisted Path

πŸŽ‰ Congrats + Onboarding Plan (LLM Chain) – GPT-4o generates a congratulatory HTML email including:

  • Identified skill gaps
  • Recommended online courses (Coursera/Udemy/LinkedIn Learning)
  • Next onboarding steps πŸ“§ Candidate Mailer – Shortlisted (Gmail) – Sends the onboarding email directly to the candidate.

Rejected Path

πŸ™ Polite Rejection + Learning Plan (LLM Chain) – GPT-4o generates a professional rejection email including:

  • Empathetic rejection message
  • Constructive feedback on skill gaps
  • Learning resources to improve for future opportunities πŸ“§ Candidate Mailer – Rejected (Gmail) – Sends the polite rejection + learning plan to the candidate.

Prerequisites

  • Google Sheets (candidate database + error log)
  • Google Drive (resume storage)
  • Gmail API (for sending candidate emails)
  • Azure OpenAI (GPT-4o-mini model access)

Key Benefits

βœ… Automates candidate communication (both shortlisted & rejected) βœ… Delivers professional, HTML-ready emails βœ… Enhances candidate experience with personalized learning plans βœ… Prevents silent rejections by providing constructive resources βœ… Improves employer branding with empathetic communication βœ… Error resilience via logging and validation steps

Perfect For

  • Recruitment teams managing high candidate volume
  • Companies looking to humanize rejections
  • HR departments that want automated but personalized communication
  • Organizations investing in candidate experience & employer brand