This article outlines a practical use case of connecting a chatbot to an N8N automation. The goal was to allow users to ask questions about my professional experience, with responses generated based entirely on the information in my resume. The setup uses N8N hosted on Railway, which I previously documented in another article.
Objective
The chatbot is designed to:
- Provide accurate answers related to my work history, technical skills, tools, and education.
- Respond only to work related questions.
- Redirect unrelated queries back to the core topic.
- Suggest contacting me via LinkedIn if the question cannot be answered.
System Architecture
N8N on Railway
The chatbot runs through N8N, deployed on Railway. N8N handles the routing logic and API communication through a no-code/low-code interface.
Resume Data
The full content of my resume is uploaded to the N8N workflow in plain text. This data acts as the primary knowledge source when the AI model generates responses.
AI Integration via DeepSeek
Rather than using APIs from OpenAI or Anthropic, I chose DeepSeek for several reasons:
- DeepSeek delivers high-quality responses in reasoning and understanding.
- It provides significantly more tokens at a lower cost, which is ideal when working with long inputs like resumes.
- The API is easy to connect with using N8N’s HTTP request nodes.
Logic Flow
The chatbot follows this logic:
- A question is submitted through the chatbot on www.abarreto.es.
- AI Agent bot processes the query and determines whether it is related to my work experience.
- If the question is relevant, it is sent to DeepSeek along with my resume as context.
- If the question is unrelated (for example, personal preferences or general trivia), the bot replies with a message redirecting the user to ask about my professional background.
- If the answer cannot be generated based on the resume content, the bot instructs the user to contact me via LinkedIn: https://www.linkedin.com/in/alejandro-barreto-landa/
Conclusion
This project shows how a resume-based chatbot can be built using free, accessible tools. By combining N8N’s automation capabilities with DeepSeek’s affordable and powerful API, it’s possible to create a fully functional professional assistant that responds accurately and efficiently.
For questions or collaboration opportunities, I can be reached through my LinkedIn profile.