This Chatbot automates the process of discovering job openings and generating tailored job application emails.
It combines AI agents, web scraping, and email drafting to streamline job applications.
This workflow transforms job applications from a manual, repetitive process into an intelligent AI-assisted automation system that:
It represents a strong example of combining conversational AI, external data tools, structured parsing, and workflow automation into a production-ready solution.
User starts a chat – The workflow begins when a user sends a message via the chat trigger.
PredictLeads Agent processes the request – A LangChain agent determines the user's intent. If the request involves company research, it first queries Context7, then optionally PredictLeads for deeper data.
Response parser – The agent's output is cleaned and parsed into a structured JSON format with list (boolean) and output fields.
List check – If list is true (e.g., a list of job URLs), the workflow extracts links and passes them to the next stage. If false, the agent responds directly to the user.
Link extraction – The Links Extractor node uses OpenAI to extract job posting URLs from the user's input.
Loop through each link – Each URL is processed individually using a Loop Over Items node.
Scrape job details – The Scrape Job node (powered by ScrapegraphAI) extracts:
Email presence check – If an email is found, the workflow proceeds to generate an application email. If not, it informs the user that no email is available and provides the job link.
Job Application Agent – A Gemini-powered agent generates a professional email using:
Create email) to format the subject and bodySend email tool – The agent triggers the Send email workflow, which:
User response – The final output is sent back to the user via chat, confirming the draft creation or notifying them of missing information.
To use this workflow, you need to configure the following credentials and nodes:
Context7Authorization: Bearer XXX).Multiple Headers PredictLeadsX-API-Key or similar).https://XXX/cv.pdf) or update it with your own.PredictLeads Agent and Job application Agent nodes.Job application Agent prompt.Send email tool calls another workflow by ID . Ensure this ID matches the current workflow (it should be self-referential).It automates the entire job application lifecycle:
No manual copy-paste required.
The system intelligently decides when to use:
This makes it dynamic and adaptable rather than static.
Before sending any email:
This prevents accidental or incorrect applications.
Each application is:
This increases response quality compared to generic templates.
Because of:
The workflow can process multiple job opportunities efficiently.
The workflow is cleanly modular:
👉 Subscribe to my new YouTube channel. Here I’ll share videos and Shorts with practical tutorials and FREE templates for n8n.
Contact me for consulting and support or add me on Linkedin.