This n8n template builds a fully functional HR chatbot that connects with BambooHR, retrieves company policies, benefits documents, and employee contact information. Employees can chat with the bot to ask about company policies, benefits, or escalation procedures. If the query involves finding a person or department contact, the bot uses BambooHR to look up the most relevant employee or department head, providing contact details when available.
Features:
- BambooHR Integration: Automatically fetches HR documents (PDFs) like the handbook, 401 (k) policies, benefits, and expense policies.
- Vector Store with Supabase: Converts documents into embeddings and stores them for semantic retrieval during conversations.
- AI-Powered Chat: Uses OpenAI’s language models to respond naturally to employee questions.
- Employee Lookup Tool: Enables the chatbot to retrieve individual employee or department contacts (including supervisors or senior staff).
- Escalation Logic: Fallback steps to find the best next contact if a direct match is not found, ensuring employees always have a recommended point of contact.
- Memory Buffer: Maintains context across messages for smoother, more conversational interactions.
- Flexible Setup: Can run from manual triggers or chat-based webhooks, adaptable to your organization’s workflow.