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 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

Proxmox AI Agent with n8n and Generative AI Integration

Proxmox AI Agent with n8n and Generative AI Integration

This template automates IT operations on a Proxmox Virtual Environment (VE) using an AI-powered conversational agent built with n8n. By integrating Proxmox APIs and generative AI models (e.g., Google Gemini), the workflow converts natural language commands into API calls, enabling seamless management of your Proxmox nodes, VMs, and clusters.

Watch Video on Youtube

How It Works
Trigger Mechanism
The workflow can be triggered through multiple channels like chat (Telegram, email, or n8n's built-in chat).
Interact with the AI agent conversationally.

AI-Powered Parsing
A connected AI model (Google Gemini or other compatible models like OpenAI or Claude) processes your natural language input to determine the required Proxmox API operation.

API Call Generation
The AI parses the input and generates structured JSON output, which includes:
response_type: The HTTP method (GET, POST, PUT, DELETE).
url: The Proxmox API endpoint to execute.
details: Any required payload parameters for the API call.

Proxmox API Execution
The structured output is used to make HTTP requests to the Proxmox VE API. The workflow supports various operations, such as:
Retrieving cluster or node information.
Creating, deleting, starting, or stopping VMs.
Migrating VMs between nodes.
Updating or resizing VM configurations.

Response Formatting
The workflow formats API responses into a user-friendly summary. For example:
Success messages for operations (e.g., "VM started successfully").
Error messages with missing parameter details.

Extensibility
You can enhance the workflow by connecting additional triggers, external services, or AI models. It supports:
Telegram/Slack integration for real-time notifications.
Backup and restore workflows.
Cloud monitoring extensions.

Key Features
Multi-Channel Input**: Use chat, email, or custom triggers to communicate with the AI agent.
Low-Code Automation**: Easily customize the workflow to suit your Proxmox environment.
Generative AI Integration**: Supports advanced AI models for precise command interpretation.
Proxmox API Compatibility**: Fully adheres to Proxmox API specifications for secure and reliable operations.
Error Handling**: Detects and informs you of missing or invalid parameters in your requests.

Example Use Cases
Create a Virtual Machine
Input: "Create a VM with 4 cores, 8GB RAM, and 50GB disk on psb1."
Action: Sends a POST request to Proxmox to create the VM with specified configurations.

Start a VM
Input: "Start VM 105 on node psb2."
Action: Executes a POST request to start the specified VM.

Retrieve Node Details
Input: "Show the memory usage of psb3."
Action: Sends a GET request and returns the node's resource utilization.

Migrate a VM
Input: "Migrate VM 202 from psb1 to psb3."
Action: Executes a POST request to move the VM with optional online migration.

Pre-Requisites
Proxmox API Configuration
Enable the Proxmox API and generate API keys in the Proxmox Data Center.
Use the Authorization header with the format:
PVEAPIToken=<user>@<realm>!<token-id>=<token-value>

n8n Setup
Add Proxmox API credentials in n8n using Header Auth.
Connect a generative AI model (e.g., Google Gemini) via the relevant credential type.

Access the Workflow
Import this template into your n8n instance.
Replace placeholder credentials with your Proxmox and AI service details.

Additional Notes
This template is designed for Proxmox 7.x and above.
For advanced features like backup, VM snapshots, and detailed node monitoring, you can extend this workflow.
Always test with a non-production Proxmox environment before deploying in live systems.

Nodes used in this workflow

Popular Gmail and Telegram workflows

+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
+2

📄✨ Easy WordPress Content Creation from PDF Docs + Human in the Loop Gmail

📄✨ Easy WordPress Content Creation from PDF Docs + Human in the Loop Gmail This n8n workflow automates the process of transforming PDF documents into engaging, SEO-friendly WordPress blog posts. It incorporates AI-powered text analysis, automatic image generation, and a human review step to ensure quality before publishing. 🚀 How It Works 🗂️ PDF Upload & Text Extraction Users upload a PDF document through a form trigger. The workflow extracts text from the uploaded file, ensuring compatibility with supported formats. 🤖 AI-Powered Blog Post Generation The extracted text is analyzed by an AI model (GPT-based) to create a structured blog post. The AI generates: A captivating SEO-friendly title. Well-formatted HTML content, including an introduction, chapters with subheadings, and a conclusion. 🎨 Image Creation & Integration An image is generated using Pollinations.ai based on the blog post title. The vibrant image is uploaded to WordPress and set as the featured image for the post. 📝 WordPress Draft Creation A draft blog post is created on WordPress with the AI-generated title, content, and featured image. ✅ Human-in-the-Loop Approval The draft content is sent via Gmail to a reviewer for manual approval. If approved, the post is published on WordPress. If not, an error message is sent for troubleshooting. 📢 Multi-Channel Notifications Once published, notifications are sent via Gmail and Telegram to relevant stakeholders. 🔧 Setup Steps 🔑 Configure API Credentials Set up API connections for: OpenAI (for AI content generation). WordPress (for post creation and media uploads). Gmail (for sending approval emails). Telegram (for notifications). imgbb (for saving blog image). ⚙️ Customize Workflow Parameters Adjust the AI prompt to match your desired blog structure and tone. Modify the image generation parameters to align with your branding needs. 🧪 Test & Deploy Test the workflow with sample PDFs to ensure: Accurate text extraction. Proper formatting of generated content. Seamless approval and publishing processes. This workflow streamlines content creation while maintaining quality control through human oversight, making it an ideal solution for efficient blog management! 🎉

Monitor Favorite YouTube Channels Through RSS feeds and Receive Notifications

This workflow creates an automated system for monitoring and receiving notifications about new videos from your favorite YouTube channels through RSS feeds, with customizable email and Telegram notifications. 🌟 Key Features 📡 RSS Feed Management Accepts custom YouTube channel IDs or uses default channels Automatically creates RSS feeds for each YouTube channel Monitors channels for new video uploads Labels and filters recent videos within a 3-day window (change this as required) 📨 Multi-Channel Notification System Sends Telegram notifications with video thumbnails and links Delivers customized email notifications in two formats: Individual emails for each new video Single digest email containing all new videos ⚙️ Content Processing Fetches detailed video information using YouTube API Creates responsive HTML email templates with video previews Includes video thumbnails, titles, descriptions, and direct links Maintains professional formatting across different email clients 🛠️ Setup Requirements 🔑 API Configuration YouTube Data API credentials Gmail account for sending notifications Telegram bot token and chat ID OpenAI API key for content processing 📋 Channel Management Add YouTube channel IDs through form input Configure default channel list Set notification preferences Adjust monitoring schedule This workflow is perfect for content creators, marketers, or anyone wanting to stay updated with their favorite YouTube channels through automated, professionally formatted notifications delivered via email and Telegram.
+4

🤖🧑‍💻 AI Agent for Top n8n Creators Leaderboard Reporting

This n8n workflow is designed to automate the aggregation, processing, and reporting of community statistics related to n8n creators and workflows. Its primary purpose is to generate insightful reports that highlight top contributors, popular workflows, and key trends within the n8n ecosystem. Here's how it works and why it's important: How It Works Data Retrieval: The workflow fetches JSON data files from a GitHub repository containing statistics about creators and workflows. It uses HTTP requests to access these files dynamically based on pre-defined global variables. Data Processing: The data is parsed into separate streams for creators and workflows. It processes the data to identify key metrics such as unique weekly and monthly inserters/visitors. Ranking and Filtering: The workflow sorts creators by their weekly inserts and workflows by their popularity. It selects the top 10 creators and top 50 workflows for detailed analysis. Report Generation: Using AI tools like GPT-4 or Google Gemini, the workflow generates a Markdown report summarizing trends, contributors, and workflow statistics. The report includes tables with detailed metrics (e.g., unique visitors, inserters) and insights into why certain workflows are popular. Distribution: The report is saved locally or uploaded to Google Drive. It can also be shared via email or Telegram for broader accessibility. Automation: A schedule trigger ensures the workflow runs daily or as needed, keeping the reports up-to-date. Why It's Important Community Insights**: This workflow provides actionable insights into the n8n community by identifying impactful contributors and popular workflows. This fosters collaboration and innovation within the ecosystem. Time Efficiency**: By automating data collection, processing, and reporting, it saves significant time and effort for community managers or administrators. Recognition of Contributors**: Highlighting top creators encourages engagement and recognizes individuals driving value in the community. Trend Analysis**: The workflow helps uncover patterns in usage, enabling better decision-making for platform improvements or feature prioritization. Scalability**: With its modular design, this workflow can be easily adapted to include additional metrics or integrate with other tools.

🚀 TikTok Video Automation Tool ✨ – Highly Optimized with OpenAI & Replicate

🚀 TikTok Video Automation Tool ✨ (Frequent Updates) Create viral TikTok videos effortlessly — no editing skills required! Who is this for? 🎯 ✅ Content Creators: Pump out engaging short videos in minutes. ✅ Marketing Agencies: Deliver high-quality client content — fast. ✅ Business Owners: Promote your brand with attention-grabbing TikToks. What problem does this solve? 🛠️ Short-form video content is king, but creating it takes time, skill, and effort. This tool automates the entire process, from scriptwriting to video production, ensuring SEO-optimized, high-quality content without any manual editing. How it works 🌟 1️⃣ Enter your video idea and choose where to receive the final video (TikTok upload or link via WhatsApp, Gmail, etc.). 2️⃣ AI crafts a high-engagement script with SEO optimization. 3️⃣ Voiceover is generated with ultra-realistic AI narration. 4️⃣ Relevant visuals are selected to perfectly match the script. 5️⃣ Your TikTok video is assembled and either directly uploaded to TikTok or delivered via a shareable link. Quick & Easy Setup ⚙️ (5-10 min) 🔹 Connect required APIs (most have free plans). 🔹 Follow the step-by-step setup (video tutorial included). 🔹 Start generating professional TikTok videos instantly! Required APIs 🔗 Content & Voiceover:** OpenAI (Paid), ElevenLabs (Free) Media Processing:** Cloudinary (Free), Replicate (Paid) Video Assembly:** 0codekit (Free), Creatomate (Free) Optional Integrations 🔗 Messaging & Sharing:** WhatsApp, Telegram, Gmail, Outlook Direct Upload:** TikTok Customization 🎨 Adjust script styles & voiceover preferences. Modify visuals to align with your brand. Optimize video length and format. 🚀 Start automating your TikTok content today and grow your audience on autopilot!

#️⃣Nostr #damus AI Powered Reporting + Gmail + Telegram

The n8n Nostr Community Node is a tool that integrates Nostr functionality into n8n workflows, allowing users to interact with the Nostr protocol seamlessly. It provides both read and write capabilities and can be used for various automation tasks. Disclaimer This node is ideal for self-hosted n8n setups, as ++community nodes are not supported on n8n cloud++. It opens up exciting possibilities for integrating workflows with the decentralized Nostr protocol. n8n Community Node for Nostr n8n-nodes-nostrobots Features Write Operations**: Send notes and events (kind1) to the Nostr network. Read Operations**: Fetch events based on criteria such as event ID, public key, hashtags, mentions, or search terms. Utility Functions**: Convert events into different formats like naddr or nevent and handle key transformations between bech32 and hex formats. Trigger Events**: Monitor the Nostr network for specific mentions or events and trigger workflows automatically. Use Cases Automating note posting without exposing private keys. Setting up notifications for mentions or specific events. Creating bots or AI assistants that respond to mentions on Nostr. Installation Install n8n on your system. Add the Nostr Community Node to your instance. Configure your credentials using a Nostr secret key (supports bech32 or hex formats).

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 Approval
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 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