πŸ’¬ AI chatbot for Max Messenger with voice recognition (GigaChat +SaluteSpeech)

⚑ 805 views Β· πŸ’¬ Support Chatbots

Description

Name: AI Chatbot for Max Messenger with Voice Recognition (GigaChat + Sber)

Description:

How it works

This workflow powers an intelligent, conversational AI bot for Max messenger that can understand and respond to both text and voice messages. The bot uses GigaChat AI with built-in memory, allowing it to remember the conversation history for each unique user and answer follow-up questions. Voice messages are transcribed using Sber SmartSpeech. It’s a complete solution for creating an engaging, automated assistant within your Max bot, using Russian AI services.

Step-by-step

Set up steps

Estimated set up time: 15 minutes

  1. Get Max bot credentials: Visit https://business.max.ru/ to create a bot and obtain API credentials. Add these credentials to Max Trigger, Send Message, and Access Denied nodes.
  2. Add GigaChat credentials: Register for GigaChat API access and add your credentials to the GigaChat Model node.
  3. Add Sber credentials: Obtain Sber SmartSpeech API credentials and add them to Get Access Token and Get Response nodes (HTTP Header Auth).
  4. Configure access control: Open the Check User node and change the user_id value (currently 50488534) to your own Max user ID. This ensures only you can use the bot during testing.
  5. Customize bot personality: Open the AI Agent node and edit the system message to change the bot’s name, behavior, and add your own contact information or links.
  6. Test the bot: Activate the workflow and send a text or voice message to your Max bot to verify it responds correctly.

Notes

This workflow is specifically designed for Russian-speaking users and uses Russian AI services (GigaChat and Sber SmartSpeech) as alternatives to OpenAI. Make sure you have valid API access to both services before setting up this workflow.

πŸ”— Nodes Used

HTTP Request, AI Agent, Simple Memory

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup