Forward filtered Gmail notifications to Telegram chat
This workflow automatically forwards incoming Gmail emails to a Telegram chat only if the email subject contains specific keywords (like "Urgent" or "Server Down"). The workflow extracts key details such as the sender...
Template notes
This workflow automatically forwards incoming Gmail emails to a Telegram chat only if the email subject contains specific keywords (like "Urgent" or "Server Down").
The workflow extracts key details such as the sender, subject, and message body, and sends them as a formatted message to a specified Telegram chat.
This is useful for real-time notifications, security alerts, or monitoring important emails directly from Telegram — filtering out unnecessary emails.
Prerequisites:
Before setting up the workflow, ensure the following:
- The Gmail API should be enabled. - Create a bot using @BotFather and obtain the API key. - Retrieve the telegram Chat ID (for personal messages or group messages). - Set up OAuth2 for Gmail and use the Bot Token for Telegram.
Customisation Options :
- Modify the subject keywords in the IF Node to change the filtering criteria. - Customize how the email details appear in Telegram (bold subject, italic body, etc.). - Extend the workflow to include email attachments in Telegram.