FM
FlowMarket
AI Agents Advanced ⚡ 35 n8n Nodes

AI chatbot call center Telegram call in production ready part

Workflow Name: 🤙 Telegram Call In Template was created in n8n v1.90.2 Skill Level: High Categories: n8n, Chatbot Stacks - Chat Trigger node - Telegram Trigg...

🔌 Nodes & Integrations Used (7)

Telegram Trigger Chat Trigger Telegram Extract From File Google Speech Redis PostgreSQL

📖 Implementation & Setup Guide

Workflow Name: 🤙 **Telegram Call In**

Template was created in n8n v1.90.2

Skill Level: High

Categories: n8n, Chatbot

Stacks

  • Chat Trigger node
  • Telegram Trigger node
  • Redis node
  • Postgres node
  • Execute Sub-workflow
  • If node, Code node, Edit Fields (Set), Extract From File

Prerequisite

  • Community nodes: **n8n-nodes-google-speech**
  • Sub-workflow: **Demo Call Back**
  • Sub-workflow: **Demo Call Center**

Production Features

  • **Scaling Design** for n8n **Queue mode** in production environment
  • Optional **Member Data** from **external Database** with **Caching Mechanism**.
  • Optional **Voice Message to Text Message** via Google STT API with **Multi-Languages** support.
  • **Testing Flow** with or without dependance on other workflow.
  • **Error Management**

What this workflow does?

This is a n8n **Telegram Call In Workflow**. It will wait for message from Telegram bot and sent to the Call Center to process.

**How it works**

  • The **Telegram Trigger** node will wait for the message from the Telegram bot.
  • When message is received, it will first check for the matching Member from the PostgreSQL database.
  • Then determine if it is a Text message or Voice message.
  • For voice message, use the **Google Speech to Text API** to transcript it into text.
  • Finally, pass the text to the next flow, i.e. the **Call Center**.

**Set up instructions**

**n8n-nodes-google-speech**

  1. Pull and Set up the required SQL from our [Github repository](https://github.com/ChatPayLabs/n8n-chatbot-core).
  2. Go User > Settings > Community nodes, install **n8n-nodes-google-speech** node
  3. 1. Follow https://www.npmjs.com/package/n8n-nodes-google-speech
  4. 2. Setup the **Google STT node**
  5. Create you **Telegram credentials**, refer to [n8n integration documentation](https://docs.n8n.io/integrations/builtin/credentials/slack/?utm_source=n8n_app&utm_medium=credential_settings&utm_campaign=create_new_credentials_modal) for more information.
  6. Select your Credentials in **Telegram Trigger**
  7. Create you **Redis credentials**, refer to [n8n integration documentation](https://docs.n8n.io/integrations/builtin/credentials/slack/?utm_source=n8n_app&utm_medium=credential_settings&utm_campaign=create_new_credentials_modal) for more information.
  8. Select your Credentials in **Member Cache** and **Save Member Cache**.
  9. Create you **Postgres credentials**, refer to [n8n integration documentation](https://docs.n8n.io/integrations/builtin/credentials/slack/?utm_source=n8n_app&utm_medium=credential_settings&utm_campaign=create_new_credentials_modal) for more information.
  10. Select your Credentials in **Load Member Data.**
  11. FOR TEST ONLY. Enable the **Telegram Test Output** for testing from the **Test Input**.
  12. **Remember to activate this workflow for incoming message.**

How to adjust it to your needs

  1. By default, this template will use the **sys_member** table for member information, you could change it for your own design.
  2. The demo implementation does not include failed member loading situation, you should implement based on your needs, e.g. if is_active is not true, do…
  3. You can replace the sub-workflow Demo Call Back and Demo Call Center to another flow as needs.

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save AI_chatbot_call_center_Telegram_call_in_production_ready_part.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related AI Agents Workflows

View All in AI Agents →