Telegram Automation Workflows
1,646 ready-made Telegram workflows for n8n, Make, Zapier, Activepieces, and Pipedream. Bots, alerts, and AI assistants delivered straight to Telegram chats and channels.
Flight Data Visualization with Chart.js, QuickChart API & Telegram Bot
# Real-time Flight Data Analytics Bot with Dynamic Chart Generation via Telegram ## Template Overview This advanced n8n workflow creates an intelligent Telegram bot that transforms raw CSV flight data into stunning, interactive visualizations. Users can generate professional charts on-demand through a conversational interface, making data analytics accessible to anyone via messaging. **Key Innovation**: Combines real-time data processing, Chart.js visualization engine, and Telegram's messaging platform to deliver instant business intelligence insights. ## What This Template Does Transform your flight booking data into actionable insights with four powerful visualization types: - **Bar Charts**: Top 10 busiest airlines by flight volume - **Pie Charts**: Flight duration distribution (Short/Medium/Long-haul) - **Doughnut Charts**: Price range segmentation with average pricing - **Line Charts**: Price trend analysis across flight durations Each chart includes auto-generated insights, percentages, and key business metrics delivered instantly to users' phones. ## Technical Architecture ### Core Components 1. **Telegram Webhook Trigger**: Captures user interactions and button clicks 2. **Smart Routing Engine**: Conditional logic for command detection and chart selection 3. **CSV Data Pipeline**: File reading → parsing → JSON transformation 4. **Chart Generation Engine**: JavaScript-powered data processing with Chart.js 5. **Image Rendering Service**: QuickChart API for high-quality PNG generation 6. **Response Delivery**: Binary image transmission back to Telegram ### Data Flow Architecture ``` User Input → Command Detection → CSV Processing → Data Aggregation → Chart Configuration → Image Generation → Telegram Delivery ``` ## Setup Requirements ### Prerequisites - **n8n instance** (self-hosted or cloud) - **Telegram Bot Token** from @BotFather - **CSV dataset** with flight information - **Internet connectivity** for QuickChart API ### Dataset Source This template uses the **Airlines Flights Data** dataset from GitHub: **Dataset**: [Airlines Flights Data by Rohit Grewal](https://github.com/dataminexcode/n8n-workflow/blob/main/Real-time%20Flight%20Data%20Analytics%20Bot%20with%20Dynamic%20Chart%20Generation%20via%20Telegram/data) ### Required Data Schema Your CSV file should contain these columns: ```csv airline,flight,source_city,departure_time,arrival_time,duration,price,class,destination_city,stops ``` ### File Structure ``` /data/ → flights.csv (download from GitHub dataset above) ``` ## Configuration Steps ### 1. Telegram Bot Setup 1. Create a new bot via @BotFather on Telegram 2. Copy your bot token 3. Configure the Telegram Trigger node with your token 4. Set webhook URL in your n8n instance ### 2. Data Preparation 1. Download the dataset from [Airlines Flights Data](https://github.com/dataminexcode/n8n-workflow/blob/main/Real-time%20Flight%20Data%20Analytics%20Bot%20with%20Dynamic%20Chart%20Generation%20via%20Telegram/data) 2. Upload the CSV file to `/data/flights.csv` in your n8n instance 3. Ensure UTF-8 encoding 4. Verify column headers match the dataset schema 5. Test file accessibility from n8n ### 3. Workflow Activation 1. Import the workflow JSON 2. Configure all Telegram nodes with your bot token 3. Test the `/start` command 4. Activate the workflow ## Technical Implementation Details ### Chart Generation Process **Bar Chart Logic**: ```javascript // Aggregate airline counts const airlineCounts = {}; flights.forEach(flight => { const airline = flight.airline || "Unknown"; airlineCounts[airline] = (airlineCounts[airline] || 0) + 1; }); // Generate Chart.js configuration const chartConfig = { type: 'bar', data: { labels, datasets }, options: { responsive: true, plugins: {...} } }; ``` **Dynamic Color Schemes**: - Bar Charts: Professional blue gradient palette - Pie Charts: Duration-based color coding (light to dark blue) - Doughnut Charts: Price-tier specific colors (green to purple) - Line Charts: Trend-focused red gradient with smooth curves ### Performance Optimizations 1. **Efficient Data Processing**: Single-pass aggregations with O(n) complexity 2. **Smart Caching**: QuickChart handles image caching automatically 3. **Minimal Memory Usage**: Stream processing for large datasets 4. **Error Handling**: Graceful fallbacks for missing data fields ### Advanced Features **Auto-Generated Insights**: - Statistical calculations (percentages, averages, totals) - Trend analysis and pattern detection - Business intelligence summaries - Contextual recommendations **User Experience Enhancements**: - Reply keyboards for easy navigation - Visual progress indicators - Error recovery mechanisms - Mobile-optimized chart dimensions (800x600px) ## Use Cases & Business Applications ### Airlines & Travel Companies - **Fleet Analysis**: Monitor airline performance and market share - **Pricing Strategy**: Analyze competitor pricing across
n8n$14.99Automate Customer Support with Grok-4, Google Docs, and Telegram
Create an AI-powered customer support agent that leverages Grok-4 and Google Docs to respond to Telegram queries using document-based intelligence.
n8n$9.99Fetch Real-Time Meme Coin Prices via Telegram Bot and CoinGecko API
This workflow allows users to retrieve the latest meme coin prices in real-time through a Telegram bot command, leveraging the CoinGecko API.
n8n$4.99Real-Time Telegram Alerts for Workflow Errors in n8n
This workflow sends real-time notifications to Telegram when an n8n workflow encounters an error, providing detailed information for quick troubleshooting.
n8n$4.99Automate Daily Web Data Extraction and Telegram Alerts
Automatically extract structured data from websites daily using Firecrawl and receive alerts via Telegram. Ideal for compliance monitoring and market intelligence.
n8n$9.99Conduct AI-Enhanced Product Satisfaction Surveys via Telegram and Google Sheets
This workflow automates product satisfaction surveys using a Telegram chatbot to gather responses, which are then stored in Google Sheets. It leverages AI to ask follow-up questions, enhancing user engagement and insights.
n8n$24.99Automate Academic Assignment Creation and Delivery via Telegram
This n8n workflow automates the generation of academic assignments from student queries, using Google Gemini AI for content creation and delivering the final documents via Telegram.
n8n$14.99Automate Expense Tracking from Telegram Receipts Using Tesseract and LLaMA
Streamline your expense tracking by automatically extracting and categorizing receipt details from Telegram messages using Tesseract for OCR and LLaMA for AI analysis.
n8n$14.99Automate Hourly Crypto Market Analysis and Alerts from Binance to Telegram
This workflow automates the process of fetching hourly crypto market data from Binance, analyzing key metrics, and sending a detailed market summary to Telegram.
n8n$9.99Automate Employee Database Management with AI via Telegram
Streamline HR operations by managing employee records through Telegram using AI and Airtable. This workflow automates the creation, retrieval, and deletion of employee data, enhancing efficiency and accuracy.
n8n$14.99Streamline Job Application Processing to Telegram for HR Teams
Automate the transfer of job application details from a web form to a Telegram channel, enhancing efficiency for HR teams by reducing manual checks.
n8n$14.99Process Invoices & Engineering Emails with Gmail, AI Analysis & Telegram Alerts
Automate admin tasks for manufacturing companies by processing emails, extracting key data from invoices & purchase orders, and delivering instant alerts via Gmail and Telegram. **Description** This workflow automatically: - Fetches incoming emails from Gmail - Classifies emails (invoices, purchase orders, payment follow-up, etc.) using AI - Sends tailored auto-replies based on content and attachment presence - Extracts structured data from attached invoices/POs (PDFs etc.) - Delivers alerts and document files to your team via Telegram - Logs or routes data for further use in accounting or internal systems **Pre-Conditions & Requirements** Before using this workflow, you need: - Gmail Account with API access (for OAuth2 authentication) - Telegram Bot API Token (create a Telegram bot and get your API key) - Optional: API credentials for Google Sheets or other data sinks if you want to log extracted data - OpenRouter API credentials (for AI-powered nodes, if used) - Access to an n8n instance (cloud or self-hosted) **Setup Instructions** Import the Workflow: - Download the JSON file and import it into your n8n instance. Connect Accounts: - Configure the Gmail Trigger node with your Gmail OAuth2 credentials - Set up the Telegram node with your bot API token Set Required Variables: - Adjust AI instructions or prompt text if needed (for your company's tone/templates) - Customize labels, keywords, or filters in code nodes for your use case - Set target Telegram chat/group IDs Test the Workflow: - Send a sample email with attachments to your Gmail account - Confirm that emails are classified, replies are sent, and Telegram notifications/mobile alerts are delivered as expected Review and Connect Optional Modules: - For logging or archiving extracted data, connect additional "Google Sheets" or "Webhook" nodes as needed **Customization Tips** Modify Email Categories: - Update AI prompt instructions or filters to add/change labels ("Vendor Query," "Partial Payment," etc.) Attachment Handling: - Edit the code node logic to detect and process additional file types (DWG, XLSX, ZIP, etc.) Notification Logic: - Change the Telegram destination or add Slack/Microsoft Teams for broader team alerts Data Logging: - Add nodes for CRM, inventory, or ERP integration (push to your accounting or workflow management tool) **Example AI Prompt (for categorization)** ``` You are the personal emailing assistant for Zenith Engineering, a manufacturing company... ## Your tasks: - Categorize each email by priority - Draft polite, professional replies... - Identify and label attachments such as invoices, POs, drawings Response should be a valid JSON object: {Label:Important, Response:...} ``` If you have any doubts and questions, let me know: smonu2303@gmail.com from Pune. LinkedIn: https://www.linkedin.com/in/raj-more-171560bb/
n8n$14.99Automate Task Creation in Todoist from Telegram Messages Using AI
This n8n workflow automates task management by converting Telegram messages into Todoist tasks using AI. It supports both voice and text inputs, enhancing productivity and efficiency.
n8n$9.99AI-Powered Credit Card Recommendation System with OpenAI GPT, Telegram & Google Sheets
Overview Confused about which credit card to actually get or swipe? With 100+ cards on the market, hidden caps, and milestone rules, most people end up leaving rewards, perks, and cashback on the table. This workflow uses n8n + GPT + Google Sheets + Telegram to recommend the best credit card for each user's lifestyle in under 3 seconds, while keeping the logic transparent with a value breakdown. What does this workflow do? This workflow: - Captures User Inputs - Users answer a 7-question lifestyle quiz via Telegram. - Stores Responses - Google Sheets logs all answers for resumption & deduplication. - Scores Answers - n8n Function nodes map single & multi-select inputs into scores. - Generates Recommendations - GPT analyses profile vs. 30+ card dataset. - Breaks Down Value - Outputs a transparent table of rewards, milestones, lounge value. - Delivers Results - Top 3 card picks returned instantly on Telegram. Why is this useful? Most card comparison tools only list features; they don't personalize or calculate actual value. This workflow builds a decision engine: - Personalized – matches lifestyle to best-fit cards - Transparent – shows value in real currency (rewards, milestones, lounges) - Fast – answers in under 3 seconds - Organized – Google Sheets keeps an audit trail of every user + dedupe Tools used - n8n (Orchestrator): Orchestration + logic branching - Telegram: User-facing quiz bot - Google Sheets: Database of credit cards + logs of user answers - OpenAI (GPT): Analyses user profile & generates recommendations Who is this for? - Fintech product builders – see how AI can power recommendation engines - Cardholders – understand which card fits their lifestyle best - n8n makers – learn how to combine Sheets + GPT + chat interface into one workflow How to adapt it for your country/location This workflow uses a credit card dataset stored in Google Sheets. To make it work for your country: - Build your dataset – scrape or collect card details from banks, comparison sites, or official portals - Fields to include: Fees, Reward rate, Lounge access, Forex markup, Reward caps, Milestones, Eligibility. - You can use web crawlers (e.g., Apify, PhantomBuster) to automate data collection. - Update the Google Sheet – replace the India dataset with your country's cards. - Adjust scoring logic – modify Function nodes if your cards use different reward structures (e.g., cashback %, miles, points value). - Run the workflow – GPT will analyse against the new dataset and generate recommendations specific to your country. This makes the workflow flexible for any geography. Workflow Highlights - End-to-end credit card recommendation pipeline (quiz → scoring → GPT → result) - Handles single + multi-select inputs fairly with % match scoring - Transparent value breakdown in local currency (rewards, milestones, lounge access) - Google Sheets for persistence, dedupe & audit trail - Delivers top 3 cards in <3 seconds on Telegram - Fully customizable for any country by swapping the dataset
n8n$24.99Automate Real-Time Cryptocurrency Price Updates in Telegram
This workflow integrates CoinMarketCap with Telegram to provide real-time cryptocurrency prices. Users can request live prices by messaging a Telegram bot, ideal for traders and enthusiasts needing quick market data.
n8n$4.99Automate AI-Driven Customer Support on Telegram and WhatsApp
Leverage AI to deliver seamless customer support on Telegram and WhatsApp using n8n. This workflow integrates with Google Sheets and OpenAI to provide personalized responses and smart routing.
n8n$14.99Automate Product Recommendations on Telegram with AI and Amazon Scraping
Transform your Telegram channel into a smart shopping assistant that automatically provides product recommendations using AI and real-time Amazon data.
n8n$14.99Automate Email Responses with Voice Notes Using Telegram, OpenAI, and Gmail
This workflow enables you to respond to emails with voice notes instead of typing. It uses OpenAI's Whisper to transcribe your voice message and drafts a reply in Gmail.
n8n$14.99Build a Multi-Model AI Chatbot with Telegram, AIMLAPI, and Google Sheets
This n8n workflow allows Telegram users to interact with multiple AI models dynamically. Users can select models using #model_id commands and track their daily usage via Google Sheets.
n8n$14.99Automate Reuters News Scraping and AI Summarization with Brightdata and Telegram Alerts
This n8n workflow automates the process of scraping Reuters news articles using Brightdata, analyzing them with Claude AI, and sending summarized alerts to Telegram. Ideal for professionals needing timely and concise news insights.
n8n$14.99Monitor Website Content Changes and Notify via Telegram
Automatically track changes on a website and receive notifications on Telegram when updates occur. This workflow is ideal for monitoring competitor blogs or any site for new content.
n8n$4.99AI-Powered Airbnb Accommodation Search with Telegram Integration
This workflow integrates AI capabilities with Telegram to streamline the accommodation search process for users. By utilizing an advanced language model, it allows users to interact with an Airbnb agent that can understand and respond to queries r...
n8n$24.99Family Assistant: Schedule, Meal & Routine Management with Email & Telegram
The **FamilyFlow Assistant** is your n8n-powered companion designed to streamline daily parenting tasks, reduce mental load, and bring a bit more organization and fun into your family life. This versatile workflow automates reminders, generates helpful ideas, and provides gentle nudges to keep your household running smoothly. --- Why FamilyFlow Assistant? ---------------------------- Parenting is a demanding (and rewarding!) job. Juggling schedules, meals, routines, and remembering everything can be overwhelming. FamilyFlow Assistant aims to: - **Reduce Mental Clutter:** Offload common reminders and to-dos to an automated system. - **Enhance Organization:** Keep track of activities, appointments, and important checks. - **Spark Joy & Creativity:** Generate meal ideas, story starters, and positive thoughts. - **Promote Routine:** Help establish and maintain consistent morning and evening routines. - **Save Time:** Automate repetitive prompts and checks, freeing you up for what matters most. --- Core Features & Automations ------------------------------ This workflow bundle comes packed with several independent yet complementary automations: ### Daily & Weekly Organization: - **Activity & Appointment Reminders:** Get a daily heads-up on scheduled events for the family. - **Morning Routine Checklist:** Start the day right with a friendly checklist for kids (or parents!). - **Bedtime Routine Nudge:** A gentle reminder to begin the wind-down process. - **Evening "Did You Remember?" Scan:** A quick mental checklist for common end-of-day to-dos. - **Weekly "Plan Ahead" Prompt:** A Sunday reminder to review the upcoming week. - **School/Daycare Comms Check:** Prompts to check for important updates. ### Inspiration & Well-being: - **Meal Idea Generator:** Never wonder "what's for dinner?" again (or at least, less often!). - **Positive Thought / Fun Fact Sender:** A little daily dose of brightness. - **Story Starter / Quick Activity Prompt:** Spark imagination or a quick family interaction. - **Weekly Wins & Gratitude Reminder:** Encourage reflection on positive moments. ### Optional Helpers: - **Screen Time Break Reminder:** (Disabled by default) A nudge for offline time. --- Getting Started: Setup & Customization ------------------------------------------ Make FamilyFlow Assistant truly yours with these simple steps: 1. **Import the Workflow:** Add the provided `.json` file to your n8n instance. 2. **Configure Credentials:** - **Email:** Set up your preferred email sending credential (e.g., SMTP, Gmail) in _all_ "Email Send" nodes. You'll likely use the same one for all. 3. **Personalize Content (Crucial!):** - **Email Addresses:** Update parents@example.com to your actual email(s) in all Email nodes. - **Schedules & Activities:** Edit the "Define Daily Schedules" (Set node) with your family's actual events. - **Meal Ideas:** Customize the mealIdeas array in the "Generate Meal Idea" (Function node). - **Checklists & Prompts:** Tailor the text/HTML in Email nodes for morning/bedtime routines, check-ins, story starters, etc., to fit your family's style. - **Positive Thoughts/Facts:** Update the lists in the "Get Positive Thought/Fact" (Function node). 4. **Adjust Triggers (Cron Nodes):** - Modify the "Rule" in each Cron node to set the exact time and frequency for each automation. 5. **Activate Automations:** - The main workflow and most automations are inactive by default. Toggle the "Active" switch ON for the entire workflow or for individual automations/nodes you wish to use. - Remember, the "Screen Time Break Reminder" is disabled by default; enable its Email node if desired. --- How Each Automation Works (Briefly) -------------------------------------- Each automation generally follows this pattern: 1. **TRIGGER:** An event starts the flow (e.g., a scheduled time via Cron). 2. **PROCESS:** Data is defined (e.g., list of activities, meal ideas) or generated (e.g., a random selection, a formatted message). 3. **RESPOND:** An action is taken, typically sending an email with the relevant information or reminder. For instance, the "Daily Activity Reminder" uses a Cron trigger, a Set node to hold your schedule, a Function node to filter for today's events, an IF node to check if there are any, and finally an Email node to send the reminder. --- Expanding Your Assistant --------------------------- FamilyFlow Assistant is a great starting point. Consider these ideas to extend its capabilities: - **Integrate Calendars:** Connect to Google Calendar or Outlook Calendar to fetch events dynamically. - **Use Different Notifiers:** Send messages via Telegram, WhatsApp, Slack, or push notifications. - **Smart Home Integration:** If you have smart home devices, trigger lights or announcements for routines. - **Shared To-Do Lists:** Update a shared Todoist or Microsoft ToDo list.
n8n$24.99Self-Learning AI Assistant with Permanent Memory | GPT, Telegram & Pinecone RAG
## Your AI secretary that self-learns every day and remembers everything you said (text, audio, image). **Imagine having a personal AI secretary accessible right from your Telegram, ready to assist you with information and remember everything you discuss.** This n8n workflow transforms Telegram into your intelligent assistant, capable of understanding text, audio, and images, and continuously learning from your interactions. **It integrates RAG's offline data ingestion and online querying functionalities, letting you save inspiration and key information permanently in real-time, and giving you an AI assistant that remembers all your dialogues and information.** It builds and queries a powerful vector database in real-time, ensuring relevant and accurate responses. **Video guidance on how to set up Telegram integration is also included.** **Who is this for?** This template is ideal for: - Individuals seeking a personal AI assistant for quick information retrieval and note-taking. - Professionals who need to keep track of important conversations and insights. - Anyone interested in leveraging the power of Retrieval-Augmented Generation (RAG) and vector databases for personal knowledge management. - Users who want a self-learning AI that improves over time based on their interactions. **What problem is this workflow solving?** **This workflow integrates RAG's offline data ingestion and online querying functionalities, letting you save inspiration and key information permanently in real-time, and giving you an AI assistant that remembers all your dialogues and information.** This workflow addresses the challenge of information overload and the need for an easily accessible, personalized knowledge base. It eliminates the need to manually organize notes and search through past conversations. By automatically storing and retrieving information from a vector database, this workflow makes it effortless to access the knowledge you need, when you need it. It also provides a way to retain information from various media types like voice notes and images. **What this workflow does:** This workflow automates the following steps: - **Instant Information Capture:** Receives text messages, audio notes (transcribed), and images (with content analysis) directly from your Telegram. - **Intelligent Question Answering:** When you ask a question, the AI searches its knowledge base (Pinecone vector store) for relevant information and provides a comprehensive answer. It even considers your recent conversations for context. - **Automatic Knowledge Storage:** When you make a statement or provide information, the AI extracts key details and saves them in a Google Docs memory palace. - **Daily Self-Learning:** Every day, the workflow automatically takes all the information stored in the Google Docs, converts it into a vector representation, and adds it to its knowledge base (Pinecone vector store). This ensures the AI continuously learns and remembers everything you've shared. - **Image Understanding:** Extracts text and information from images you send. - **Audio Transcription:** Automatically transcribes your voice notes into text for processing and storage. - **Short-term Memory:** Remembers recent interactions within a session for more context-aware conversations. **Setup:** To get started, you'll need to connect the following services to your n8n instance: 1. **Telegram:** Connect your Telegram bot API credentials. A video guidance is included for Telegram integration setup. 2. **OpenAI:** Provide your OpenAI API key for audio transcription and image analysis. 3. **Pinecone:** Set up a Pinecone account and provide your API key and environment. Create a namespace in Pinecone. 4. **Google Docs:** Connect your Google account with access to Google Docs. You'll need to create a Google Doc that will serve as the daily memory palace and provide its ID in the workflow. **How to customize this workflow:** - **Adjust the AI Agent's Personality:** Modify the system prompt in the AI Agent node to tailor the AI's tone and behavior. - **Expand Knowledge Sources:** Integrate other data sources into the daily learning process, such as emails or other documents, by adding more nodes to the scheduled trigger workflow. - **Add More Tools for the AI Agent:** Integrate additional tools into the AI Agent, such as web search or other APIs, to further enhance its capabilities. - **Modify the Daily Schedule:** Adjust the schedule trigger to run at a different time or interval.
n8n$24.99
More integrations
Need a custom Telegram workflow?
Our automation experts build tailored Telegram integrations for your exact stack.
Request a Custom Workflow