Automate Resume Screening Using Gmail, AI & Google Sheets

Discover how to automate resume screening from Gmail attachments using n8n, AI, and Google Sheets. This workflow reduces manual review time by extracting, analyzing, and scoring resumes automatically.
gmailTrigger
extractFromFile
agent
+3
Workflow Identifier: 1576
NODES in Use: gmailTrigger, extractFromFile, agent, outputParserStructured, lmChatOpenAi, googleSheets

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 workflow does

This workflow watches a Gmail inbox for new emails with PDF resume attachments.

It reads the resume text automatically.

Then it uses an AI model to find name, email, LinkedIn info, and gives a score for the candidate.

Finally, it saves all that data to a Google Sheet.

This removes manual typing and saves hours every day.


Who should use this workflow

This automation is for anyone who gets many resumes by email and wants to process them faster.

Recruiters, HR teams, or small companies can use it to avoid typing candidate details again.

It works best if resumes arrive as PDFs in Gmail inbox.


Tools and services used

  • Gmail: To receive emails with PDF resumes.
  • Extract Text from PDF File node: To pull text out from PDF attachments.
  • OpenAI GPT-4o-mini model: To analyze resume text and extract details.
  • Langchain Agent node: To run AI logic and create structured data.
  • Google Sheets: To save candidate info and scores in a spreadsheet.

Inputs, processing, and outputs

Inputs

  • Unread Gmail emails having attachments labeled for hiring
  • PDF resume files attached to emails

Processing steps

  • Download attachment PDFs from Gmail
  • Convert PDF content to plain text
  • Send resume text to OpenAI GPT-4o-mini via Langchain Agent
  • AI extracts name, email, LinkedIn, and gives a candidate score
  • Parse AI output as structured JSON to keep data consistent

Outputs

  • Append candidate data (name, email, LinkedIn, score) to Google Sheets
  • Store resume text in the same Google Sheet for reference

Beginner step-by-step: How to build this in n8n

Import and install the workflow

  1. Download the workflow file using the Download button on this page.
  2. Open n8n editor and click “Import from File”.
  3. Select the downloaded workflow file and load it.

Configure the nodes

  1. Add your Gmail credentials in the Gmail Trigger node to access your inbox.
  2. Check that the Gmail Trigger uses the filter has:attachment and targets the right label.
  3. Add OpenAI API key to the OpenAI Chat Model (GPT 4o-mini) node.
  4. Confirm the Extract from File (PDF) node uses the input property attachment_0.
  5. Enter your Google Sheets document ID and sheet name in the Google Sheets node.

Test and activate

  1. Send a test email with a PDF resume to your Gmail inbox.
  2. Run the workflow manually in n8n to check if the data extracts and appends correctly.
  3. If all works, activate the workflow.
  4. The workflow will run automatically based on the trigger settings to process new resumes.

You can manage running n8n on your own server or cloud by using self-host n8n.


Customization ideas

  • Change the AI prompt in the Langchain Agent to match your company’s criteria for candidate scoring.
  • Add more data fields like phone numbers or skills to the AI JSON schema.
  • Adjust Gmail filter query to only process applications with specific job titles.
  • Add a Google Drive node to save PDF resumes for backup.
  • Include a Slack or email notification node to tell HR when a new candidate is added.

Common issues and fixes

Workflow not triggering on new emails

Check the Gmail filter has has:attachment and labels are correct.

Confirm OAuth credentials are valid in the Gmail Trigger node.

AI Agent returns errors or bad data

Make sure the structured output parser JSON schema matches expected fields like name, email, linkedin, score.

Watch for API rate limits in OpenAI account.

Google Sheets node fails to add data

Verify that the Google Sheets document ID is correct.

Ensure OAuth has write permission to that sheet.

Final result

✓ Emails with PDF resumes are detected automatically.

✓ Candidate info is extracted accurately by AI and saved to a Google Sheet.

✓ Manual work is cut by hours and errors go down.

→ Recruiting is faster and more organized.

Frequently Asked Questions

Yes, any AI model that supports chat completions can be configured in the OpenAI Chat Model node.
Each resume analysis makes moderate API calls; plan for API usage limits accordingly.
Candidate info is stored in Google Sheets and processed within the n8n environment.
Yes, with proper scaling of n8n and managing OpenAI API limits, it can process large volumes.

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