Automate resume processing using this powerful n8n workflow. Extract structured candidate data from PDF email attachments using AI (via OpenRouter) and store relational data efficiently in Supabase tables. Use this n8n template for HR automation.
Download this n8n workflow template and start using it instantly.
Managing high volumes of resumes is time-consuming and prone to errors. This n8n workflow solves this by completely automating the ingestion, extraction, and structuring of candidate data. Utilizing the Gmail n8n trigger, the system constantly monitors for new attachments. Once a PDF resume is detected, the workflow uses advanced AI capabilities (via an LLM chain) to parse the unstructured text into clean, structured JSON data, identifying names, contact details, skills, and experience. This structured data is then securely saved into multiple relational tables within a Supabase database. This n8n automation provides a ready-to-use foundation for building powerful HR screening tools.
This powerful n8n workflow initiates every time a new email arrives in your configured Gmail account, acting as the primary n8n trigger.
To deploy this automated n8n workflow template, follow these steps:
URL in the 'HTTP Request' node to point to your Supabase API endpoint for the primary CV table.[key] placeholders in the 'HTTP Request' headers (apikey and Authorization Bearer token) with your actual Supabase service key.Table ID parameters in all three dedicated Supabase n8n nodes ('Supabase', 'Supabase1', 'Supabase2') to match your experiences, skills, and education table names respectively. Define the appropriate Supabase credentials for these connections. Gmail Trigger (n8n trigger): The starting n8n node, polling for new emails and downloading attachments. Key setting: Download Attachments is enabled.
If n8n node: Checks for the existence of an attachment (attachment_0) before proceeding to extraction, ensuring stability in the n8n workflow.
Extract from File n8n node: Takes the binary data from the attachment and extracts the raw text content, configured specifically for PDF files.
Basic LLM Chain n8n node: Orchestrates the AI extraction. It feeds the raw text into the connected LLM (OpenRouter) with a role-defining prompt instructing it to act as an HR expert.
Structured Output Parser n8n node: Ensures the AI output conforms to a strict JSON schema, which is crucial for reliable data mapping later in the n8n workflow.
HTTP Request n8n node: Used for the initial primary insertion into Supabase (Candidate details), configured with POST method and required API key headers.
Edit Fields (Set) n8n nodes: These nodes isolate specific array fields (Experience, Skill, Education) from the LLM output into separate, easily manageable variables.
Split Out n8n node: A critical core logic n8n node that transforms a single item containing an array into multiple individual items, allowing each skill or experience to be processed and inserted separately.
Use this n8n workflow to automatically restore all your backed-up n8n workflow configurations from a GitHub repository, ensuring rapid recovery and deployment.

Restore all your critical n8n credentials automatically from a GitHub backup repository. This n8n workflow template uses core n8n nodes for rapid DevOps recovery.

Bulk restore n8n workflows quickly from Google Drive JSON backup files. This essential n8n workflow automates instance migration and disaster recovery using the internal n8n node.

Automate resume review using an n8n workflow, OpenAI (GPT-4o-mini) scoring, and human-in-the-loop validation via the gotoHuman n8n node. High quality control and reliable scoring.

Use this advanced n8n workflow to automate candidate screening, conduct AI-driven behavioral interviews using Elevenlabs, and manage applicant tracking efficiently in Notion. Perfect for sophisticated HR automation.









































