AI Agents

HR and IT support desk with intelligent audio transcription and knowledge search

27 nodes 315 138 Automatic trigger
Download

Workflow Description

An intelligent support platform that receives employee inquiries and audio files via Telegram, converts audio to text, searches a knowledge base using Postgres vector embeddings, generates contextual responses with OpenAI, and maintains conversation history for audit purposes.

How it works

  1. 1.Receive messages and audio files from Telegram users
  2. 2.Transcribe audio files and segment content into processable chunks for semantic search
  3. 3.Query the knowledge base using embedding vectors to retrieve relevant documentation and policies
  4. 4.Generate context-aware responses through an OpenAI agent backed by Postgres conversation memory
  5. 5.Deliver answers directly to Telegram with automatic conversation logging

Use cases

  • Answer recurring HR questions instantly without manual staff intervention
  • Resolve common IT support queries while maintaining full dialogue records
  • Reduce support team workload by automating routine employee inquiries
  • Provide round-the-clock assistance to staff via Telegram

Requirements

  • Active OpenAI API subscription and credits
  • Postgres database with pgvector extension enabled
  • Telegram bot token with message and file handling permissions
  • Documentation repository containing HR policies and IT procedures

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Vector Store OpenAI Document Default Data Loader Text Splitter Telegram AI Agent Postgres

Details

Trigger Automatic trigger
Nodes 27
Apps 7
Views 315
Downloads 138

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (27)

/

Sticky Note

Sticky Note

#1

When clicking ‘Test workflow’

Manual Trigger

#2

HTTP Request

HTTP Request

#3

Extract from File

Extract From File

#4

Sticky Note1

Sticky Note

#5

Create HR Policies

Vector Store P G Vector

#6

Embeddings OpenAI

OpenAI

#7

Default Data Loader

Document Default Data Loader

#8

Recursive Character Text Splitter

Text Splitter Recursive Character Text Splitter

#9

Telegram Trigger

Set

#10

Verify Message Type

Switch

#11

OpenAI

OpenAI

#12

Telegram1

Set

#13

Unsupported Message Type

Set

#14

AI Agent

Agent

#15

OpenAI Chat Model

OpenAI

#16

Postgres Chat Memory

Memory Postgres Chat

#17

Answer questions with a vector store

Tool Vector Store

#18

Postgres PGVector Store

Vector Store P G Vector

#19

OpenAI Chat Model1

OpenAI

#20

Embeddings OpenAI1

OpenAI

#21

Telegram

Set

#22

Edit Fields

Set

#23

Sticky Note2

Sticky Note

#24

Sticky Note3

Sticky Note

#25

Sticky Note4

Sticky Note

#26

Sticky Note5

Sticky Note

#27