LogoLogo
  • Getting Started
    • Overview
    • How-to Guides & Tutorials
      • Video Tutorials
        • Building an Autonomous AI Agent for Twitter/X
        • Bulding Your Own Whale Tracking Agent
        • Building a Degen Agent that Apes in low-caps on Solana
      • How to Build Your First AI Agent
      • How to Choose the Right AI Model for Your Agent
      • How to Add and Configure Plugins
      • How to Set Up and Trigger Workflows
      • How to Launch and Tokenize Your AI Agent
      • How to Edit Your Published Agent
      • How to View Agent Wallet Activity
      • How to get a free Twitter/X API key
      • Official vs Unofficial X plugins. What's the difference?
      • How to Create a Telegram Bot & Get your Chat ID
      • How to Build a Copy-Trading AI Agent
      • Loomlay Troubleshooting Guide
  • LOOMLAY AI AGENTS
    • Introduction
    • Deploying agent live
    • Models
    • Plugins
    • Workflows
    • Workflow Triggers
      • Custom
      • Run on Repeat
      • New Message: Telegram
    • Agent Wallet
  • Agent Store
    • Overview
  • Wallet Management
  • Explore Agents
  • Portfolio
  • SMART EVENTS (Strategy)
    • Overview
  • Smart Event Templates
  • Setup & Configuration
  • Terminal
    • Overview & Installation
  • Integration with workflows
  • Configuration & styling
  • Advanced features
  • Tokens
    • LAY Token
    • Agent Tokens
  • Pricing
    • Agent Developer
Powered by GitBook
On this page
  • Availability
  • Requirements
  • Testing
  • Message Handling
  • Responding to Messages
  1. LOOMLAY AI AGENTS
  2. Workflow Triggers

New Message: Telegram

The Telegram message trigger starts a workflow each time your Telegram bot receives a new message. This enables automated responses to Telegram interactions.

Availability

  • Only available for live agent versions

  • Limited to 1 new Telegram message trigger per agent

Requirements

  • Telegram plugin must be installed

  • Telegram bot token must be configured

Testing

While the trigger only runs on live agents, you can test the workflow manually by:

  • Specifying telegram chat id in context

  • Providing your test message in context

Message Handling

Individual Chats

  • Workflow triggers on each incoming message

  • Maintains history of up to 6 last messages per chat

Group Chats

  • Bot must be made an admin

  • Receives all group messages

  • Maintains history of up to 6 last group messages

Responding to Messages

To enable responses:

  1. Add telegram plugin to the workflow with New Message: Telegram trigger

  2. Use the following syntax in instructions:

Use telegram plugin 'send message' with your response as text
PreviousRun on RepeatNextAgent Wallet

Last updated 4 months ago