Skip to content

RayeesYousufGenAi/whatsapp-hiring-assistant

Repository files navigation

WhatsApp Hiring Assistant - Catalyst Hiring Solutions

An intelligent, rule-based WhatsApp bot for automated candidate screening and job matching. Built with n8n workflow automation - NO paid AI APIs required.

n8n Google Sheets WhatsApp License


🎯 Overview

This WhatsApp hiring assistant automatically:

  • βœ… Greets candidates and shares job update links
  • βœ… Classifies work preferences (Work From Home / Work From Office)
  • βœ… Matches candidates to relevant job openings
  • βœ… Sends detailed job descriptions with application links
  • βœ… Saves candidate data to Google Sheets for follow-up
  • βœ… Asks clarifying questions when needed

Key Advantage: Uses pure rule-based keyword matching - no expensive AI APIs needed!


πŸš€ Features

Smart Keyword Matching

  • Detects work preferences (WFH/WFO) from natural language
  • Matches job keywords (BFSI, Virtual Assistant, etc.)
  • Handles variations and synonyms

Automated Responses

  • Work From Home: Virtual Assistant job details
  • Work From Office - Gurugram: BFSI & Capital Markets roles
  • Unclear requests: Asks clarifying questions

Google Sheets Integration

  • Automatically saves candidate information
  • Separate sheets for WFH and WFO candidates
  • Includes timestamp, name, phone, message, and classification

Scalable Design

  • Easy to add new jobs via configuration
  • Keyword expansion without code changes
  • Modular workflow structure

πŸ“‹ Current Job Openings

🏠 Work From Home

Virtual Assistant (VA) - Remote

  • Salary: β‚Ή6.5-8.5 LPA
  • Shifts: Evening/Night (IST)
  • Experience: 2+ years
  • Apply Here

🏒 Work From Office - Gurugram

Capital Markets & BFSI Roles

  • Salary: β‚Ή32,000-39,000 CTC
  • Positions: Wealth Management, Trading, Customer Support
  • Experience: 6+ months in BFSI
  • Apply Here

πŸ› οΈ Tech Stack

  • n8n - Workflow automation platform
  • Google Sheets API - Candidate database
  • WhatsApp Business API - Messaging interface
  • JavaScript - Rule-based logic in Code nodes

Total Cost: FREE (within API limits)


πŸ“ Repository Structure

.
β”œβ”€β”€ whatsapp_hiring_assistant.json    # Main n8n workflow
β”œβ”€β”€ deployment_guide.md                # Step-by-step setup guide
β”œβ”€β”€ implementation_plan.md             # Technical documentation
β”œβ”€β”€ ai_agent_design_guide.md          # General AI agent design guide
β”œβ”€β”€ ai_agent_cheat_sheet.md           # Quick reference
β”œβ”€β”€ example_whatsapp_ai_agent.json    # Example AI agent workflow
└── README.md                          # This file

πŸš€ Quick Start

Prerequisites

  • n8n instance (self-hosted or cloud)
  • Google account with Sheets access
  • WhatsApp Business API access

Installation

  1. Clone this repository

    git clone https://github.com/YOUR_USERNAME/whatsapp-hiring-assistant.git
    cd whatsapp-hiring-assistant
  2. Import workflow into n8n

    • Open n8n
    • Go to Workflows β†’ Import from File
    • Select whatsapp_hiring_assistant.json
  3. Configure Google Sheets

    • Create/verify candidate sheets
    • Set up OAuth2 credentials in n8n
    • Update credential IDs in workflow
  4. Connect WhatsApp

    • Get webhook URL from n8n
    • Configure in WhatsApp Business API
    • Subscribe to message events
  5. Test & Deploy

    • Activate workflow
    • Send test messages
    • Verify Google Sheets integration

πŸ“– Detailed instructions: See deployment_guide.md


πŸ’¬ Usage

Example Conversations

Scenario 1: First Contact

User: Hi
Bot: Hi πŸ‘‹
     Thank you for contacting Catalyst Hiring Solutions!
     [Group links and instructions...]

Scenario 2: WFH Request

User: I'm looking for work from home jobs
Bot: πŸš€ HIRING: Virtual Assistant (VA) – Remote
     [Complete job details...]

Scenario 3: WFO Request

User: I want office job in Gurgaon for BFSI
Bot: πŸ”₯ WE'RE HIRING – CAPITAL MARKETS & BFSI ROLES
     [Complete job details...]

Scenario 4: Unclear Request

User: I need a job
Bot: Thank you for your interest! 😊
     To help you better, could you please specify:
     1️⃣ Work From Home or Work From Office?
     2️⃣ Which type of role interests you?

πŸ”§ Customization

Adding New Keywords

Edit the Analyze Keywords code node:

// Add WFH keywords
const wfhKeywords = [
  'work from home', 'wfh', 'remote',
  'YOUR_NEW_KEYWORD'  // Add here
];

// Add job-specific keywords
const bfsiKeywords = [
  'bfsi', 'capital market',
  'YOUR_NEW_KEYWORD'  // Add here
];

Adding New Jobs

  1. Create response message in Set node
  2. Add Google Sheets save node
  3. Update routing logic in IF nodes
  4. Add keywords to analysis

See deployment_guide.md for detailed instructions.


πŸ“Š Workflow Architecture

WhatsApp Message
    ↓
Extract Data
    ↓
First Message? ──Yes──> Send Greeting
    ↓ No
Analyze Keywords
    ↓
Needs Clarification? ──Yes──> Ask Questions
    ↓ No
Classify Work Preference
    ↓
β”œβ”€ WFH ──> VA Job Details ──> Save to WFH Sheet
β”œβ”€ WFO ──> BFSI Job Details ──> Save to WFO Sheet
└─ Unclear ──> General Response
    ↓
Send WhatsApp Response

πŸ“ˆ Google Sheets

WFH Candidates Sheet:

WFO Gurugram Candidates Sheet:

Columns:

  • Timestamp
  • Name
  • Phone
  • Message
  • Work Preference
  • Job Match

πŸ§ͺ Testing

Run these test scenarios:

# Test 1: Greeting
curl -X POST https://your-n8n.com/webhook/whatsapp-hiring-webhook \
  -H "Content-Type: application/json" \
  -d '{"from": "+919876543210", "message": "Hi", "name": "Test User"}'

# Test 2: WFH Request
curl -X POST https://your-n8n.com/webhook/whatsapp-hiring-webhook \
  -H "Content-Type: application/json" \
  -d '{"from": "+919876543210", "message": "work from home virtual assistant", "name": "Test User"}'

# Test 3: WFO Request
curl -X POST https://your-n8n.com/webhook/whatsapp-hiring-webhook \
  -H "Content-Type: application/json" \
  -d '{"from": "+919876543210", "message": "office job gurgaon bfsi", "name": "Test User"}'

πŸ› Troubleshooting

Issue Solution
Google Sheets not saving Check credentials and sheet permissions
Webhook not receiving Verify WhatsApp API configuration
Wrong job response Add more specific keywords
Clarification loop Expand keyword arrays

See deployment_guide.md for detailed troubleshooting.


πŸ“š Documentation


🀝 Contributing

Contributions welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

πŸ“ License

MIT License - feel free to use for your own hiring needs!


πŸ“ž Contact

Catalyst Hiring Solutions


🌟 Features Roadmap

  • Multi-language support
  • Voice message handling
  • Interview scheduling integration
  • Resume parsing
  • Advanced analytics dashboard
  • Multi-location support

⭐ Star this repo if you find it useful!

Built with ❀️ using n8n workflow automation

About

Intelligent WhatsApp bot for automated candidate screening and job matching - Built with n8n workflow automation (No paid AI APIs required)

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors