Skip to content
MORNINGMETHOD
When clicking ‘Te…HTTP RequestExtract from FileCreate HR PoliciesEmbeddings OpenAIDefault Data Load…Recursive Charact…Telegram TriggerVerify Message Ty…OpenAITelegram1Unsupported Messa…AI AgentOpenAI Chat ModelPostgres Chat Mem…Answer questions …Postgres PGVector…OpenAI Chat Model1Embeddings OpenAI1TelegramEdit Fields
The workflow you get21 nodes
  • n8n
  • HTTP Request
  • Vector Store
  • Document Default Data Loader
  • Text Splitter Recursive Character Text Splitter
  • Telegram, OpenAI, AI Agent

HR & IT Helpdesk Chatbot with Voice Notes

Staff ask HR or IT questions by text or voice, and the AI answers.

Best for: Companies with an internal helpdesk

$19.00Regular price $49.0061% off
  • Card or PayPal
  • Instant download
  • Setup guide included
Delivery
Download after payment
Format
n8n workflow + guide (ZIP)
Access
Re-download any time

Setup

What you need, and how to set it up

It starts when you click the button. No code needed. Follow the steps in order.

What you need

  • An n8n account

    The app that runs the automation.

    Free to self-host, or a free trial on n8n Cloud.

  • PostgreSQL databaseFree tier available

    A place where n8n keeps memory and data.

    Get it: Make a free database at supabase.com or neon.tech and copy its host, user and password. Show me how to connect PostgreSQL database (opens n8n docs)

    Used by: Create HR Policies, Postgres Chat Memory, Postgres PGVector Store

  • OpenAI API keyPay as you go, usually a few cents a day

    A secret password that lets n8n use ChatGPT's brain.

    Get it: Go to platform.openai.com, open API keys, and click Create new secret key. Copy it. Show me how to connect OpenAI API key (opens n8n docs)

    Used by: Embeddings OpenAI, OpenAI, OpenAI Chat Model, OpenAI Chat Model1, Embeddings OpenAI1

  • Telegram botFree

    Your own chat robot on Telegram.

    Get it: In Telegram, message @BotFather, type /newbot, pick a name, and copy the token it gives you. Show me how to connect Telegram bot (opens n8n docs)

    Used by: Telegram Trigger, Telegram1, Unsupported Message Type, Telegram

Setup in 6 easy steps

  1. Step 1: Get n8n

    n8n is the app that runs your automation. Make a free account at n8n.io. That is the easy way. You can also put it on your own computer for free.

  2. Step 2: Download your file

    After you pay, open My downloads and download the ZIP. Double-click it to open it. Inside is a file called workflow.json.

  3. Step 3: Put it in n8n

    In n8n, click Create workflow. Click the three dots (⋯) at the top, then Import from file, and pick workflow.json. Now you see the same boxes as in the picture above.

  4. Step 4: Connect your accounts

    Some boxes show a little red triangle. That means they need a key. Click the box, click Create new credential, and paste the key from your list. Do this for each red box.

  5. Step 5: Try it once

    Click Test workflow. Green ticks on the boxes mean it worked.

  6. Step 6: Use it

    Click Save. Each time you want it to run, open it and click Test workflow.

Stuck? Email support@morningmethod.co and we will help you.

Category: Automations › AI Customer Support · Best for: Companies with an internal helpdesk · Platform: n8n · Steps: 21

What it does

Staff ask HR or IT questions by text or voice, and the AI answers.

Begin by importing the PDF documents that contain your internal policies and FAQs-these will become the knowledge base for your Internal Helpdesk Assistant. For example, you can store a company handbook or IT/HR policy PDFs on a shared drive or cloud storage and reference a direct download link here.

Works with: Telegram, Embeddings OpenAI, Text Splitter Recursive Character Text Splitter, OpenAI, Memory Postgres Chat, Vector Store P G Vector, Document Default Data Loader, Agent, Tool Vector Store

What you get

  • The n8n workflow file (workflow.json), ready to import
  • This setup guide
  • The list of fields to change for your own accounts (see Install below)
  • Email support if you get stuck

Before you start

  1. An n8n account. Easiest: n8n Cloud (free trial). Self-host for free with Docker: docker run -it --rm -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n, then open http://localhost:5678.

  2. Accounts and API keys for these services:

    • PostgreSQL database: how to connect (used by Create HR Policies, Postgres Chat Memory, Postgres PGVector Store)
    • OpenAI API key: how to connect (used by Embeddings OpenAI, OpenAI, OpenAI Chat Model, OpenAI Chat Model1, Embeddings OpenAI1)
    • Telegram bot token from @BotFather: how to connect (used by Telegram Trigger, Telegram1, Unsupported Message Type, Telegram)

Install

  1. In n8n, click Create workflow (top right).
  2. Click the ⋯ menu → Import from file and choose workflow.json. Or open the file, copy everything and paste it onto the empty canvas with Ctrl/Cmd + V.
  3. Open each node with a red warning triangle and pick or create the matching credential from the list above.
  4. Point these fields at your own sheets, chats and accounts:
    • Unsupported Message Type → chatId: choose your own
    • Telegram → chatId: choose your own
  5. Click Save.

Test it

  1. Click Test workflow (or Execute workflow). When clicking ‘Test workflow’ starts it. Trigger it once with real sample data.
  2. Click each node to check its output. A green tick means the step worked.
  3. Fix any red node: it's almost always a credential or a field that still points at a sheet or chat that isn't yours.

Go live

Toggle Active (top right). From now on it runs on its own. Check Executions in the left sidebar to see every run.

How it works, step by step

  1. When clicking ‘Test workflow’ starts the workflow (Manual).
  2. Telegram Trigger starts the workflow (Telegram).
  3. Embeddings OpenAI uses AI (Embeddings OpenAI).
  4. Recursive Character Text Splitter uses AI (Text Splitter Recursive Character Text Splitter).
  5. OpenAI Chat Model uses AI (OpenAI).
  6. Postgres Chat Memory uses AI (Memory Postgres Chat).
  7. Embeddings OpenAI1 uses AI (Embeddings OpenAI).
  8. OpenAI Chat Model1 uses AI (OpenAI).
  9. HTTP Request calls an external API (https://s3.amazonaws.com/scschoolfiles/656/employee_handbook).
  10. Verify Message Type checks a condition and routes items accordingly.
  11. Create HR Policies uses AI (Vector Store P G Vector).
  12. Default Data Loader uses AI (Document Default Data Loader).
  13. AI Agent uses AI (Agent).
  14. Postgres PGVector Store uses AI (Vector Store P G Vector).
  15. Answer questions with a vector store uses AI (Tool Vector Store).
  16. Extract from File uses Extract From File to pdf.
  17. Edit Fields reshapes the data for the next step.
  18. Telegram1 uses Telegram to file.
  19. Unsupported Message Type uses Telegram.
  20. Telegram uses Telegram.
  21. OpenAI uses AI (OpenAI).

Extra setup notes

These notes are also on the canvas as yellow sticky notes:

1. Download & Extract Internal Policy Documents

Read more about the HTTP Request Tool

Begin by importing the PDF documents that contain your internal policies and FAQs-these will become the knowledge base for your Internal Helpdesk Assistant. For example, you can store a company handbook or IT/HR policy PDFs on a shared drive or cloud storage and reference a direct download link here.

In this demonstration, we'll use the HTTP Request node to fetch the PDF file from a given URL and then parse its text contents using the Extract from File node. Once extracted, these text chunks will be used to build the vector store that underpins your helpdesk chatbot’s responses.

Example Employee Handbook with Policies

2. Create Internal Policy Vector Store

Read more about the In-Memory Vector Store

Vector stores power the retrieval process by matching a user's natural language questions to relevant chunks of text. We'll transform your extracted internal policy text into vector embeddings and store them in a database-like structure.

We will be using PostgreSQL which has production ready vector support.

How it works

  1. The text extracted in Step 1 is split into manageable segments (chunks).
  2. An embedding model transforms these segments into numerical vectors.
  3. These vectors, along with metadata, are stored in PostgreSQL.
  4. When users ask a question, their query is embedded and matched to the most relevant vectors, improving the accuracy of the chatbot's response.

3. Handling Messages with Fallback Support

This workflow processes Telegram messages to handle text and voice inputs, with a fallback for unsupported message types. Here’s how it works:

  1. Trigger Node:
  • The workflow starts with a Telegram trigger that listens for incoming messages.
  1. Message Type Check:
  • The workflow verifies the type of message received:
  • Text Message: If the message contains $json.message.text, it is sent directly to the agent.
  • Voice Message: If the message contains $json.message.voice, the audio is transcribed into text using a transcription service, and the result is sent to the agent.
  1. Fallback Path:
  • If the message is neither text nor voice, a fallback response is returned: "Sorry, I couldn’t process your message. Please try again."
  1. Unified Output:
  • Both text messages and transcribed voice messages are converted into the same format before sending to the agent, ensuring consistency in handling.

The setup needs to be run at the start or when data is changed

4. HR & IT AI Agent Provides Helpdesk Support

n8n's AI agents allow you to create intelligent and interactive workflows that can access and retrieve data from internal knowledgebases. In this workflow, the AI agent is configured to provide answers for HR and IT queries by performing Retrieval-Augmented Generation (RAG) on internal documents.

How It Works:

  • Internal Knowledgebase Access: A Vector store tool is used to connect the agent to the HR & IT knowledgebase built earlier in the workflow. This enables the agent to fetch accurate and specific answers for employee queries.
  • Chat Memory: A Chat memory subnode tracks the conversation, allowing the agent to maintain context across multiple queries from the same user, creating a personalized and cohesive experience.
  • Dynamic Query Responses: Whether employees ask about policies, leave balances, or technical troubleshooting, the agent retrieves relevant data from the vector store and crafts a natural language response.

By integrating the AI agent with a vector store and chat memory, this workflow empowers your HR & IT helpdesk chatbot to provide quick, accurate, and conversational support to employees.

PostgrSQL is used for all steps to simplify development in production.

5. Send Message

The simplest and most important part :)

Troubleshooting

  • "Credentials not found": open the node and select your credential again.
  • Google "access blocked": in Google Cloud, add your email as a test user on the OAuth consent screen.
  • Webhook not firing: copy the node's Production URL (not Test URL) into the other app, and make sure the workflow is Active.
  • AI node errors: check your API key has billing enabled and the model name exists on your plan.
  • Nothing happens on schedule: the workflow must be Active, and self-hosted n8n must stay running.

Need help?

Reply to your Morning Method order email and we'll help you get it running.


© Morning Method

$19.00Regular price $49.0061% off
HR & IT Helpdesk Chatbot with Voice Notes | n8n Automation | Morning Method