Library / Chatbots & Messaging Bots
Chatbots & Messaging Bots
Chat with Gemini on Telegram Using Voice or Text
When a Telegram message arrives, it transcribes any voice note, passes the text to a Gemini agent and replies in text or speech.
What it does
# Speech Support Workflow ## Overview Automated workflow: Speech Support Workflow. This workflow integrates 13 different services: telegramTrigger, stickyNote, telegram, code, lmChatGoogleGemini. It contains 27 nodes and follows best practices for error handling and security. ## Workflow Details - Total Nodes: 27 - Node Types: 13 - Error Handling: ✅ Implemented - Security: ✅ Hardened (no sensitive data) - Documentation: ✅ Complete ## Node Breakdown - AI Agent: agent - Google Gemini Chat Model: lmChatGoogleGemini - Recieve Telegram Message: telegramTrigger - Check For Text or Voice Message: set - Download Audio File: telegram - Transcribe Audio File: openAi - If Voice Message: if - Code to remove unwanted characters from LLM response: code - Code to split output into chunks under 4000 characters: code - Respond to Telegram Message: telegram - ... and 17 more nodes ## Usage Instructions 1. Configure Credentials: Set up all required API keys and credentials 2. Update Variables: Replace any placeholder values with actual data 3. Test Workflow: Run in test mode to verify functionality 4. Deploy: Activate the workflow for production use ## Security Notes - All sensitive data has been removed or replaced with placeholders - Error handling is implemented for reliability - Follow security best practices when configuring credentials ## Troubleshooting - Check error logs if workflow fails - Verify all credentials are properly configured - Ensure all required services are accessible
The steps
- AI Agent
- Google Gemini Chat Model
- Recieve Telegram Message
- Check For Text or Voice Message
- Download Audio File
- Transcribe Audio File
- If Voice Message
- Code to remove unwanted characters from LLM response
- Code to split output into chunks under 4000 characters
- Respond to Telegram Message
- Wipe Conversation Memory
- Store Conversation Memory
- Set prompt to start a new speech
- Set prompt to generate a speech based on the feedback
22 steps in total.
Similar automations
Chatbots & Messaging BotsChat by Voice or Text on Telegram Multilingually15 stepsChatbots & Messaging BotsReply to Telegram Text and Voice Messages with Gemini16 stepsChatbots & Messaging BotsTelegram Voice and Text Chatbot with GPT-4o11 stepsChatbots & Messaging BotsAI Voice Chat with OpenAI, Gemini and ElevenLabs11 steps