AI-Powered HR & IT Helpdesk Chatbot for Telegram
Integrates with:
Overview
Unlock Instant Employee Support with this AI Agent
This AI Agent transforms your internal HR and IT support by creating an intelligent chatbot accessible via Telegram. It ingests your company's policy documents (e.g., employee handbooks, IT guides in PDF format), building a comprehensive knowledge base. Employees can then ask questions in natural language, including voice messages, and receive instant, accurate answers.
This AI Agent's core abilities include:
- Document Intelligence: Extracts and understands information from your PDF documents.
- Knowledge Base Creation: Uses OpenAI embeddings and a PostgreSQL PGVector store to create a searchable knowledge base.
- Audio Transcription: Transcribes voice messages from Telegram users into text using OpenAI Whisper.
- Conversational AI: Leverages OpenAI's powerful language models for natural and contextual interactions.
- Retrieval Augmented Generation (RAG): Provides answers grounded in your specific documents, ensuring relevance and accuracy.
Key Features & Benefits
- Automated Q&A: Instantly answers employee questions about HR policies, IT procedures, and other internal information, 24/7.
- Telegram Integration: Provides a familiar and accessible chat interface for all employees.
- Voice Message Support: Allows users to ask questions by speaking, with AI-powered transcription.
- Contextual Memory: Remembers previous interactions in a conversation for a more natural and helpful experience, thanks to PostgreSQL-based chat memory.
- Reduced Workload: Frees up HR and IT staff from answering repetitive questions, allowing them to focus on more complex tasks.
- Scalable Knowledge: Easily update the knowledge base by re-running the ingestion part of the workflow with new or updated documents.
- Powered by OpenAI & PGVector: Utilizes cutting-edge AI for embeddings, language understanding, transcription, and efficient vector search for RAG.
Use Cases
- B2C E-commerce & B2B SaaS: Provide instant answers to employee questions about company policies, benefits, or internal IT procedures via a familiar chat interface.
- Automate responses to common HR queries (e.g., leave policy, benefits enrollment, expense reporting).
- Offer 24/7 IT support for basic troubleshooting by referencing technical guides and FAQs.
- Streamline employee onboarding by providing an interactive Q&A for new hires regarding company processes and resources.
- Reduce HR/IT ticket volume by deflecting common inquiries to the AI chatbot.
Prerequisites
- An n8n instance (Cloud or self-hosted).
- OpenAI API Key with access to:
- Embedding models (e.g.,
text-embedding-ada-002
or newer). - Chat completion models (e.g.,
gpt-3.5-turbo
,gpt-4
). - Audio transcription models (e.g.,
whisper-1
).
- Embedding models (e.g.,
- Telegram Bot API Token created via BotFather.
- PostgreSQL database credentials. The database must have the PGVector extension enabled.
Setup Instructions
- Download the n8n workflow JSON file (
ai-hr-it-helpdesk-chatbot-v1.0.0.json
). - Import the workflow into your n8n instance.
- Configure Credentials:
- Update all OpenAI nodes ('Embeddings OpenAI', 'OpenAI' for transcription, 'OpenAI Chat Model') with your OpenAI API Key.
- Update all PostgreSQL nodes ('Create HR Policies', 'Postgres Chat Memory', 'Postgres PGVector Store') with your PostgreSQL credentials.
- Configure the 'Telegram Trigger' and 'Telegram' (send message) nodes with your Telegram Bot API Token.
- Initial Knowledge Base Setup:
- In the 'HTTP Request' node, change the
url
parameter to the direct download link of your internal policy PDF document. - Manually execute the workflow starting from the 'When clicking ‘Test workflow’' node. This will download the document, extract its text, create embeddings, and store them in your PostgreSQL vector store. This step only needs to be run once initially, or when your policy documents change.
- In the 'HTTP Request' node, change the
- Customize AI Agent (Optional):
- Review and adjust the
systemMessage
in the 'AI Agent' node (e.g., "You are a helpful assistant for HR and employee policies") to better suit your company's tone and specific domain. - Modify the 'Answer questions with a vector store' tool's
name
anddescription
if desired.
- Review and adjust the
- Activate the workflow.
- Test by sending text and voice messages to your Telegram bot.
Want your own unique AI agent?
Talk to us - we know how to build custom AI agents for your specific needs.
Schedule a Consultation