• Home
  • About
Book a Discovery Call

Back

How I Built a Telegram AI Agent That Books Meetings, Sends Emails, and Manages My Calendar

It started with a simple thought: What if I could text an AI inside Telegram and have it book a meeting, email the person, and add it to my calendar — all without touching another app?

That’s exactly what I built.

The First Test

I typed into Telegram:

“Please set up a meeting with Pablo tomorrow at 5:00 p.m. and let him know.”

In seconds, the AI:

  • Pulled Pablo’s contact details from Google Sheets.
  • Created a Google Calendar event.
  • Sent Pablo an email confirming the meeting.
  • Replied in Telegram with a summary of what it just did.
  • That’s when I knew this could be a game-changing personal assistant.

    How I Built It

    This system runs entirely inside n8n, a no-code automation tool, using these building blocks:

    1. Telegram Integration

    The first step was connecting Telegram so the AI could read my messages and respond. I created a bot via BotFather, grabbed the API token, and plugged it into n8n.

    2. AI Agent

    The core is an AI agent powered by ChatGPT. I gave it “memory” so it could remember previous messages and context.

    3. Tools for Actions

    To make it more than just a chatbot, I added tools:

  • Google Calendar — to create and update events.
  • Gmail — to send personalized emails.
  • Google Sheets — to pull contact information.
  • 4. Smart Context & Instructions

    I trained the AI to always fetch contact details before sending emails and to use the correct date/time automatically.

    The Final Workflow

    Here’s what happens now when I send a message:

    Telegram → AI agent reads the message.

    AI Agent → Decides which tools to use.

    Google Sheets → Finds the contact.

    Google Calendar → Creates the event with a proper title & description.

    Gmail → Sends the confirmation email.

    Telegram → Sends me a neat summary of the action taken.

    It’s like having a full-time executive assistant inside Telegram.

    Why This Is Powerful

    With this setup, I can:

  • Book meetings with one sentence.
  • Automatically send client updates.
  • Keep my calendar and contacts in sync — without ever switching apps.
  • And the best part? It’s fully customizable. You can connect it to CRMs, project management tools, or any system you use daily.

    Yar Asfand Malik

    Author: Yar Asfand Malik

    Published: 12 Aug, 2025

    © 2025 Yar Malik. All rights reserved. Powered by passion, purpose, and AI.