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 an OpenAI Langchain Bot on Telegram

When a Telegram message arrives, an OpenAI agent with window memory replies, can send images back and corrects errors.

What it does

# Telegram AI Langchain bot ## Overview Automated workflow: Telegram AI Langchain bot. This workflow integrates 11 different services: telegramTrigger, stickyNote, httpRequest, telegram, agent. It contains 19 nodes and follows best practices for error handling and security. ## Workflow Details - Total Nodes: 19 - Node Types: 11 - Error Handling: ✅ Implemented - Security: ✅ Hardened (no sensitive data) - Documentation: ✅ Complete ## Node Breakdown - OpenAI Chat Model: lmChatOpenAi - Window Buffer Memory: memoryBufferWindow - Telegram: telegram - Correct errors: telegram - Execute Workflow Trigger: executeWorkflowTrigger - Listen for incoming events: telegramTrigger - Send back an image: telegram - add response field: set - Sticky Note: stickyNote - Dall-E 3 Tool: toolWorkflow - ... and 9 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. OpenAI Chat Model
  2. Window Buffer Memory
  3. Telegram
  4. Correct errors
  5. Execute Workflow Trigger
  6. Listen for incoming events
  7. Send back an image
  8. add response field
  9. Dall-E 3 Tool
  10. Generate image in Dall-E 3
  11. AI Agent
  12. Error Handler
  13. Error Handler for e275f31f
  14. Error Handler for 96faef5d

26 steps in total.

Similar automations