Back to Integrations
integrationDiscord node
integrationTelegram node

Discord and Telegram integration

Save yourself the work of writing custom integrations for Discord 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 Discord 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.

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

Step 2: Add and configure Discord and Telegram nodes

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

Discord and Telegram integration: Add and configure Discord and Telegram nodes

Step 3: Connect Discord and Telegram

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

Discord and Telegram integration: Connect Discord and Telegram

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

Discord and Telegram integration: Customize and extend your Discord and Telegram integration

Step 5: Test and activate your Discord and Telegram workflow

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

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

Generate & publish SEO-optimized WordPress blog posts with AI

Generate and Publish SEO-Optimized Blog Posts to WordPress

This n8n workflow, BlogBlitz, automates the creation and publishing of SEO-optimized blog posts for WordPress, saving you hours of content creation time. Triggered via Telegram or a scheduled interval, it generates 1,500–2,500-word articles on Technology, AI, Tech Facts, History, or Tips, complete with catchy titles, slugs, meta descriptions, and realistic featured images. Perfect for bloggers and marketers, BlogBlitz ensures your site stays fresh with high-quality content.

Who is this for?
Bloggers, content marketers, and WordPress site owners who want to automate high-quality, SEO-ready blog content creation without manual writing or formatting.

What problem is this workflow solving?
Manually creating engaging, SEO-optimized blog posts is time-consuming and requires expertise. BlogBlitz solves this by automating the entire process—from generating ideas and writing articles to publishing and notifying you—keeping your site active and discoverable.

What this workflow does
Triggers**: Runs every 3 hours via a Schedule Trigger or on-demand with a Telegram command (“generate”).
Generates Content**: Uses OpenRouter to pick a category (e.g., Technology, AI) and create a title, slug, focus keyphrase, and meta description.
Writes Articles**: OpenAI crafts 1,500–2,500-word posts with SEO-friendly structure, headings, and a call-to-action.
Adds Visuals**: Generates realistic featured images with OpenAI and uploads them to WordPress.
SEO Features**: Generate optimized slug, focus keyphrase, meta description
Publishes**: Posts articles to WordPress with proper categories and featured images.
Notifies**: Sends publish alerts with links to Discord and Telegram.

Setup
n8n instance (Cloud or self-hosted): Ensure you have a cloud or self-hosted n8n instance.
Credentials:
WordPress: API access for wp-json/wp/v2 endpoint.
OpenAI: For article and image generation.
OpenRouter: For title and category generation.
Telegram: Bot API for triggers and notifications.
Discord: Webhook for publish alerts.
WordPress Configuration:
Set up categories (Technology [ID:3], AI [ID:4], Tech Fact [ID:7], Tech History [ID:8], Tech Tips [ID:9]).
Ensure an admin user ID is available (default: 1).
Node Setup:
Use the Edit Fields node to centralize variables like category IDs.
Test: Send “generate” via Telegram to test the workflow. Check WordPress for the published post.

How to customize this workflow to your needs
Change Categories**: Update the WordPress Post Draft node to match your site’s category IDs.
Adjust Schedule**: Modify the Schedule Trigger node for different intervals (e.g., daily).
Tweak Tone**: Edit the prompt in the Basic LLM Chain node for a different writing style (e.g., formal or casual).
Add Platforms**: Extend notifications to Slack or email by adding nodes.
Image Style**: Adjust the OpenAI image node for different sizes or styles (e.g., “natural” instead of “vivid”).

Pre-Requirements
n8n Instance**: Cloud or self-hosted.
Credentials**:
WordPress API (wp-json/wp/v2 endpoint).
OpenAI API for text and images.
OpenRouter API for AI content.
Telegram bot API.
Discord Webhook API.
Dependencies**: @n8n/n8n-nodes-langchain package.
WordPress Setup**: Categories and admin user ID configured.
Network**: Stable internet for API calls.

Made by: Khaisa Studio
Tag: youtube, summarizer, telegram, openai
Category: AI Automation, Video Tools
Need a custom? Contact Me

Nodes used in this workflow

Popular Discord and Telegram workflows

Midjourney Image Generator via Telegram and GoAPI

This workflow connects Telegram to Midjourney through GoAPI, enabling automated image generation and upscaling directly from chat. How it Works Telegram Command Trigger**: The workflow activates upon receiving a message in Telegram. Image Generation**: Your prompt is sent to GoAPI, which then generates an image using Midjourney. Upscale Selection**: You receive the generated image and select an option for upscaling. Image Upscaling**: The selected image is upscaled via GoAPI. Notifications and Logs**: Progress updates are sent to Telegram, and all images are logged in Discord. Set Up Steps Create a Telegram Bot and update credentials in Telegram nodes. Create a GoAPI account, obtain an API key, and update the three HTTP nodes: "Get Generation Task," "Upscale," and "Get Upscale Task". (Optional) Configure the Discord node for logging if desired. Setup takes approximately 10-15 minutes. Detailed descriptions are available in sticky notes within the workflow.

Zip code-based business lead generation with Google Maps and Sheets

Who Is This For? This workflow is perfect for anyone who wants to automate lead generation using n8n without paying for expensive scraping tools. It uses simple Google Maps API requests and Google Sheets to pull business data by ZIP code and category, then extracts emails at no extra cost. What This Workflow Does Automated Lead Generation**: Runs on a schedule to process ZIP codes and business categories automatically. Data Extraction**: Queries Google Maps for businesses based on each ZIP code + subcategory combo. Data Processing**: Skips entries with a STATUS = "N/A" Removes duplicate results using place.id Extracts and formats relevant business details Error Handling**: Uses exponential backoff when hitting rate limits Stops after 10 retry attempts Data Storage**: Saves results directly to Google Sheets Tracks which ZIP/subcategory pairs have been completed Requirements Google Maps API** (business lookup) Google Sheets OAuth2** (data storage) Telegram Bot API** (notifications) Rapiwa API** (WhatsApp alerts) How to Use — Step-by-Step Setup Set Up Credentials in n8n Add your Google Maps API credentials (named "Google MAP") Add Google Sheets OAuth2 credentials (named "Google Sheets") Add Rapiwa API credentials (named "Rapiwa account 2") Prepare Your Google Sheet Create one Sheet document with these tabs: zip** — ZIP codes to process maps categories** — Business categories/subcategories result** — Where extracted business data will be stored Then update: The document ID inside the workflow nodes The sheet IDs (gid values) so they match your actual tabs Customize the Workflow Change the Limit node to control how many ZIP codes run per batch (default: 10) Adjust retry limits in the relevant nodes (default: 10 attempts) Modify the Schedule node to set your preferred run frequency (default: hourly) > This gives you a simple, scalable, nearly free system for generating targeted leads automatically. Useful Links MAP API Create Project & API How to Use google map docs Rapiwa**: Get your WhatsApp API credentials Support & Help WhatsApp**: Chat on WhatsApp Discord**: SpaGreen Community Facebook Group**: SpaGreen Support Website**: https://spagreen.net Developer Portfolio**: Codecanyon SpaGreen
+9

Extract text from PDFs and images in Google Drive and post to WordPress and social media with OpenAI GPT-4.1 and DALL·E

Who is this for? This workflow is designed for content creators, social media managers, digital marketers, and business owners who want to automate their content creation and distribution process across multiple platforms. It's perfect for those who regularly create content from PDFs or images and want to streamline their social media posting workflow. Key Features Monitors a specific Google Drive folder for new PDFs or images Extracts text from PDFs or images using AI Optionally generates new images from text using OpenAI's DALL-E Automatically posts content with images to multiple platforms Sends notifications about successful posts Handles different file types with specialized extraction methods Workflow Does This workflow automates monitoring a Google Drive folder for new PDFs and images, extracting content using AI, and distributing it across social media platforms like WordPress, Facebook, Telegram, LinkedIn, and Discord. It can also generate new images from text and sends notifications about successful posts. The process ensures efficient handling of different file types and streamlines content sharing across multiple channels. Requirements Google Drive account with a dedicated folder for content OpenAI API credentials for image generation WordPress API credentials for website posting Social media API credentials: Facebook Graph API Telegram Bot API LinkedIn OAuth2 API Discord Bot API X/Twitter OAuth2 API Gmail credentials for email notifications Rapiwa account for WhatsApp notifications Important Notes Make sure all API credentials are properly configured before running the workflow The workflow handles both PDF and image files differently based on their MIME type Image generation is optional and can be disabled if not needed All social media posting nodes can be individually enabled or disabled based on your needs The workflow includes rate limiting to avoid API restrictions Support & Help WhatsApp**: Chat on WhatsApp Discord**: SpaGreen Community Facebook Group**: SpaGreen Support Website**: https://spagreen.net Developer Portfolio**: Codecanyon SpaGreen
+2

Generate AI-Curated Reddit Digests for Telegram, Discord & Slack with Gemini

Automatically fetch, curate, and distribute Reddit content digests using AI-powered filtering. This workflow monitors multiple subreddits, ranks posts by relevance, removes spam and duplicates, then delivers beautifully formatted digests to Telegram, Discord, or Slack. Who's it for Perfect for content creators tracking trends, marketers monitoring discussions, researchers following specific topics, and community managers staying informed. Anyone who wants high-quality Reddit updates without manually browsing multiple subreddits. How it works The workflow fetches top posts from your chosen subreddits using Reddit's JSON API (no authentication required). Posts are cleaned, deduplicated, and filtered by upvote threshold and custom keywords. An AI model (Google Gemini, OpenAI, or Claude) then ranks remaining posts by relevance, filters out low-quality content, and generates a formatted digest. The final output is delivered to your preferred messaging platform on a schedule or on-demand. Setup requirements n8n version 1.0+ AI provider API key (Google Gemini recommended - has free tier) At least one messaging platform configured: Telegram bot token + chat ID Discord webhook URL Slack OAuth token + channel access How to set up Open the Configuration node and edit subreddit list, post counts, and keywords Configure the Schedule Trigger or use manual execution Add your AI provider credentials in the AI Content Curator node Enable and configure your preferred delivery platform (Telegram/Discord/Slack) Test with manual execution, then activate the workflow Customization options Subreddits**: Add unlimited subreddits to monitor (comma-separated) Time filters**: Choose from hour, day, week, month, year, or all-time top posts Keywords**: Set focus keywords to prioritize and exclude keywords to filter out Post count**: Adjust how many posts to fetch vs. how many appear in final digest AI prompt**: Customize ranking criteria and output format in the AI node Schedule**: Use cron expressions for hourly, daily, or weekly digests Output format**: Modify the formatting code to match your brand style Add email notifications, database storage, or RSS feed generation by extending the workflow with additional nodes.

AI Virtual Try-On Image, Video Generation for Telegram, Discord & YouTube

🧥 Virtual Try-On Image & Video Generation (VLM Run) 📌 Overview This n8n workflow enables a Virtual Try-On experience where users upload a dress image and the system: Combines it with a fashion model image Generates a realistic try-on image Generates a fashion walking video Automatically shares results via: Telegram Discord YouTube 🚀 Use Cases Virtual fashion try-on AI fashion marketing Clothing e-commerce previews Social media fashion automation Influencer & brand demo pipelines ✨ Key Features 🖼️ Image-based virtual try-on (model wearing the dress) 🎥 AI-generated fashion video 🔗 Multi-platform publishing (Telegram, Discord, YouTube) 🧩 Modular, extensible workflow design 🧠 Workflow Architecture 🟨 Input Dress Image** – Uploaded by user (Form Trigger) Model Image** – Downloaded from predefined URL Prompt** – Auto-constructed inside workflow 🟦 Output 🖼️ Try-On Image 🎥 Fashion Walk Video 📤 Shared to: Telegram (image/video) Discord (image) YouTube (video upload) 🔐 Required Credentials You must configure the following credentials in n8n: | Service | Credential Type | | -------- | ------------------ | | VLM Run | VLM Run API | | Telegram | Telegram Bot API | | Discord | Discord OAuth2 | | YouTube | YouTube OAuth2 | ⚠️ Community Node Warning > Important: This workflow uses a Community Node > @vlm-run/n8n-nodes-vlmrun What this means: This node is NOT installed by default in n8n You must manually install it before using the workflow 📦 Installation Run the following command in your n8n environment: npm install @vlm-run/n8n-nodes-vlmrun Then restart n8n. 📖 Community Nodes Documentation: https://docs.n8n.io/integrations/community-nodes/

Multi-Channel Workflow Error Alerts with Telegram, Gmail & Messaging Apps

The Error Notification workflow is designed to instantly notify you whenever any other n8n workflow encounters an error, using popular communication channels like Telegram and Gmail—with optional support for Discord, Slack, and WhatsApp. 💡 Why Use Error Notification workflow? Immediate Awareness:** Get instant alerts when workflows fail, preventing unnoticed errors and downtime. Multi-Channel Flexibility:** Notify your team via Telegram, Gmail, and optionally Slack, Discord, or WhatsApp. Detailed Context:** Receive rich error information including the error message, node name, time, and execution link for quicker fixes. Easy Integration:** Built with native n8n nodes and customizable code, simple to adopt without complex setup. Open Source & Free:** Use and adapt this workflow at no cost, making professional error monitoring accessible. ⚡ Who Is This For? n8n Workflow Developers:** Quickly spot and respond to automation issues in development or production. Operations Teams:** Maintain uptime and swiftly troubleshoot errors across multiple workflows. Small to Medium Businesses:** Gain professional error alerting without expensive monitoring tools. Automation Enthusiasts:** Enhance your automation reliability with real-time failure notifications. ❓ What Problem Does It Solve? This workflow embedd error detection and notification directly within your n8n instance. It automates the process of catching errors as they occur, compiling meaningful context, and delivering it instantly via your preferred messaging platforms. This drastically reduces your response time to issues and streamlines error management, improving your automation reliability and operational confidence. 🔧 What This Workflow Does ⏱ Trigger: Listens for any error generated in your n8n workflows using the n8n Error Trigger node. 📎 Step 2: Executes a Code node that formats a detailed error message capturing workflow name, error node, description, timestamp, and an execution URL. 🔍 Step 3: Sends the formatted error notification to multiple communication channels: Telegram and Gmail by default, plus optionally Discord, Slack, and WhatsApp (disabled by default). 💌 Step 4: Delivers rich, parsed HTML-formatted messages to ensure error readability and immediate actionability. 🔐 Setup Instructions Import the provided .json file into your n8n instance (Cloud or self-hosted). Set up credentials: Gmail OAuth credentials for sending emails via Gmail node Telegram API credentials for Telegram notifications (Optional) Discord Webhook URL credential for Discord notifications (Optional) Slack Webhook credential for Slack notifications (Optional) WhatsApp connection credentials (if enabled) Customize the Code node if needed to adjust the error message format or target chat IDs. Update the chat IDs and recipient details in each notification node according to your channels. Test the workflow by manually triggering an error in another workflow to verify proper notifications. 🧩 Pre-Requirements Active n8n instance (cloud or self-hosted) with version supporting Error Trigger node Telegram bot credentials and chat ID (Optional) Gmail, Discord, Slack, or WhatsApp accounts and webhook credentials if you want to use those channels 🛠️ Customize It Further Enable and configure additional notification nodes like Slack or WhatsApp to fit your team's communication style. Customize the error message template in the Code node to include extra metadata or format it differently (e.g., markdown). Integrate with incident management tools via webhook nodes or create tickets automatically on error. 🧠 Nodes Used Error Trigger Code Telegram Gmail Discord (disabled) Slack (disabled) WhatsApp (disabled) Sticky Note (for description) 📞 Support Made by: khaisa Studio Tag: notification,error,monitoring,workflow,automation,alerts Category: Monitoring & Alerts Need a custom? Need a custom? contact me on LinkedIn or Web

Build your own Discord and Telegram integration

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

Discord supported actions

Create
Create a new channel
Delete
Delete a channel
Get
Get a channel
Get Many
Retrieve the channels of a server
Update
Update a channel
Delete
Delete a message in a channel
Get
Get a message in a channel
Get Many
Retrieve the latest messages in a channel
React with Emoji
React to a message with an emoji
Send
Send a message to a channel, thread, or member
Send and Wait for Response
Send a message and wait for response
Get Many
Retrieve the members of a server
Role Add
Add a role to a member
Role Remove
Remove a role from a member

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 Discord connect with Telegram?

  • Can I use Discord’s API with n8n?

  • Can I use Telegram’s API with n8n?

  • Is n8n secure for integrating Discord and Telegram?

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

Need help setting up your Discord and Telegram integration?

Discover our latest community's recommendations and join the discussions about Discord and Telegram integration.
Trigi Digital

Looking to integrate Discord and Telegram in your company?

Over 3000 companies switch to n8n every single week

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