Automate Job Application Sorting with n8n & OpenAI

Tired of manually sorting job application emails? This n8n workflow uses OpenAI to classify incoming applications, extract key candidate information, and route emails efficiently—saving hours each week.
emailReadImap
textClassifier
informationExtractor
+3
Workflow Identifier: 1587
NODES in Use: EmailReadImap, ExtractFromFile, TextClassifier, InformationExtractor, lmChatOpenAi, NoOp
Automate job sorting with n8n and OpenAI

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

Learn how to Build this Workflow with AI:

What this workflow does

This workflow reads emails from an IMAP inbox and finds job applications automatically.
It then reads attached PDF resumes.
Next, it uses OpenAI to sort the emails into types like job application or invoice.
It also pulls key applicant details like names, age, work history.
Finally, it sends the data to other flows for actions like replying or storing info.
This saves time by automating reading and sorting emails.


Who should use this workflow

This workflow helps HR or recruitment teams overwhelmed with many emails.
If manual reading of job applications wastes hours weekly, this can reduce that load.
It works best when many applications arrive via email with PDF resumes.
Users should have basic email accounts with IMAP access.
OpenAI API access is needed for text classification and data extraction.


Tools and services used

  • IMAP email account: To fetch emails and attachments.
  • n8n platform: For building the automation workflow.
  • ExtractFromFile node: To read text from PDF resumes.
  • OpenAI TextClassifier node: To categorize emails.
  • OpenAI InformationExtractor node: To pull specific applicant details.
  • NoOp nodes: Placeholders for next process steps like scheduling or storage.

Inputs, processing steps, and outputs

Inputs

  • Emails from the defined IMAP inbox.
  • Attachments from emails, specifically PDF resumes.
    • Processing Steps

    • Fetch emails: The EmailReadImap node grabs all new emails.
    • Extract PDF text: The ExtractFromFile node pulls out text from the PDF attachments.
    • Classify emails: The TextClassifier node uses OpenAI to decide if the email is a job application, lead, invoice, or other.
    • Extract applicant info: The InformationExtractor node gets details like first and last names, age, residence, study, work experience, and personal traits from email plus resume.
    • Route outputs: The workflow sends the processed data to different NoOp nodes as placeholders for later real workflows.

    Outputs

    • Emails sorted by category.
    • Structured data with key applicant information.
    • Branches ready for further action like scheduling or data saving.

Step-by-step guide to use this workflow in n8n

Import the workflow

  1. Download the workflow file using the Download button on this page.
  2. Open the n8n editor where the workflow will run.
  3. Use the menu option “Import from File” to upload the workflow file.

Set up credentials and settings

  1. Add your IMAP email credentials in the EmailReadImap node.
  2. Insert your OpenAI API Key in the TextClassifier and InformationExtractor nodes.
  3. Check folder names or email addresses if the workflow needs specific ones.
  4. If needed, update any IDs or channels for downstream nodes like where to send results.

Test and activate

  1. Run the workflow once manually to make sure emails are fetched and processed.
  2. Look for errors and fix any credential or connection problems.
  3. Turn on the workflow toggle to activate it so new emails start getting processed automatically.

For users who prefer hosting n8n themselves, consider self-host n8n to have full control.


Common issues and how to fix them

  • Cannot connect to email: Double-check IMAP user, password, server address.
  • No text from PDF attachment: Make sure the attachment is a PDF file.
  • OpenAI classification not working: Verify the API Key and check you did not miss feed text input from both email and attachment.
  • Information extraction missing fields: Confirm the desired fields are listed correctly in the node settings.

Ways to customize the workflow

  • Add more categories in the TextClassifier node to match your company email types.
  • Extract extra details like certifications, languages, or references in the InformationExtractor node.
  • Replace the NoOp nodes with real workflows to send emails, update spreadsheets, or notify via Slack.

Summary of benefits and results

✓ Automates reading and sorting of incoming job application emails.
✓ Saves hours of manual processing time each week.
✓ Extracts structured applicant information from emails and PDFs.
✓ Reduces errors from manual data handling.
✓ Makes following up faster and easier by routing data to other systems.

Automate job sorting with n8n and OpenAI

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

The workflow uses an IMAP email account to read emails and their attachments.
It uses the OpenAI TextClassifier node to sort emails into categories like job application, inbound lead, invoice, or other.
It extracts details like first name, last name, age, residence, study credentials, work experience, and personal traits.
After importing, the user must add IMAP email credentials, OpenAI API Key, and update any IDs, emails, or folder names as needed before testing and activating.

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.