Automated HR Service System with WhatsApp, GPT-4 Classification & Google Workspace
Who is this for? This workflow is ideal for HR teams, startups, and enterprises that want to handle employee interactions through WhatsApp and automate responses using LLM (OpenAI) and intelligent routing.
What problem is this workflow solving? Managing WhatsApp messages manually can be time-consuming and error-prone. This workflow solves that by:
Auto-classifying messages using LLM
Routing them to the right AI-powered agent
Automating leave approvals, attendance, HR FAQs, complaints, and candidate shortlisting
Delivering final responses interactively via WhatsApp
What this workflow does WhatsApp Trigger captures incoming messages
LLM Classification analyzes message intent and outputs category (1–5)
Switch Node routes the message to the correct agent:
1 → Leave Agent
2 → HR FAQ Chatbot
3 → Attendance Agent
4 → Complaint/Request Agent
5 → Shortlisting Agent
Each agent performs specific tasks using tools like:
Google Sheets (fetch dept head emails, JD/applicants, logs)
Google Calendar (schedule meetings)
Vector Search (for policy embeddings)
OpenAI (transcription, classification, chatbot)
Final WhatsApp Response node sends updates and interactive options to the user
Setup Connect WhatsApp API (e.g., via Twilio or WhatsApp Business Cloud API)
Configure OpenAI credentials
Set up Google Sheets with:
Employee data
JD and applicants info
Policy documents (for embedding)
Prepare Google Calendar access
Create a vector store with embedded company policy docs
How to customize this workflow to your needs Update the LLM prompt to suit your company’s categories or expand to more intents
Replace sample sheets with your organization’s actual data
Train your own policy embeddings if needed
Add/modify agents (e.g., Payroll Bot, IT Support Bot) by cloning an existing pattern
Adjust the Switch Node if you add more classifications
With this modular and intelligent setup, you can turn your WhatsApp into a smart HR & operations assistant powered by AI, accessible 24/7.
Related Templates
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
🤖 Build Resilient AI Workflows with Automatic GPT and Gemini Failover Chain
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments