Templates / Answer HR policy and benefits questions with BambooHR, OpenAI and Supabase

Answer HR policy and benefits questions with BambooHR, OpenAI and Supabase

Needs changes

by Redowan Ahmed Farhan ✓ · 41 views · created 2026-06-30 · Internal Wiki, AI RAG

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 39 nodes and runs manually, when you click “Execute workflow” (plus 2 other triggers). Along the way it connects Embeddings OpenAI, OpenAI Chat Model, Vector Store Question Answer and BambooHR and 1 more.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 2 other triggers).

  1. GET all files (BambooHR): get many (file)
  2. HR AI Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 2 tools (Vector Store Tool, Employee Lookup Tool); memory: Window Buffer Memory
  3. Text Classifier: classifies text into categories with AI, with model: OpenAI Chat Model
  4. Filter: keeps only the items that match a condition
  5. GET all employees (BambooHR): get many
  6. GET all employees (second path) (BambooHR): get many
  7. Split Out: splits a list into separate items
  8. Filter: keeps only the items that match a condition
  9. Extract departments (Aggregate): combines items into one
  10. Filter: keeps only the items that match a condition

…plus 10 more steps. See the full node list below.

Services it uses

Embeddings OpenAIOpenAI Chat ModelVector Store Question AnswerBambooHRSupabase Vector Store

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in HR AI Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
HR AI Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (22)

From the author

Quick Overview This workflow ingests company policy PDFs from BambooHR into a Supabase vector database and provides an employee chat interface that answers policy and benefits questions using OpenAI, with an additional employee/department lookup powered by…

Excerpt from Redowan Ahmed Farhan's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.