Back to Integrations
integrationWebhook node
integrationTelegram node

Webhook and Telegram integration

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

How to connect Webhook 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.

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

Step 2: Add and configure Webhook and Telegram nodes

You can find Webhook 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 Webhook and Telegram nodes one by one: input data on the left, parameters in the middle, and output data on the right.

Webhook and Telegram integration: Add and configure Webhook and Telegram nodes

Step 3: Connect Webhook and Telegram

A connection establishes a link between Webhook 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.

Webhook and Telegram integration: Connect Webhook and Telegram

Step 4: Customize and extend your Webhook 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 Webhook and Telegram with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

Webhook and Telegram integration: Customize and extend your Webhook and Telegram integration

Step 5: Test and activate your Webhook and Telegram workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Webhook 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.

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

⚡AI-powered YouTube video summarization & analysis

-- Disclaimer: This workflow uses a community node and therefore only works for self-hosted n8n users --

Transform YouTube videos into comprehensive summaries and structured analysis instantly. This n8n workflow automatically extracts, processes, and analyzes video transcripts to deliver clear, organized insights without watching the entire video.

Time-Saving Features
🚀 Instant Processing
Simply provide a YouTube URL and receive a structured summary within seconds, eliminating the need to watch lengthy videos. Perfect for research, learning, or content analysis.

🤖 AI-Powered Analysis
Leverages GPT-4o-mini to analyze video transcripts, organizing key concepts and insights into a clear, hierarchical structure with main topics and essential points.

Smart Processing Pipeline
📝 Automated Transcript Extraction
Supports public YouTube video
Handles multiple URL formats
Extracts complete video transcripts automatically

🧠 Intelligent Content Organization
Breaks down content into main topics
Highlights key concepts and terminology
Maintains technical accuracy while improving clarity
Structures information logically with markdown formatting

Perfect For
📚 Researchers & Students
Quick comprehension of educational content and lectures without watching entire videos.

💼 Business Professionals
Efficient analysis of industry talks, presentations, and training materials.

🎯 Content Creators
Rapid research and competitive analysis of video content in your niche.

Technical Implementation
🔄 Workflow Components
Webhook endpoint for URL submission
YouTube API integration for video details
Transcript extraction system
GPT-4 powered analysis engine
Telegram notification system (optional)

Transform your video content consumption with an intelligent system that delivers structured, comprehensive summaries while saving hours of viewing time.

Nodes used in this workflow

Popular Webhook and Telegram workflows

+8

OpenClaw Clone 🦞: Expandable Personal Telegram AI Agent Template

This workflow implements an advanced AI automation agent (OpenClaw Agent) that interacts with users through Telegram and integrates multiple AI models, external tools, and cloud services to automate complex tasks. I've described my basic idea in this video. VERY IMPORTANT: By adapting the system prompt, inserting subworkflows or mcp servers and adjusting with webhooks many of the workflows I have developed on this page it is possible to potentially extend the template infinitely. The agent can autonomously decide which tools to use to complete the request. It has access to multiple integrations, including: Gmail (read, send, reply, draft emails) Google Calendar (create, delete, check availability) Google Drive, Docs, Sheets, and Slides Web search and web scraping tools RAG (Retrieval-Augmented Generation) using a vector database Here how set up Image and video analysis tools Mathematical calculator tools Custom sub-workflows and MCP integrations The system also includes persistent chat memory stored in PostgreSQL, allowing the AI to remember previous interactions and maintain conversation context. Finally, the workflow generates a response and sends it back to the user via Telegram. If the input was voice-based, the response can also be converted into audio and returned as a voice message. An escalation mechanism allows the system to transfer the conversation to a human operator when needed. Key Advantages ✅ Multimodal Interaction The workflow supports text, voice, and image inputs, allowing users to interact with the system naturally. ✅ AI-Powered Automation The integrated AI agent can autonomously decide which tools to use to solve tasks, reducing manual intervention and enabling intelligent automation. 3.✅ Deep Integration with Google Workspace The workflow can manage emails, documents, spreadsheets, presentations, and calendar events directly through AI commands. ✅ Retrieval-Augmented Knowledge (RAG) The system can access external knowledge sources through a vector database, improving response accuracy and enabling knowledge-based answers. ✅ Persistent Memory Conversation history is stored in PostgreSQL, allowing the agent to maintain context and provide more relevant responses over time. ✅ Web Intelligence Built-in web search and scraping capabilities allow the agent to gather real-time information from the internet. ✅ Voice Response Capability The system can generate audio responses, creating a more natural conversational experience. ✅ Modular and Scalable Architecture The workflow is highly modular, allowing new tools, agents, and services to be added easily. ✅ Human Escalation When automation is not sufficient, the system can escalate the conversation to a human operator. ✅ Fully Automated Digital Assistant Overall, the workflow acts as a fully autonomous AI assistant capable of performing complex operational tasks across multiple platforms. How it works This workflow is a comprehensive Telegram-based AI orchestrator that simulates an OpenClaw-style multi-agent architecture. When a user sends a message to the Telegram bot, the workflow: Receives and authorizes the message through a Telegram trigger, checking if the user ID matches an authorized user (configured in the Code node) Routes different content types using a Switch node that detects whether the incoming message contains text, voice, or images: Text messages: Directly passed to the orchestrator Voice messages: Downloaded and transcribed using OpenAI's audio transcription Images: Downloaded, uploaded to an FTP server, and transformed into a URL for processing Feeds the processed input (text, transcribed voice, or image URL with caption) into the "OpenClaw Agents" node - an AI agent configured with Gemini as the language model and Postgres for chat memory Orchestrates specialized sub-agents through the main AI agent, which can delegate tasks to multiple tools: Research and web search (Perplexity AI) Web scraping (ScrapeGraphAI) Google services (Gmail, Drive, Docs, Sheets, Slides, Calendar) RAG (Qdrant vector store with Cohere reranker) Image/Video generation (via sub-workflow) Calculator Telegram communication tools Handles response delivery based on the original message type: If the original message was voice, the workflow generates an audio response using OpenAI TTS and sends it back as audio Otherwise, sends a text response via Telegram Includes escalation capabilities through a human-in-the-loop tool for situations requiring human intervention Set up steps Configure Telegram Bot Create a Telegram bot via BotFather to get a bot token Set up Telegram credentials in n8n Replace XXX in the Code node with your authorized Telegram user ID Set up API Keys and Credentials OpenAI: API key for audio transcription and text-to-speech Google Gemini: API key for the main language model Google Cloud: OAuth2 credentials for all Google services (Gmail, Drive, Calendar, Docs, Sheets, Slides) Perplexity AI: API key for research and web search ScrapeGraphAI: API key for web scraping Cohere: API key for reranker functionality PostgreSQL: Database connection for chat memory Configure External Services Qdrant: Set up vector database for RAG functionality FTP Server: Configure FTP credentials and path (replace /XXX/ in Upload image node with actual path and domain in Set Image Url node) Configure Webhooks and Endpoints Set the Telegram webhook URL to point to your n8n instance The workflow includes multiple MCP endpoints that need proper configuration Review and Adjust Parameters Check all nodes with placeholder values (marked with XXX) Verify language settings (Italian is set for transcription) Review the system prompt in the OpenClaw Agents node and customize if needed Ensure all tool descriptions match your use case Test and Activate Run the workflow in inactive mode first to test with sample inputs Check that all connections between nodes are correct Activate the workflow when everything is verified 👉 Subscribe to my new YouTube channel. Here I’ll share videos and Shorts with practical tutorials and FREE templates for n8n. Need help customizing? Contact me for consulting and support or add me on Linkedin.

Design scalable sync workflows with Data Tables, ProspectPro and HubSpot

This template is a pattern library (one importable workflow) that shows a repeatable way to structure n8n automations so they remain easy to extend, cheaper to run, and safer to scale. It’s intentionally opinionated and dry: the goal is not “plug & play”, but a set of proven building blocks you can copy into your own workflows. Problems this framework solves Spaghetti workflows that are hard to change** A consistent split into Trigger → Manager → Function → Utility so changes don’t ripple through everything. Duplicate processing when runs overlap** Uses “in progress / success / error” indicators so the trigger can skip items that are already being processed. Unnecessary re-runs that keep failing** Items that fail can be marked/parked, so you don’t burn executions repeating the same error. Execution costs exploding over time** Offers polling + batching alternatives when “one event = one execution” becomes too expensive. Rate limits and API throttling under load** Includes rate-limited processing patterns (delays/throttling) to smooth spikes. Missed items during downtime, deploys, or restarts** Stores sync state (e.g., lastSync) in n8n Data Tables instead of relying on in-memory state. Long-running pagination that becomes fragile** Demonstrates manual “page-wise” pagination (fetch N → process N → checkpoint → repeat) to avoid huge in-memory batches. Debugging incidents without visibility** Includes an error workflow pattern (Error Trigger + notification) and structured error logging. What you get in this template Trigger patterns (simple and rate-limited) Polling / batching patterns (basic → more robust → fully configurable with pagination) A “manager” pattern for stateful processing and overlap protection Function + utility workflow examples for reusability Error logging to a Data Table and an example Telegram alert Requirements / setup n8n version that includes the Data Table node Create/replace Data Tables used in the template (e.g. Timestamps, Errors) Example nodes use ProspectPro, HubSpot, and Telegram (optional). Replace these with your own tools if you’re not using them. Important notes This is not a finished automation. Import it, then choose the pattern(s) you need and swap the example “get items / process item” steps for your own logic. Some patterns include looping/recursion options—configure stop conditions carefully to avoid unintended infinite runs. This framework is one effective route to scalable n8n systems, not the only one. Note: this is a living document that will be updated periodically.

Auto-create Instagram carousel posts from Canva with OpenAI and Blotato

Auto-Create Instagram Carousel Posts from Canva (Webhook → AI Caption → Instagram) Automatically turn Canva carousel exports into a fully published Instagram post with AI-generated captions. This workflow receives a webhook payload containing PNG slides (for example from Claude Cowork or a Canva automation), uploads the images, generates an optimized Instagram caption using AI, and publishes the carousel post via Blotato. It removes the manual work of downloading slides, writing captions, and posting to Instagram. What this template does When triggered by a webhook, this workflow: Receives a payload containing carousel slide images Splits the slides into individual items Uploads each image to a media host Aggregates all images into a carousel Uses AI to generate an Instagram caption with hashtags Publishes the post to Instagram via Blotato This allows you to go from Canva design → Instagram post automatically. Example use cases This workflow is useful for: Social media managers automating Instagram posting Content creators producing carousel posts at scale Agencies generating client posts automatically AI-assisted content pipelines Marketing automation systems Example automation pipeline: Claude → Canva → n8n → Instagram Workflow overview Webhook → Split Slides → Upload Media → Aggregate Images → Generate Caption → Publish Instagram Post Node breakdown Webhook Receives a POST request containing the carousel slide data. The payload includes slide metadata and PNG URLs generated by Canva. Split Out Slides - Splits the slides array so each slide is processed individually. This allows each PNG image to be uploaded and processed as its own item. Upload Media (Blotato) - Uploads each slide image to the media host used by the social publishing platform. Aggregate collects all uploaded image URLs into a single list. Message a Model (AI Caption Generator) Telegram Node for Approval Create Post (Blotato) - Creates and publishes the Instagram carousel post Requirements Before using this template you must configure the following: OpenAI API credential Blotato API credential Instagram account connected to Blotato A system that sends the webhook (Claude, Canva, or another automation) Setup instructions Import the workflow into n8n Configure credentials: OpenAI Blotato Copy the webhook URL from the Webhook node Configure your upstream tool (Claude / Canva / automation) to send slide data to this webhook Test the workflow by sending a sample payload Activate the workflow Once active, new carousel payloads will automatically be turned into Instagram posts Customization ideas You can easily extend this workflow by: Adding Telegram approval before posting Posting to TikTok, LinkedIn, or Facebook Storing posts in Google Sheets or Notion Generating captions in different tones or languages Adding AI analysis of the slides to generate smarter captions

Customer Onboarding Automation with HubSpot, Email Sequences and Team Alerts

Learn Customer Onboarding Automation with n8n ✅ How It Works This smart onboarding automation handles new customer signups by: Receiving signup data via webhook Validating required customer info Creating a contact in HubSpot CRM Sending a personalized welcome email Delivering onboarding documents after 2 hours Sending a personal check-in email after 1 day Sending a Week 1 success guide after 3 days Updating CRM status and notifying the team at each milestone It’s designed for professional onboarding, with built-in timing, CRM integration, and smart notifications to improve engagement and retention. 🛠️ Setup Steps Create Webhook Add a Webhook node in n8n with POST method — this triggers when a new customer signs up. Validate Customer Data Add an IF node to check if email and customerName are present. Create CRM Contact Use a HubSpot node to create a new contact, map fields (e.g., split name into first/last). Send Notifications Add a Telegram or Slack node to alert your team instantly. Send Welcome Email Use an Email Send node for a warm welcome, customized with customer details. Wait 2 Hours Add a Wait node to delay next steps and avoid overwhelming the customer. Send Onboarding Documents Use another Email Send node to deliver helpful PDFs or guides. Wait 1 Day & Send Check-in Another Wait node, followed by a personal check-in email using the customer’s name. Wait 2 More Days & Send Success Guide Deliver Week 1 content via email to reinforce engagement. Update CRM & Notify Team Use HubSpot to update status and Telegram/Slack to notify your team of completion.

Monitor & Manage Docker Containers with Telegram Bot & AI Log Analysis

Monitor and manage Docker containers from Telegram with AI log analysis This workflow gives you a smart Telegram command center for your homelab. It lets you monitor Docker containers, get alerts the moment something fails, view logs, and restart services remotely. When you request logs, they're automatically analyzed by an LLM so you get a clear, structured breakdown instead of raw terminal output. Who it's for Anyone running a self-hosted environment who wants quick visibility and control without SSHing into a server. Perfect for homelab enthusiasts, self-hosters, and DevOps folks who want a lightweight on-call assistant. What it does Receives container heartbeat alerts via webhook Sends Telegram notifications for status changes or failures Lets you request logs or restart services from chat Analyzes logs with GPT and summarizes them clearly Supports manual “status” and “update all containers” commands Requirements Telegram Bot API credentials SSH access to your Docker host How to set it up Create a Telegram bot and add its token as credentials Enter your server SSH credentials in the SSH node Deploy the workflow and set your webhook endpoint Tailor container names or heartbeat logic to your environment Customize it Swap SSH commands for Kubernetes if you're on k8s Change the AI model to another provider Extend with health checks or auto-healing logic
+8

🤖 AI Powered RAG Chatbot for Your Docs + Google Drive + Gemini + Qdrant

🤖 AI-Powered RAG Chatbot with Google Drive Integration This workflow creates a powerful RAG (Retrieval-Augmented Generation) chatbot that can process, store, and interact with documents from Google Drive using Qdrant vector storage and Google's Gemini AI. How It Works Document Processing & Storage 📚 Retrieves documents from a specified Google Drive folder Processes and splits documents into manageable chunks Extracts metadata using AI for enhanced search capabilities Stores document vectors in Qdrant for efficient retrieval Intelligent Chat Interface 💬 Provides a conversational interface powered by Google Gemini Uses RAG to retrieve relevant context from stored documents Maintains chat history in Google Docs for reference Delivers accurate, context-aware responses Vector Store Management 🗄️ Features secure delete operations with human verification Includes Telegram notifications for important operations Maintains data integrity with proper version control Supports batch processing of documents Setup Steps Configure API Credentials: Set up Google Drive & Docs access Configure Gemini AI API Set up Qdrant vector store connection Add Telegram bot for notifications Add OpenAI Api Key to the 'Delete Qdrant Points by File ID' node Configure Document Sources: Set Google Drive folder ID Define Qdrant collection name Set up document processing parameters Test and Deploy: Verify document processing Test chat functionality Confirm vector store operations Check notification system This workflow is ideal for organizations needing to create intelligent chatbots that can access and understand large document repositories while maintaining context and providing accurate responses through RAG technology.

Build your own Webhook and Telegram integration

Create custom Webhook 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.

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

Webhook and Telegram integration details

Use case

Save engineering resources

Reduce time spent on customer integrations, engineer faster POCs, keep your customer-specific functionality separate from product all without having to code.

Learn more

FAQs

  • Can Webhook connect with Telegram?

  • Can I use Webhook’s API with n8n?

  • Can I use Telegram’s API with n8n?

  • Is n8n secure for integrating Webhook and Telegram?

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

Need help setting up your Webhook and Telegram integration?

Discover our latest community's recommendations and join the discussions about Webhook and Telegram integration.
Trigi Digital
Benjamin Hatton
Albert Ashkhatoyan
Víctor González
Salomão

Looking to integrate Webhook and Telegram in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Webhook 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