Answer HR questions with GPT-4o-mini, PostgreSQL, Pinecone and ElevenLabs
UnknownWhat this workflow does
This AI workflow has 26 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model, Postgres, Pinecone Vector Store and Embeddings OpenAI and 2 more.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Validate Identity (Mobile/Email) (If): checks a condition and branches into true / false
- Check Audio Input (If): checks a condition and branches into true / false
- Error - Invalid Mobile/Email (Respond to Webhook): sends the response back to the webhook caller
- Eleven Labs: speech to text
- Validate Message (If): checks a condition and branches into true / false
- Extract Transcript (Edit Fields (Set)): sets 1 field: message
- Parse Input & Detect Language (Code): runs custom JavaScript code
- Error - Invalid Message (Respond to Webhook): sends the response back to the webhook caller
- Needs Translation? (If): checks a condition and branches into true / false
- Translate to English (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Model - Translation
…plus 9 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @elevenlabs/n8n-nodes-elevenlabs is verified or supports 3.0 (used in ElevenLabs - Transcribe Audio).
Nodes used (14)
- Webhook
n8n-nodes-base.webhook - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Eleven Labs
@elevenlabs/n8n-nodes-elevenlabs.elevenLabs - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Postgres
n8n-nodes-base.postgres - AI Agent
@n8n/n8n-nodes-langchain.agent - Postgres Tool
n8n-nodes-base.postgresTool - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Postgres Chat Memory
@n8n/n8n-nodes-langchain.memoryPostgresChat
From the author
This template provides a fully functional, enterprise-grade HR chatbot that employees can interact with using plain language in text or voice in any of the 10 supported Indian languages. The bot recognizes the employee's identity, the company they work for,…