How it works

1. The Telegram Webhook trigger starts the workflow whenever someone sends a message to your bot. 2. The AI Agent receives the message text. Its chat memory is keyed by the Telegram chat id, so each chat keeps its own recent history. 3. The agent writes an answer using the system message you set (tone, language, rules). 4. Send a Text Message posts the answer back to the same Telegram chat.