π¬ AI sales agent with Telegram approvals & Google Sheets sync
β‘ 9,916 views Β· π¬ Lead Nurturing & AI Sales Agents
Description
A complete, ready-to-deploy Telegram chatbot template for food delivery businesses. This intelligent assistant handles orders, payments, customer service, and order tracking with human-in-the-loop payment verification. β¨ Key Features
π€ AI-Powered Conversations - Natural language order processing using Google Gemini
π± Telegram Integration - Seamless customer interaction via Telegram π³ Payment Verification - Screenshot-based payment confirmation with admin approval π Order Tracking - Automatic Google Sheets logging of all orders π§ Memory Management - Contextual conversation memory for better customer experience π Multi-Currency Support - Easily customizable for any currency (USD, EUR, GBP, etc.) π Location Flexible - Adaptable to any city/country π Human Oversight - Manual payment approval workflow for security
π οΈ What This Template Includes
Core Workflow
Customer Interaction - AI assistant takes orders via Telegram Order Confirmation - Summarizes order with total and payment details Information Collection - Gathers customer name, phone, and delivery address Payment Processing - Handles payment screenshots and verification Admin Approval - Human verification of payments before order confirmation Order Tracking - Automatic logging to Google Sheets with delivery estimates
Technical Components
AI Agent Node - Google Gemini-powered conversation handler Memory System - Maintains conversation context per customer Google Sheets Integration - Automatic order logging and tracking Telegram Nodes - Customer and admin communication Payment Verification - Screenshot detection and approval workflow Conditional Logic - Smart routing based on message types
π Quick Setup Guide
Prerequisites
n8n instance (cloud or self-hosted) Telegram Bot Token Google Sheets API access Google Gemini API key
Step 1: Replace Placeholders
Search and replace the following placeholders throughout the template: Business Information
[YOUR_BUSINESS_NAME] β Your restaurant/food business name [ASSISTANT_NAME] β Your botβs name (e.g., βAlexβ, βBellaβ, βChef Botβ) [YOUR_CITY] β Your city [YOUR_COUNTRY] β Your country [YOUR_ADDRESS] β Your business address [YOUR_PHONE] β Your business phone number [YOUR_EMAIL] β Your business email [YOUR_HOURS] β Your operating hours (e.g., β9AM - 11PM dailyβ)
Currency & Localization
[YOUR_CURRENCY] β Your currency name (e.g., βUSDβ, βEURβ, βGBPβ) [CURRENCY_SYMBOL] β Your currency symbol (e.g., β$β, ββ¬β, βΒ£β) [YOUR_TIMEZONE] β Your timezone (e.g., βESTβ, βPSTβ, βGMTβ) [PREFIX] β Order ID prefix (e.g., βFBβ for βFood Businessβ)
Menu Items (Customize Completely)
[CATEGORY_1] β Food category (e.g., βBurgersβ, βPizzaβ, βSandwichesβ) [ITEM_1] through [ITEM_8] β Your menu items [PRICE_1] through [DELIVERY_FEE] β Your prices Add or remove categories and items as needed
Payment & Support
[YOUR_PAYMENT_DETAILS] β Your payment information [YOUR_PAYMENT_PROVIDER] β Your payment method (e.g., βVenmoβ, βPayPalβ, βBank Transferβ) [YOUR_SUPPORT_HANDLE] β Your Telegram support username
Step 2: Configure Credentials
Telegram Bot - Add your bot token to Telegram credentials Google Sheets - Connect your Google account and create/select your orders spreadsheet Google Gemini - Add your Gemini API key Sheet ID - Replace [YOUR_GOOGLE_SHEET_ID] with your actual Google Sheet ID
Step 3: Customize Menu
Update the menu section in the AI Agent system message with your actual:
Food categories Item names and prices Delivery fees Any special offerings or combos
Step 4: Test & Deploy
Import the template into your n8n instance Test the conversation flow with a test Telegram account Verify Google Sheets logging works correctly Test the payment approval workflow Activate the workflow
π° Currency Examples USD Version π MENU & PRICES (USD) Burgers
- Classic Burger β $12.99
- Cheese Burger β $14.99
- Deluxe Burger β $18.99
Delivery Fee β $3.99 EUR Version π MENU & PRICES (EUR) Burgers
- Classic Burger β β¬11.50
- Cheese Burger β β¬13.50
- Deluxe Burger β β¬17.50
Delivery Fee β β¬3.50 π Google Sheets Structure The template automatically logs orders with these columns:
Order ID Customer Name Chat ID Phone Number Delivery Address Order Info Total Price Payment Status Order Status Timestamp
π§ Customization Options Easy Customizations
Menu Items - Add/remove/modify any food items Pricing - Update to your local pricing structure Currency - Change to any currency worldwide Business Hours - Modify operating hours Delivery Areas - Add location restrictions Payment Methods - Update payment information# Header 1
π Nodes Used
Telegram, Telegram Trigger, AI Agent, Simple Memory, Google Gemini Chat Model, Text Classifier
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File