Overview
Ask Replit Agent to build and deploy a Telegram bot that checks your Outlook calendar for free time and drafts meeting invitations, sending each one only after you confirm it in the chat.
Problem or Objective
- Which agents read and update your calendar on request?
- How do teams design the context, tools and memory of their own AI agents?
More in Business Operations
AI Agents and Models
Tools and Integrations
- Tools
- Telegram · Microsoft Outlook
- Prerequisites
- A Replit account with Agent, a Telegram bot token, and calendar API access for your Outlook account that your organisation allows.
How It Works
Create a Telegram bot and get its token, and register access to your Outlook calendar through Microsoft's developer tools; check both providers' current setup steps, which were not verified here. In Replit, describe the bot to Agent: it receives your Telegram messages, answers questions such as when you are free on Thursday afternoon, and for a request like booking 30 minutes with a named colleague drafts an invitation with title, time and attendees. Ask Agent to wait for your approval of its plan before building, and to store the Telegram token and Microsoft credentials as secrets rather than in code. Specify that the bot must show every draft invitation in Telegram with Confirm and Cancel buttons and send nothing until you press Confirm. Test it with your own address as the only attendee; only then approve deploying it from Replit, and keep the bot restricted to your Telegram user ID.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Replit Agent.
- Connect the toolsConnect the tools this workflow relies on: Telegram, Microsoft Outlook.
- Check the prerequisitesA Replit account with Agent, a Telegram bot token, and calendar API access for your Outlook account that your organisation allows.
- Gather your detailsCollect what the prompt asks for: Outlook account to use, Your time zone, Default meeting length, Your numeric Telegram user ID.
- Run the starter promptPaste the starter prompt below into Replit Agent and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.replit.com before you rely on it.
Practical Starter Prompt: Build a Telegram calendar bot with confirmations
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Build a Telegram bot for me. It reads my Outlook calendar for [Outlook account to use] and answers availability questions in [Your time zone]. When I ask to book a meeting, it drafts an invitation (title, time, length [Default meeting length], attendees) and shows it in Telegram with Confirm and Cancel buttons; it sends nothing until I press Confirm. Only respond to Telegram user ID [Your numeric Telegram user ID]. Store the bot token and Microsoft credentials as secrets. Show me your plan and wait for my approval before building, and do not deploy until I have tested it and approve the deployment.Approve Replit Agent's plan before it builds. In use, every invitation waits for your Confirm press in Telegram before it is sent; test with yourself as the only attendee, and approve the deployment only after that test.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. Replit's docs say Agent builds apps from everyday descriptions, handles planning through deployment, and will wait for your approval of a plan when asked. Replit's product page says Agent can build other agents and workflows that you interact with through apps like Slack or email. No cited page mentions Telegram, so the Telegram and Microsoft sides were not checked.
Limitations and Considerations
A bot that can send invitations from your account needs tight limits: restrict it to your own Telegram user, keep the confirm step for every invitation, and grant the calendar permission only for what it needs. Check Microsoft's terms and your organisation's policy before connecting a work account, including whether your admin allows third-party apps to reach your calendar. Agent usage on Replit has plan-based allowances, and a deployed bot may incur hosting costs; check your plan. Results depend on your setup and were not independently reproduced by Top 200 Repos.
Sources
- Replit - Replit (opens in a new tab)
Project documentation · docs.replit.com · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Describe what you want in everyday language; Replit handles the rest, from planning to deployment.
- If you want a plan without changes, ask Replit to wait for your approval before implementing.
- AI Coding Agent: Build Apps Through Chat | Replit (opens in a new tab)
Project documentation · replit.com · Undated · Source checked 25 Nov 2026, 11:57 UTC
What this source supports
- Agent can build other agents and create workflows.
- You can interact with the agent you built by integrating it with your apps like Slack or email.