AI Chatbot Call Center: Demo Call Back (Production-Ready, Part 6)
Go to WorkflowDescription
Workflow Name: 💬 Demo Call Back
Template was created in n8n v1.90.2
Skill Level: High
Categories: n8n, Chatbot
Stacks
Execute Sub-workflow Trigger node
Chat Trigger node
Redis node
Postgres node
Telegram node
HTTP Request node
If node, Code node, Edit Fields (Set)
Prerequisite
Execute Sub-workflow Trigger: your own node
MiniMax Account (https://www.minimax.io/)
Production Features
Scaling Design* for n8n *Queue mode** in production environment
Optional Provider Data from external Database with Caching Mechanism.
Optional AI Clone Voice Message response via MiniMax API with Multi-Languages support.
Optional Backup Chat Log to Database, so you can use in APP/API building.
Testing Flow** with or without dependance on other workflow.
Multi Chatbot** (This is a demo for Telegram, you can add WhatsApp, Line, etc)
Error Management**
What this workflow does?
This is a n8n Telegram Output Workflow. It will receive message from other Sub-workflow then output to Telegram for Message, or Replay Message and extra Voice Message.
How it works
The Flow Trigger node will wait for the message from other Sub-workflow.
When message is received, it will first check for the matching Provider from the PostgreSQL database.
Then determine if it is a Voice message to Text message.
OPTIONAL. For voice message, use the MiniMax API to generate a voice message, then send it to Telegram.
Finally, send the text to Telegram.
Set up instructions
Pull and Set up the required SQL from our Github repository.
Create you Redis credentials, refer to n8n integration documentation for more information.
Select your Credentials in Provider Cache and Save Provider Cache.
Create you Postgres credentials, refer to n8n integration documentation for more information.
Select your Credentials in Load Member Data, Create Chat Log Input, and Create Chat Log Output.
Create you Telegram credentials, refer to n8n integration documentation for more information.
Select your Credentials in Telegram Voice Output, Telegram Reply Output, and Telegram Output.
AI Clone Voice setup instructions (Optional)
You can clone any voice with MiniMax
Go to https://www.minimax.io/ and create a MiniMax account
Setup the Database with the required variables found in the MiniMax TTS node
That’s it
How to adjust it to your needs
By default, this template will use the sys_provider table provider information, you could change it for your own design.
The demo use MiniMax API for AI voice cloning, you could implement any other AI your choice.
The Backup Chat Log will backup all chat conversion line by line. You can use it for you own APP/API development.