BambooHR AI-Powered Company Policies and Benefits Chatbot
Configured with Agent, Aggregate, Bamboo Hr, Chain LLM, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Trigger
- Files / media
- AI & models
- Transform
- Data store
- Subworkflow
- Integration
- Routing
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| When clicking ‘Test workflow’ | Trigger | Manual Trigger | See node parameters |
| Default Data Loader | Files / media | Document Default Data Loader | See node parameters |
| Embeddings OpenAI | AI & models | Embeddings Open Ai | See node parameters |
| Recursive Character Text Splitter | Transform | Text Splitter Recursive Character Text Splitter | See node parameters |
| Window Buffer Memory | Data store | Memory Buffer Window | See node parameters |
| OpenAI Chat Model | AI & models | OpenAI Chat Model | See node parameters |
| Vector Store Tool | AI & models | Tool Vector Store | See node parameters |
| OpenAI Chat Model1 | AI & models | OpenAI Chat Model | See node parameters |
| Embeddings OpenAI1 | AI & models | Embeddings Open Ai | See node parameters |
| Employee Lookup Tool | Subworkflow | Tool Workflow | See node parameters |
| OpenAI Chat Model2 | AI & models | OpenAI Chat Model | See node parameters |
| OpenAI Chat Model3 | AI & models | OpenAI Chat Model | See node parameters |
| OpenAI Chat Model4 | AI & models | OpenAI Chat Model | See node parameters |
| Auto-fixing Output Parser | Transform | Output Parser Autofixing | See node parameters |
| OpenAI Chat Model5 | AI & models | OpenAI Chat Model | See node parameters |
| Structured Output Parser | Transform | Output Parser Structured | See node parameters |
| GET all files | Integration | Bamboo Hr | file / getAll |
| Filter out files from undesired categories | Routing | Filter | See node parameters |
| Split out individual files | Transform | Split Out | See node parameters |
| Filter out non-pdf files | Routing | Filter | See node parameters |
| Download file from BambooHR | Integration | Bamboo Hr | file / download |
| Supabase Vector Store | Data store | Vector Store Supabase | See node parameters |
| Employee initiates a conversation | Trigger | Chat Trigger | See node parameters |
| Supabase Vector Store Retrieval | Data store | Vector Store Supabase | See node parameters |
| AI-Powered HR Benefits and Company Policies Chatbot | Trigger | Execute Workflow Trigger | See node parameters |
| Text Classifier | AI & models | Text Classifier | See node parameters |
| GET all employees | Integration | Bamboo Hr | getAll |
| Filter out other employees | Routing | Filter | See node parameters |
| Stringify employee record for response | Transform | Edit Fields | See node parameters |
| GET all employees (second path) | Integration | Bamboo Hr | getAll |
| Extract departments | Transform | Aggregate | See node parameters |
| Ensure uniqueness in department list | Transform | Edit Fields | See node parameters |
| Extract department | AI & models | Information Extractor | See node parameters |
| Retrieve all employees | Integration | Bamboo Hr | getAll |
| Filter out other departments | Routing | Filter | See node parameters |
| Extract relevant employee fields | Transform | Aggregate | See node parameters |
| Identify most senior employee | AI & models | Chain LLM | See node parameters |
| Format name for response | Transform | Edit Fields | See node parameters |
| HR AI Agent | AI & models | Agent | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
bambooHrApiopenAiApisupabaseApi
Workflow notes
Sticky Note3
Toggle off the simplify option to ensure categories are retrieved as well
Sticky Note4
This employee lookup tool gives the AI Benefits and Company Policies chatbot additional superpowers by allowing it to search for an individual or a department to retrieve contact information from BambooHR.
AI Chatbot Operating Guidelines
AI Chatbot Operating Guidelines
- When an employee asks for a contact person, first attempt to find the relevant contact in company_files.
- If a contact person is found but their details (e.g., email or phone number) are missing, use the
employee_lookup_toolto retrieve their contact details. - If no contact person is found:
- Use the
employee_lookup_toolwith "HR" (or another relevant department) to retrieve the most senior person in that department. - If no senior contact is found, ask the employee for their name.
- Use the
employee_lookup_toolto retrieve their supervisor’s name. - Use the
employee_lookup_toolto retrieve their supervisor’s details. - Provide the supervisor's contact information and recommend them as the best next point of contact.
GetAll employees from BambooHR
GetAll employees from BambooHR
BambooHR does not offer search by {field} functionality for its /employees endpoint, so filtering must be done after data retrieval. This can be inefficient for very large organizations where there may be multiple employees with the same name or simply a large number of employees.
GET singular employee by name path
GET singular employee by name path
This path may be used multiple times by the HR AI Agent to look up the employee's details, and then to look up their supervisor's details.
GET senior leader of department path
GET senior leader of department path
This path would normally only be used when no other contacts can be identified from the company_files. The employee can retrieve the contact details for the most senior leader of a department should they request it.
Final node returns employee name
Final node returns employee name
The AI Agent can then call the employee lookup path to retrieve details, if requested.
About the maker
About the maker
BambooHR AI-Powered Company Policies and Benefits Chatbot
BambooHR AI-Powered Company Policies and Benefits Chatbot
Purpose and structure
This folder contains the BambooHR AI-Powered Company Policies and Benefits Chatbot workflow. Its executable nodes use agent, aggregate, bambooHr, chainLlm, chatTrigger, documentDefaultDataLoader, embeddingsOpenAi, executeWorkflowTrigger, filter, informationExtractor, lmChatOpenAi, manualTrigger, memoryBufferWindow, outputParserAutofixing, outputParserStructured, set, splitOut, textClassifier, textSplitterRecursiveCharacterTextSplitter, toolVectorStore, toolWorkflow, vectorStoreSupabase. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
When clicking ‘Test workflow’, Employee initiates a conversation, AI-Powered HR Benefits and Company Policies Chatbot
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Splitout/1352_Splitout_Filter_Automate_Triggered.json MIT; preserve source notices.
Canvas section labels
These name areas of the original canvas; they do not include explanatory instructions.
- STEP #1: Retrieve company policies and load them into a vector store
- BambooHR AI-Powered HR Benefits and Company Policies Chatbot
- (Optional) STEP #2: Set up employee lookup tool