Telegram Agent for Email and Calendar Operations
Telegram-based AI agent that interprets chat messages and performs email and calendar actions through delegated tools.
This workflow exposes an AI agent through a Telegram chat interface and is designed to handle email- and calendar-related requests in a controlled, task-oriented manner. Incoming Telegram messages trigger the workflow and are evaluated before being passed to the agent.
An initial routing step distinguishes between supported message types and ignores inputs that are not relevant for processing. For valid text messages, relevant fields are normalized to ensure the agent receives a clean and predictable input structure.
The AI agent uses a chat model for intent interpretation and a simple memory component to retain short-term conversational context. Based on the resolved intent, the agent decides whether to summarize emails, send messages via Gmail, retrieve calendar events, or create new calendar entries.
Each action is delegated to a dedicated tool, keeping execution logic clearly separated from reasoning and orchestration. A lightweight JavaScript step formats the agent’s output into a Telegram-compatible response before sending the result back to the user.
The workflow is structured as a modular interaction layer that connects chat-based input with concrete productivity actions, making it easy to extend with additional email or calendar capabilities over time.
