Back to Integrations
integrationGmail node
integrationTelegram node

Gmail and Telegram integration

Save yourself the work of writing custom integrations for Gmail and Telegram and use n8n instead. Build adaptable and scalable Communication, and HITL workflows that work with your technology stack. All within a building experience you will love.

How to connect Gmail and Telegram

  • Step 1: Create a new workflow
  • Step 2: Add and configure nodes
  • Step 3: Connect
  • Step 4: Customize and extend your integration
  • Step 5: Test and activate your workflow

Step 1: Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Gmail and Telegram integration: Create a new workflow and add the first step

Step 2: Add and configure Gmail and Telegram nodes

You can find Gmail and Telegram in the nodes panel. Drag them onto your workflow canvas, selecting their actions. Click each node, choose a credential, and authenticate to grant n8n access. Configure Gmail and Telegram nodes one by one: input data on the left, parameters in the middle, and output data on the right.

Gmail and Telegram integration: Add and configure Gmail and Telegram nodes

Step 3: Connect Gmail and Telegram

A connection establishes a link between Gmail and Telegram (or vice versa) to route data through the workflow. Data flows from the output of one node to the input of another. You can have single or multiple connections for each node.

Gmail and Telegram integration: Connect Gmail and Telegram

Step 4: Customize and extend your Gmail and Telegram integration

Use n8n's core nodes such as If, Split Out, Merge, and others to transform and manipulate data. Write custom JavaScript or Python in the Code node and run it as a step in your workflow. Connect Gmail and Telegram with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

Gmail and Telegram integration: Customize and extend your Gmail and Telegram integration

Step 5: Test and activate your Gmail and Telegram workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Gmail to Telegram or vice versa. Easily debug your workflow: you can check past executions to isolate and fix the mistake. Once you've tested everything, make sure to save your workflow and activate it.

Gmail and Telegram integration: Test and activate your Gmail and Telegram workflow

🧠 Empower Your AI Chatbot with Long-Term Memory and Dynamic Tool Routing

Empower Your AI Chatbot with Long-Term Memory and Dynamic Tool Routing

This n8n workflow equips your AI agent with long-term memory and a dynamic tools router, enabling it to provide intelligent, context-aware responses while managing tasks across multiple tools. By combining persistent memory and modular task routing, this workflow makes your AI smarter, more efficient, and highly adaptable.

👥 Who Is This For?

AI Developers & Automation Enthusiasts: Integrate advanced AI features like long-term memory and task routing without coding expertise.
Businesses & Teams: Automate tasks while maintaining personalized, context-aware interactions.
Customer Support Teams: Improve user experience with chatbots that remember past interactions.
Marketers & Content Creators: Streamline communication across platforms like Gmail and Telegram.
AI Researchers: Experiment with persistent memory and multi-tool integration.

🚀 What Problem Does This Solve?

This workflow simplifies the creation of intelligent AI systems that retain memory, manage tasks dynamically, and automate notifications across tools like Gmail and Telegram—saving time and improving efficiency.

🛠️ What This Workflow Does

Save & Retrieve Memories**: Uses Google Docs for long-term storage to recall past interactions or user preferences.
Dynamic Task Routing**: Routes tasks to the right tools (e.g., saving/retrieving memories or sending notifications).
AI-Powered Context Understanding**: Combines OpenAI GPT-based short-term memory with long-term memory for smarter responses.
Multi-Channel Notifications**: Sends updates via Gmail or Telegram.

🔧 Setup

API Credentials:
Connect to OpenAI (AI processing), Google Docs (memory storage), Gmail/Telegram (notifications).
Customize Parameters:
Adjust the AI agent's system message for your use case.
Define task-routing rules in the tools router node.
Test & Deploy:
Verify memory saving/retrieval, task routing, and notification delivery.

💡 How to Customize

Modify the system message in the OpenAI node to tailor your agent’s behavior.
Add or adjust routing rules for additional tools.
Update notification settings to match your communication preferences.

Nodes used in this workflow

Popular Gmail and Telegram workflows

+8

✨🤖Automate Multi-Platform Social Media Content Creation with AI

Automate Multi-Platform Social Media Content Creation with AI Who is this for? Social Media Managers and Digital Marketers seeking to streamline content production across 7+ platforms (X/Twitter, Instagram, LinkedIn, Facebook, TikTok, Threads, YouTube Shorts) using AI-powered automation. What problem does this solve? Creating platform-optimized content at scale while maintaining brand consistency across multiple channels, reducing manual work by 80% through AI generation and automated publishing. What this workflow does AI Content Generation: Uses GPT-4/Gemini to create platform-specific posts Automatically generates hashtags, CTAs, and emoji placement Supports image/video suggestions and image creation using OpenAI or Pollinations.ai Uses SERP api to search for relavent content Approval Workflow: Sends formatted HTML emails for human review Implements double-approval system with Gmail integration Cross-Platform Publishing: One-click deployment to: Instagram/Facebook (via Graph API) X/Twitter (Official API) LinkedIn (Sales Navigator integration) Setup Credentials: OpenAI API key Google Gemini API Social media platform tokens (X, LinkedIn, Facebook) ImgBB for image hosting Gmail SERP API Telegram Configuration: Update all "your-unique-id" placeholders in API nodes Set email recipients in Gmail nodes Customize AI prompts Customization: Adjust character limits per platform Modify approval thresholds Add/remove social platforms as needed How to customize Content Style**: Edit prompt templates in the "Social Media Content Factory" agent node Approval Process**: Modify email templates Analytics**: Connect to Google Sheets for performance tracking Image Generation**: Switch between Pollinations.ai/DALL-E/Midjourney
+9

✨🩷Automated Social Media Content Publishing Factory + System Prompt Composition

Social Media Content Publishing Factory for Streamlined Content Creation Across Platforms Who is this for? This workflow is designed for content creators, social media managers, and marketing teams who need to efficiently create and publish content across multiple social media platforms. It's perfect for businesses looking to maintain a consistent presence across X (Twitter), Instagram, Facebook, LinkedIn, Threads, and YouTube Shorts without spending hours crafting platform-specific content manually. What problem is this workflow solving? Creating tailored content for different social media platforms is time-consuming and requires understanding each platform's unique requirements and audience expectations. This workflow solves the challenge of: Maintaining consistent messaging across platforms while respecting platform-specific formats Generating optimized content that follows best practices for each platform Creating accompanying visuals without graphic design skills Streamlining the approval process before publishing Reducing the time spent on repetitive content creation tasks What this workflow does This automated content factory takes your content idea and transforms it into platform-optimized posts for all major social media channels. The workflow: Accepts your content idea or topic through a chat interface Leverages AI to generate tailored content for each platform (X/Twitter, Instagram, Facebook, LinkedIn, Threads, YouTube Shorts) Creates appropriate images using AI image generation Sends content for approval via email before publishing Publishes approved content to selected platforms Maintains chat memory to improve future content generation Setup Connect your social media platform credentials (X/Twitter, Instagram, Facebook, LinkedIn) Set up your email account for the approval process Configure your OpenAI API key for AI content generation Update the image generation service credentials (Pollinations.ai is used by default) Customize the system prompts and schemas in the Google Docs nodes with your brand voice and content requirements How to customize this workflow to your needs Modify the system prompts in the Google Docs nodes to match your brand voice and content strategy Adjust the social media schemas to include specific fields relevant to your content Update the approval process to include additional stakeholders if needed Add or remove social media platforms based on your marketing strategy Customize the image generation prompts to better match your visual branding Integrate with your existing content calendar or CRM systems This workflow eliminates the need to manually craft different versions of the same content for each platform, saving hours of work while ensuring your social media presence remains consistent and optimized for maximum engagement.
+3

🧠 Empower Your AI Chatbot with Long-Term Memory and Dynamic Tool Routing

Empower Your AI Chatbot with Long-Term Memory and Dynamic Tool Routing This n8n workflow equips your AI agent with long-term memory and a dynamic tools router, enabling it to provide intelligent, context-aware responses while managing tasks across multiple tools. By combining persistent memory and modular task routing, this workflow makes your AI smarter, more efficient, and highly adaptable. 👥 Who Is This For? AI Developers & Automation Enthusiasts: Integrate advanced AI features like long-term memory and task routing without coding expertise. Businesses & Teams: Automate tasks while maintaining personalized, context-aware interactions. Customer Support Teams: Improve user experience with chatbots that remember past interactions. Marketers & Content Creators: Streamline communication across platforms like Gmail and Telegram. AI Researchers: Experiment with persistent memory and multi-tool integration. 🚀 What Problem Does This Solve? This workflow simplifies the creation of intelligent AI systems that retain memory, manage tasks dynamically, and automate notifications across tools like Gmail and Telegram—saving time and improving efficiency. 🛠️ What This Workflow Does Save & Retrieve Memories**: Uses Google Docs for long-term storage to recall past interactions or user preferences. Dynamic Task Routing**: Routes tasks to the right tools (e.g., saving/retrieving memories or sending notifications). AI-Powered Context Understanding**: Combines OpenAI GPT-based short-term memory with long-term memory for smarter responses. Multi-Channel Notifications**: Sends updates via Gmail or Telegram. 🔧 Setup API Credentials: Connect to OpenAI (AI processing), Google Docs (memory storage), Gmail/Telegram (notifications). Customize Parameters: Adjust the AI agent's system message for your use case. Define task-routing rules in the tools router node. Test & Deploy: Verify memory saving/retrieval, task routing, and notification delivery. 💡 How to Customize Modify the system message in the OpenAI node to tailor your agent’s behavior. Add or adjust routing rules for additional tools. Update notification settings to match your communication preferences.

🦜✨Use OpenAI to Transcribe Audio + Summarize with AI + Save to Google Drive

Automate Audio Transcription, AI Summarization, and Google Drive Storage Who is this for? Content Teams, Researchers, and Administrators who need to automatically process voice memos, meeting recordings, or interview audio into structured, searchable documents. What problem does this solve? Eliminates manual transcription work by automatically converting audio files into organized text documents with AI analysis, while maintaining human oversight through approval workflows. What this workflow does Smart Audio Processing: Triggers when new .m4a files appear in Google Drive Uses OpenAI's Whisper for accurate transcription Implements dual-format reporting (JSON + Markdown) Human Oversight (optional): Requires email approval before processing 45-minute response window with escalation options AI-Powered Analysis: Generates structured JSON reports with: Key points & action items Sentiment analysis Technical terminology glossary Creates Markdown versions for easy reading Document Management: Stores raw transcripts + reports in Google Drive Automatic file naming with timestamps Sends completion alerts via Email/Telegram Workflow visualization showing audio file processing path Setup Credentials Needed: Google Drive API access OpenAI API key (GPT-4o-mini) Gmail & Telegram integrations Configuration: Set your Google Drive folder ID in 3 nodes Update email addresses in Gmail nodes Customize approval timeout in "Gmail User for Approval" Customization Points: File extension filters (.m4a) AI report templates and prompts Notification channels (Email/Telegram) How to customize Approval Process**: Add SMS/Teams notifications via additional nodes File Types**: Modify filter node for .mp3/.wav support Analysis Depth**: Adjust GPT-4 prompts in "Summarize to JSON" nodes Storage**: Connect to Notion/Airtable instead of Google Drive

🚚 Automate Delivery Confirmation with Telegram Bot, Google Drive and Gmail

Tags: Supply Chain Management, Logistics, Transportation Context Hey! I'm Samir, a Supply Chain Engineer and Data Scientist from Paris founder of LogiGreen Consulting We design tools to help small and medium businesses in improving their logistics processes using data analytics and automation. > Let's use N8N to make supply chains more efficient and sustainable Supply Chains! Who is this template for? This workflow template is designed for logistics operations that cannot rely on a Transportation Management System to record proofs of deliveries. What is a delivery confirmation? This workflow uses a Telegram bot to automatically notify logistics teams by email when a shipment is delivered. Drivers (equipped with their smartphones) can record their arrival with all the necessary information for accurate distribution planning. How do we notify the delivery? Let us imagine a truck driver arriving at the destination; he can contact the bot to be guided on how to record the delivery. User Guide: the first bot's message is a brief explanation of the process Record Shipment Number: the bot asks the driver to share the shipment number and record it Collect GPS Location: the bot asks the driver to share its GPS location and record them Picture of the Shipment: the bot asks for a picture of the shipment and saves it in Google Drive Send Confirmation: after data collection, the bot proposes to send a confirmation to the logistics management team An email is then automatically sent by the N8N workflow including all the information recorded by the flow and a picture of the shipment. Prerequisite This workflow does not require any additional paying subscription. A Google Drive Account with a folder including a Google Sheet API Credentials: Google Drive API, Google Sheets API and Gmail API A Telegram Bot with its API token from BotFather A Google sheet to store the shipment records with these five columns prepared: shipmentNumber, recordTime, gpsLattitude, gpsLongitude, cargoPicture, deliveryTime Next Steps Follow the sticky notes to set up the parameters inside each node and get ready to improve your logistics operations! I have detailed the steps in a short tutorial 👇 🎥 Check My Tutorial 🚀 Interested in applications of N8N for Logistics & Supply Chain Management? Let's connect on Linkedin Notes This workflow can be adapted to add more functionalities. I explain how in the video. The bot can handle multiple drivers at the same time. If you want to learn more about the original tool designed with Python: 🚚 Blog Article about Telegram Shipment Tracking Bot This workflow has been created with N8N 1.82.1 Submitted: March 17th, 2025
+3

✨🔪 Advanced AI Powered Document Parsing & Text Extraction with Llama Parse

Description This workflow automates document processing using LlamaParse to extract and analyze text from various file formats. It intelligently processes documents, extracts structured data, and delivers actionable insights through multiple channels. How It Works Document Ingestion & Processing 📄 Monitors Gmail for incoming attachments or accepts documents via webhook Validates file formats against supported LlamaParse extensions Uploads documents to LlamaParse for advanced text extraction Stores original documents in Google Drive for reference Intelligent Document Analysis 🧠 Automatically classifies document types (invoices, reports, etc.) Extracts structured data using customized AI prompts Generates comprehensive document summaries with key insights Converts unstructured text into organized JSON data Invoice Processing Automation 💼 Extracts critical invoice details (dates, amounts, line items) Organizes financial data into structured formats Calculates tax breakdowns, subtotals, and payment information Maintains detailed records for accounting purposes Multi-Channel Delivery 📱 Saves extracted data to Google Sheets for tracking and analysis Sends concise summaries via Telegram for immediate review Creates searchable document archives in Google Drive Updates spreadsheets with structured financial information Setup Steps Configure API Credentials 🔑 Set up LlamaParse API connection Configure Gmail OAuth for email monitoring Set up Google Drive and Sheets integrations Add Telegram bot credentials for notifications Customize AI Processing ⚙️ Adjust document classification parameters Modify extraction templates for specific document types Fine-tune summary generation prompts Customize invoice data extraction schema Test and Deploy 🚀 Test with sample documents of various formats Verify data extraction accuracy Confirm notification delivery Monitor processing pipeline performance

Build your own Gmail and Telegram integration

Create custom Gmail and Telegram workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Gmail supported actions

Add Label
Delete
Get
Get Many
Mark as Read
Mark as Unread
Remove Label
Reply
Send
Send and Wait for Response
Create
Delete
Get
Get Many
Create
Delete
Get
Get Many
Add Label
Delete
Get
Get Many
Remove Label
Reply
Trash
Untrash

Telegram supported actions

Get
Get up to date information about a chat
Get Administrators
Get the Administrators of a chat
Get Member
Get the member of a chat
Leave
Leave a group, supergroup or channel
Set Description
Set the description of a chat
Set Title
Set the title of a chat
Answer Query
Send answer to callback query sent from inline keyboard
Answer Inline Query
Send answer to callback query sent from inline bot
Get
Get a file
Delete Chat Message
Delete a chat message
Edit Message Text
Edit a text message
Pin Chat Message
Pin a chat message
Send Animation
Send an animated file
Send Audio
Send a audio file
Send Chat Action
Send a chat action
Send Document
Send a document
Send Location
Send a location
Send Media Group
Send group of photos or videos to album
Send Message
Send a text message
Send and Wait for Response
Send a message and wait for response
Send Photo
Send a photo
Send Sticker
Send a sticker
Send Video
Send a video
Unpin Chat Message
Unpin a chat message

FAQs

  • Can Gmail connect with Telegram?

  • Can I use Gmail’s API with n8n?

  • Can I use Telegram’s API with n8n?

  • Is n8n secure for integrating Gmail and Telegram?

  • How to get started with Gmail and Telegram integration in n8n.io?

Need help setting up your Gmail and Telegram integration?

Discover our latest community's recommendations and join the discussions about Gmail and Telegram integration.
Trigi Digital
jake chard
Jan Koch
Paul Kennard

Looking to integrate Gmail and Telegram in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Gmail with Telegram

Build complex workflows, really fast

Build complex workflows, really fast

Handle branching, merging and iteration easily.
Pause your workflow to wait for external events.

Code when you need it, UI when you don't

Simple debugging

Your data is displayed alongside your settings, making edge cases easy to track down.

Use templates to get started fast

Use 1000+ workflow templates available from our core team and our community.

Reuse your work

Copy and paste, easily import and export workflows.

Implement complex processes faster with n8n

red iconyellow iconred iconyellow icon