👥 AI-Powered Employee Database Management via Telegram using OpenAI and Airtable

⚡ 2,616 views · 👥 HR & Recruitment

Description

Who is this for?

This workflow is perfect for:


What problem is this workflow solving?

Managing employee databases manually is error-prone and inefficient—especially for growing teams. This workflow solves that by:


What this workflow does

Using Telegram as the interface and Airtable as the backend database, this intelligent HR workflow allows users to:

  1. Chat in natural language (e.g. “Show me all employees” or “Create employee: Sarah, Marketing…”)

  2. Interpret and route requests via an AI Agent that acts as the orchestrator

  3. Query employee, department, and job title data from Airtable

  4. Create or update records as needed:

    • Add new departments and job titles automatically if they don’t exist
    • Create new employees and link them to the correct department and job title
  5. Delete employees based on ID

  6. Respond directly in Telegram, providing user-friendly feedback


Setup

  1. View & Copy the Airtable base here: 👉 Employee Database Management – Airtable Base Template

  2. Telegram Bot: Set up a Telegram bot and connect it to the Telegram Trigger node

  3. Airtable: Prepare three Airtable tables:

    • Employees with links to Departments and Job Titles
    • Departments with Name & Description
    • Job Titles with Title & Description
  4. Connect your Airtable API key and base/table IDs into the appropriate Airtable nodes

  5. Add your OpenAI API key to the AI Agent nodes

  6. Deploy both workflows: the main chatbot workflow and the employee creation sub-workflow

  7. Test with sample messages like:

    • “Create employee: John Doe, john@company.com, Engineering, Software Engineer”
    • “Remove employee ID rec123xyz”

How to customize this workflow to your needs


Extra Tips


Contact me for consulting and support:
đź“§ billychartanto@gmail.com

đź”— Nodes Used

Airtable, Telegram, Telegram Trigger, Execute Workflow Trigger, AI Agent, OpenAI Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup