Chatwize logo
January 11, 2026
8
min read

Build a Telegram → Outlook AI Calendar Assistant in n8n

In this tutorial you’ll build a Microsoft Outlook calendar assistant that you can message from Telegram (text or voice). It can create, update, list, and delete calendar events — using an AI agent inside n8n.

What this automation can do

You send a message to your Telegram bot. The workflow routes voice or text, transcribes voice messages, then the AI agent calls Outlook tools to manage your calendar.

Quick demo commands
Schedule an event for Jim at 6:00 pm today

Change that event to 7:00 pm

What’s on my calendar today?

Delete the gym event

1) Telegram setup (BotFather)

  • Open Telegram and search @BotFather
  • Create a new bot using /newbot
  • Copy your Bot Token (keep it private)
  • Open your bot chat and send one message (so n8n can receive a test event)

2) Create credentials in n8n

  • Create a Telegram credential (paste the bot token)
  • Create an OpenAI credential (API key)
  • Create a Microsoft Outlook OAuth2 credential (connect your Microsoft account)

3) Import the workflow

  • n8n → Workflows → Import from clipboard
  • Copy the JSON below and paste it into n8n
  • After import: connect the credentials to the correct nodes

4) Outlook permissions (self-hosted only)

If you are self-hosting n8n and connecting Outlook via Azure, ensure Graph permissions allow calendar read/write. Then re-auth your Outlook credential if you changed permissions.

  • Common permissions: Calendars.Read, Calendars.ReadWrite, offline_access, User.Read
  • Select your calendar in every Outlook node to replace REPLACE_WITH_YOUR_CALENDAR_ID

Workflow JSON (copy or download)

Use Copy to import via clipboard, or Download to import as a file. This template does not include any credentials.

n8n Workflow JSON
Import in n8n: Workflows → Import from clipboard (or import file).
Copied ✅