Automate Resume Screening with n8n and Google Gemini AI

This workflow automates resume screening by converting candidate PDFs into images and analyzing them with Google’s Gemini AI, preventing manipulation of applicant tracking systems and saving recruiting time.
googledrive
httpRequest
lmChatGoogleGemini
+6
Workflow Identifier: 1532
NODES in Use: Manual Trigger, Sticky Note, Google Drive, HTTP Request, Edit Image, Langchain Google Gemini, Langchain Chain LLM, Langchain Output Parser Structured, IF

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What This Automation Does

This workflow downloads a resume PDF from Google Drive.

It turns the PDF into a clear image for AI to read.

The image is resized for faster AI processing.

Google Gemini AI reviews the image for hidden tricks in the resume.

The AI decides if the candidate qualifies for the job.

The workflow then branches automatically based on the AI decision.


Tools and Services Used

  • Google Drive node: Downloads PDF resumes stored in the cloud.
  • Stirling PDF API: Converts PDF pages to high-quality images.
  • Edit Image node: Resizes images to speed up AI analysis.
  • Google Gemini AI API with Langchain: Reads and understands images to detect hidden resume manipulations.
  • Conditional IF node: Directs workflow based on AI results.

Workflow Inputs, Processing, and Outputs

Inputs

  • The PDF resume file stored in Google Drive identified by file ID.

Processing Steps

  • Download the resume PDF using the Google Drive node.
  • Convert single-page PDF to an image via Stirling PDF HTTP API.
  • Resize the image to 75% of original size in the Edit Image node.
  • Send the resized image to Google Gemini AI with a custom prompt to evaluate plumber job fit and detect manipulative hidden prompts.
  • Parse the AI response JSON output using Langchain Structured Output Parser node.
  • Use an IF node to decide if the candidate qualifies for the next stage.

Outputs

  • Structured JSON stating if candidate is qualified.
  • Workflow branches—for qualified candidates, it proceeds further. For others, it stops or handles accordingly.

Beginner Step-by-Step: How to Use This Workflow in n8n

Download and Import

  1. Download the workflow file from this page.
  2. In the n8n editor, click on “Import from File” to upload it.

Set Up Credentials and IDs

  1. Add Google Drive credentials so the workflow can access resume files.
  2. Enter the Stirling PDF API key or instance URL if self-hosting is used.
  3. Set up Google Gemini AI API credentials in the Langchain node.
  4. Update the Google Drive Download Resume (Google Drive) node’s fileId to match the resume file’s ID.

Review Prompts and Settings

  1. Check the Candidate Resume Analyser (Langchain ChainLLM) prompt and edit it if assessing for a different job role.
  2. Verify the Resize Converted Image (Edit Image) settings for resizing percentages.

Testing and Activation

  1. Run the workflow once by clicking the Test Workflow button.
  2. Check the execution logs to confirm the process runs without errors and the qualification output appears.
  3. Activate the workflow for production use.

Optionally, schedule triggers or connect other nodes for automation like sending interview invites. For self-hosting n8n, see self-host n8n.


Customizations and Tips

  • You can edit the AI prompt to target other job titles, simply replace “the role of Plumber” with another title.
  • Set Stirling PDF API to convert multiple pages if resumes have more than one page by using singleOrMultiple set to “multiple”.
  • Replace the Manual Trigger with a Gmail trigger node to auto-process resumes sent by email.
  • Change resizing scale in the image node to balance processing speed and detail.
  • Add nodes like Google Sheets or Slack to report candidate qualification results immediately.

Troubleshooting Common Problems

  • Download fails: Check Google Drive file ID and permissions. Ensure credentials have right access.
  • PDF to image API error 400: Verify multipart form data is correctly set. Confirm PDF binary is properly passed.
  • AI parsing error: Make sure AI prompt returns formatted JSON that matches the parser schema. Update parser if prompt changes.
  • Incorrect IF node branching: Confirm condition logic matches structure of AI output JSON.

Pre-Production Checklist

  • Confirm Google Drive file access and valid file IDs.
  • Verify Stirling PDF API availability and correct API key or self-hosting setup.
  • Test Google Gemini AI API credentials and connectivity.
  • Run full workflow test with sample resume having a hidden prompt.
  • Backup workflow and store API keys securely.

Deployment Guide

After testing, activate the workflow in n8n editor.

Schedule it with cron triggers or connect to email or webhooks for live candidate screening.

Monitor n8n executions dashboard for errors and performance.


Summary of Benefits

✓ Saves recruitment time by automating resume review of PDFs with hidden prompts.

✓ Detects resume manipulations that fool normal ATS systems.

✓ Uses image-based AI reading for more accurate candidate qualification.

✓ Automatically branches workflow for further hiring steps.


Frequently Asked Questions

The Google Drive node downloads the resume using a specific file ID.
It converts the PDF resume into a high-quality image for AI vision analysis.
The AI reads the resized resume image and returns JSON indicating if the candidate is qualified.
Yes, by setting Stirling PDF API parameter to convert multiple pages to images.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free