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 ...
🔌 Nodes & Integrations Used (2)
📖 Implementation & Setup Guide
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.
Steps :
Step 1: Gmail Trigger Node (On Message Received)
- Select "Gmail Trigger" and add it to the workflow.
- Authenticate with your Google Account.
- Set Trigger Event to "Message Received".
- (Optional) Add filters for specific senders, labels, or subjects.
- Click "Execute Node" to test the connection.
- Click "Save".
Step 2: IF Node (Conditional Filtering)
- Add an "IF" Node after the Gmail Trigger.
- Configure the condition to check if the email subject contains specific keywords (e.g., "Urgent", "Server Down", "Alert").
- If the condition is true, proceed to the next step.
- If false, you can stop or route it elsewhere (optional).
Step 3: Telegram Node (Send Message Action)
- Click "Add Node" and search for Telegram.
- Select "Send Message" as the action.
- Authenticate using your Telegram Bot Token.
- Set the Chat ID (personal or group chat).
- Format the message using email details received from the email trigger node and set the message in text.
Steps 4. Connect & Test the Workflow
- Link Gmail Trigger → if node → Telegram Send Message.
- Save and execute the workflow manually.
- Send a test email to your Gmail account.
- Verify if the email details appear in your Telegram chat.
About the Creator, WeblineIndia
This workflow is created by the [Agentic business process automation](https://www.weblineindia.com/process-automation-solutions.html) developers at WeblineIndia. We build automation and AI-driven tools that make life easier for your team. If you’re looking to [hire dedicated developers](https://www.weblineindia.com/hire-dedicated-developers.html) who can customize workflows around your business, we’re just a click away.
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Forward filtered Gmail notifications to Telegram chat.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related Email & Outreach Workflows
View All in Email & Outreach →Abandoned cart recovery for Shopify via Gmail Google Sheets T
Who is this for? This template is ideal for solo store owners, eCommerce marketers, automation beginners, or anyone using Shopify and Gmail who wants to reco...
Add new leads in Lemlist from Airtable
This workflow allows you to add new leads in Lemlist from Airtable. !workflow-screenshot Airtable node: This node lists all the emails that are stored in you...
Add Subscriber and Send Email Campaign
Production-ready n8n automation template for Add Subscriber and Send Email Campaign built by AhiXLight. Seamlessly connects Sendy with 3 configured nodes.
Add new contacts from HubSpot to the email list in Mailchimp
This workflow adds new HubSpot contacts to the Mailchimp email list. Prerequisites - HubSpot account and HubSpot credentials - Mailchimp account and Mailchim...