Categorize Emails & Get Telegram Alerts with Azure OpenAI & Google Sheets

Go to Workflow
0 views
Built by Meelioo Meelioo
Created on June 05, 2026

Description

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

Understanding This Workflow

In simple terms, this workflow triggers when you receive an e-mail in your inbox; classifies this e-mail based on the subject and notifies you using Telegram. It's fully customizable so you can change, add categoies and continue each data flow separately.

E-Mails can hold pretty important information. But one can forget to check-up or rather not prefer to do so. This workflow keeps you updated of what's most important to you. Not only that, you can always talk to the bot to checkup on E-Mails you've missed.

Set Up Overview
IMAP E-Mail Trigger:** You can switch to a Gmail node aswell.
Google Sheets:** Google Sheets is easy to use so I recommend you to keep it.
AI Model:** Use any model of your preferance. As long as it is smart and uses less tokens.
Telegram:** Refer to documentation to understand how to create a bot.

> There is no correct line of setting up these credentials, as the workflow needs all to work; as long as you don't change the logic of the workflow.

Note
Please refer to the sticky notes in the workflow for a clear guide on setup, workflow description etc. If you need any help or need a hand, you can always message me.
>https://community.n8n.io/u/mookie_lian

Nodes Used (6)

AI Agent
@n8n/n8n-nodes-langchain.agent
Azure OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi
Google Sheets
n8n-nodes-base.googleSheets
Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow
Telegram
n8n-nodes-base.telegram
Text Classifier
@n8n/n8n-nodes-langchain.textClassifier