πŸ’¬ 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

Delivery Fee – $3.99 EUR Version πŸ” MENU & PRICES (EUR) Burgers

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

πŸ“– Importing guide Β· πŸ”‘ Credential setup