AutomationMart
Home/Browse/AI-powered Telegram & WhatsApp business agent workflow
n8n

AI-powered Telegram & WhatsApp business agent workflow

n8nn8n15 modulesv1.0
SlackGoogle SheetsWhatsAppOpenAITelegram

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Deliver seamless, AI-driven customer support on Telegram and WhatsApp—powered by GPT-4 Turbo and n8n. --- 🌟 Key Features - Unified Messaging: Receive and normalize messages from both Telegram (via Bot Trigger) and WhatsApp (via Webhook). - Contextual AI Responses: Build customer context from Google Sheets, then craft personalized replies with GPT-4 Turbo. - Smart Routin

At a glance

AI-powered Telegram & WhatsApp business agent workflow is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Slack, Google Sheets, WhatsApp, OpenAI. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Slack, Google Sheets, WhatsApp, OpenAI, Telegram
Modules
15
Price
Free
Version
v1.0
AI-powered Telegram & WhatsApp business agent workflow workflow diagram

About this workflow

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Deliver seamless, AI-driven customer support on Telegram and WhatsApp—powered by GPT-4 Turbo and n8n. --- 🌟 Key Features - Unified Messaging: Receive and normalize messages from both Telegram (via Bot Trigger) and WhatsApp (via Webhook). - Contextual AI Responses: Build customer context from Google Sheets, then craft personalized replies with GPT-4 Turbo. - Smart Routing: Automatically detect platform and send replies with platform-appropriate formatting (HTML for Telegram, plain for WhatsApp). - Intent Detection & Escalation: Flag orders, appointments or complex queries and trigger Slack notifications for human handoff. - Comprehensive Logging: Append every interaction to a “conversations” sheet and upsert customer profiles in a “customers” sheet. 📋 Prerequisites 1. n8n instance (self-hosted or n8n Cloud) 2. Credentials: - OpenAI API key - Telegram Bot Token - WhatsApp Business API credentials (WHATSAPPPHONEID) - Google Sheets service-account credentials - Slack Incoming Webhook URL 3. Google Sheets Setup: - customers sheet with columns: userid, username, previousOrders, lastInteraction, preferences, conversationHistory - conversations sheet with columns: userid, username, platform, message, airesponse, timestamp, needsescalation, isorder, isappointment 🚀 Setup & Usage 1. Import the provided JSON into your n8n editor. 2. Configure each node’s credentials in n8n’s Credentials panel. 3. Set the following Workflow Variables: - GOOGLESHEETID - WHATSAPPPHONEID 4. Activate the Telegram Bot Trigger and WhatsApp Webhook nodes. 5. Test by messaging your bot on Telegram and WhatsApp. 🔍 How It Works 1. Trigger: Listens for new Telegram updates or WhatsApp webhook calls. 2. Normalize Message: Standardizes payload into { userid, username, messagetext, platform, chatid, timestamp }. 3. Get Customer Data: Reads from “customers” sheet to fetch past history and order count. 4. Build AI Context: Merges incoming message with customer info and history. 5. AI Assistant: Sends context to GPT-4 Turbo (temperature 0.8, maxTokens 800). 6. Process Response: Cleans formatting, identifies intents (order, appointment), and sets escalation flags. 7. Platform Router: Routes reply to the appropriate “Send Telegram” or “Send WhatsApp” node. 8. Log Conversation: Appends each message and response to the “conversations” sheet. 9. Update Customer: Increments previousOrders, updates last interaction timestamp, and saves a snippet of the latest message. 10. Escalation: If flagged, posts a formatted alert to your Slack channel for immediate attention. --- Empower your business with 24/7 AI-powered support—save time, increase conversions, and ensure no customer inquiry goes unanswered.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Trigger new articles and create documents in Google Docs with OpenAI GPT-3

Automatically generate Google Docs for new articles using ChatGPT. Triggered by RSS feeds, this workflow streamlines content creation and documentation.

Free

Shorten an RSS link with YOURLS and send it to Telegram

Use this template to automatically shorten a new RSS feed item link with YOURLS and post it as a Telegram message.

Free

Create social media posts on Facebook from Google Sheets data using Perplexity AI and ChatGPT

Automatically generate engaging Facebook posts from Google Sheets data using AI chat completions. Streamline your social media content creation with Google Sheets, Perplexity AI, ChatGPT, and Facebook Pages.

Free

Generate images and chat completions using Perplexity AI, ChatGPT and Google Sheets data

Use this template to generate engaging images and chat completions using Perplexity AI and ChatGPT, triggered by new data in Google Sheets and then updating the sheet, enhancing your content creation process.

Free

Add a new row into a Google Sheets spreadsheet from a new feature in ArcGIS Field Maps

Every time a new feature is created in ArcGIS Field Maps, a new row will be created in a Google Sheets spreadsheet. Note that the template works with a sample Debris map described in [this article.](https://www.esri.com/arcgis-blog/products/field-maps/field-mobility/automate-email-notifications-for-field-updates/) The template is using [this sample](https://docs.google.com/spreadsheets/d/1TjvGslZxiwp1W4aOyWTa3pZhO-_n9b-qfic2S4xVDzo/edit?usp=sharing) Google Sheets spreadsheet as the destination

Free

Summarize website content and create LinkedIn posts with ChatGPT and Browse AI

Use ChatGPT and Browse AI to condense web content from monitored sites into easy-to-digest LinkedIn posts that are automatically posted. Enhance your LinkedIn presence effortlessly and achieve maximum impact with minimal effort.

Free

Auto Generate Descriptive Node Names with AI for Workflow Readability

Auto Rename n8n Workflow Nodes with AI✨ This workflow uses AI to automatically generate clear and descriptive names for every node in your n8n workflows. It analyzes each node's type, parameters, and connections to create meaningful names, making your workflows instantly readable. Who is it for? This workflow is for n8n users who manage complex workflows with dozens of nodes. If you've ever: - Built workflows full of generic names like HTTP Request 2 or Edit Fields 1 - Struggled to

Free

Identify creators in Salesforce loyalty contacts with Influencers Club, GPT-4o-mini and SendGrid

How it works: Get multi social platform data for loyalty program customers with their email and send personalized creator, partner and ambassador outreach. Step by step workflow to enrich loyalty program emails with multi social (Instagram, Tiktok, Youtube, Twitter, Onlyfans, Twitch and more) profiles, analytics and metrics using the influencers.club API and adding them to an email workflow via SendGrid. Set up: Salesforce (can be swapped for any CRM or loyalty programme software) Influencers.cl

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free