Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

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

  1. AI Agent
  2. Google Gemini Chat Model
  3. Recieve Telegram Message
  4. Check For Text or Voice Message
  5. Download Audio File
  6. Transcribe Audio File
  7. If Voice Message
  8. Code to remove unwanted characters from LLM response
  9. Code to split output into chunks under 4000 characters
  10. Respond to Telegram Message
  11. Wipe Conversation Memory
  12. Store Conversation Memory
  13. Set prompt to start a new speech
  14. Set prompt to generate a speech based on the feedback

22 steps in total.

Similar automations