AI Agent Orchestrator for Job Application Document Generation - n8n Workflow

Use this sophisticated n8n workflow to automatically scrape LinkedIn jobs, generate tailored resumes and cover letters using iterative AI agents, and store documents in Google Docs. This powerful n8n template streamlines career applications.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Markdown formatted string.

Overview

Job searching and resume tailoring is highly time-consuming. This complex n8n workflow solves this by utilizing advanced AI Agent orchestration and web scraping to instantly generate hyper-personalized application documents. By initiating the n8n trigger with a LinkedIn job URL, the system scrapes the job and company details using BrightData. It then engages a multi-step AI process: a Master Agent coordinates a 'Resume Editor' and an 'HR Reviewer' to refine the resume iteratively until the quality score is high. This n8n template provides immense value by ensuring every application is perfectly tailored to the specific role and company, dramatically increasing successful application rates. This entire process, managed efficiently by this n8n workflow, results in ready-to-use documents saved directly to Google Docs.

How it Works

This highly sophisticated automation flow is initiated by a custom n8n trigger:


  1. Trigger and Data Acquisition: The flow starts with the When chat message received n8n trigger, where the user inputs a LinkedIn Job URL. The workflow immediately uses the BrightData n8n node (Extract structured data from a single URL) to scrape the job details, and a subsequent BrightData n8n node extracts detailed company information.

  2. Data Storage: The extracted job and company data are recorded using Google Sheets n8n nodes (append job details and append company detail) for historical tracking.

  3. Master AI Orchestration: The Master Agent n8n node takes over. This agent is configured with a complex system prompt instructing it to coordinate two sub-workflows (tools) iteratively:

a. It calls the Resume Editor agent to create a draft tailored to the job description.
b. It sends the result to the HR Reviewer agent, which returns a quality score and comments.
c. If the score is below 75%, the Master Agent loops back, passing the HR comments to the Resume Editor for refinement. This iterative process continues until the score requirement is met.

  1. Document Generation (Resume & Cover Letter): Once the optimized resume is achieved, the n8n workflow executes the Generate Cover Letter n8n template (sub-workflow) using the finalized output. Both the resume and cover letter are then saved using Google Docs n8n nodes (Create a document and Update a document).

  2. Interview Preparation: Finally, the Interview Coach n8n node executes another external workflow to generate tailored interview questions and coaching based on the final documents and job details, which is also saved to Google Docs.

Installation Guide

To deploy this n8n workflow template, follow these steps:


  1. Import: Copy the provided JSON and import it into your n8n instance.

  2. Credentials Setup: You must configure credentials for the following services:

BrightData: Set up the credentials for the BrightData n8n node to enable web scraping of LinkedIn.
OpenAI: Configure OpenAI API credentials for the LLM n8n node (GPT-4o) used by the Master Agent.
* Google Sheets & Docs: Set up Google OAuth2 credentials. Ensure the associated account has permission to append data to the specified Google Sheets documents and create documents in Google Drive folders.

  1. Sub-Workflow Linking: This n8n workflow relies on three external sub-workflows (Resume Editor, HR & Technical Reviewer, Cover Letter Agent, and Interview Coach). You must import these corresponding n8n templates and update the 'Workflow ID' parameters within the 'Resume Editor', 'HR Reviewer', 'Generate Cover Letter', and 'Interview Coach' n8n nodes to point to the correct sub-workflow IDs in your installation.

  2. Activation: Activate the When chat message received n8n trigger to obtain the webhook URL, ready to receive job links.

Node Details

This n8n workflow utilizes several specialized n8n nodes to achieve complex AI orchestration and data handling:

When chat message received (Langchain ChatTrigger n8n node): Acts as the entry point or n8n trigger. It listens for a message (the job URL) to start the automation.
Extract structured data from a single URL (BrightData n8n node): Used twice to perform targeted web scraping of LinkedIn. The first instance retrieves job details, and the second retrieves company profile information.
append job details / append company detail (Google Sheets n8n node): These nodes handle persistence, saving the scraped data into a Google Sheet using the Append operation.
Master Agent (Langchain Agent n8n node): The core intelligence of the n8n workflow. It is configured as a Master Orchestrator (using GPT-4o) to manage the iterative refinement process between the Resume Editor and HR Reviewer tools. It defines the goal to reach a score above 75% before finalizing the output.
Resume Editor / HR Reviewer (Langchain Tool Workflow n8n node): These use sub-workflows as specialized tools within the Master Agent environment. They are crucial components of this advanced n8n template.
Generate Cover Letter / Interview Coach (Execute Workflow n8n node): Calls other pre-built n8n templates or sub-workflows to handle the specific tasks of drafting the cover letter and generating interview preparation material.


  • Create a document / Update a document (Google Docs n8n node): Responsible for outputting the final, refined documents (Resume, Cover Letter, Interview Prep) to Google Drive, ensuring organized document creation and population.

Related n8n Workflows

Free

Nodes: 10 Nodes
Updated: December 26 2025
View all
Created by
jun shou
jun shou

Featured*