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
Automate resume screening with n8n and Google AI

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

Learn how to Build this Workflow with AI:

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.


Automate resume screening with n8n and Google AI

Visit through Desktop to Interact with the Workflow.

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 Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.