Sell products in Telegram with Flutterwave and Google Sheets
Transform your Telegram channel or group into a fully functional, automated e-commerce storefront. This n8n workflow template allows you to sell both physical and digital products directly within Telegram, utilizing Flutterwave for secure checkout and Google Sheets as a lightweight, free database for inventory and order management.
Say goodbye to complex website builders and monthly subscription fees. With this serverless setup, you can launch a store in minutes and manage everything from a simple spreadsheet. β¨ Key Features
π Interactive Shopping Cart: Users can browse products, select quantities, and manage their cart entirely through seamless Telegram inline buttons. π³ Secure Payments: Direct integration with the Flutterwave API generates unique, secure checkout links for every order. π¦ Smart Fulfillment: Automatically detects if an order is digital or physical. Digital goods (e.g., PDFs, E-books via Google Drive) are delivered instantly upon payment confirmation. Physical orders are marked as βPaidβ and queued for shipping. π Free Database (Google Sheets): No SQL required! Manage your product catalog, track active user sessions, and view order history entirely within Google Sheets. π Order Tracking System: Customers can use the /orders command or search by their unique ORD- ID to view their purchase history, resume pending payments, or track shipped items. βοΈ Built-in Validation: Includes robust data validation for email addresses (catching common typos like .con) and physical delivery addresses.
π Prerequisites
To run this template, you will need the following accounts:
Telegram: A free Telegram Bot Token (obtained via BotFather).
Flutterwave: A Flutterwave account to receive payments (you will need your Secret Key and hash/Encryption Key).
Google Workspace: A Google account to host the Google Sheets database and Google Drive (if selling digital files).
π Setup Instructions Database Setup
Create a new Google Sheet (Template; https://docs.google.com/spreadsheets/d/1x58FYmsdo2K2dKNm81LgCSrGvHwhenkJTtjDIxc8-2w/edit?gid=187299608#gid=187299608 with three tabs: Products, Orders, and Session.
Products Tab Headers: id, name, price, type (physical/digital), stock, description, file_url (optional, for digital goods).
Orders Tab Headers: order_id, reference, user_id, email, address, items_json, total, status, payment_link, tracking, created_at.
Session Tab Headers: user_id, chat_id, state, cart_json, selected_product_id, selected_product_name, selected_product_price, selected_product_type, input_quantity, input_email, input_address.
n8n Node Configuration
Import this template into your n8n workspace. Update the Google Sheets credentials and replace the Document ID in all sheet nodes with your specific spreadsheet ID. Add your Telegram Bot Token via n8nβs credential manager to activate the Telegram Trigger and messaging nodes. Locate the nodes containing the YOUR_FLUTTERWAVE_SECRET_KEY placeholder (e.g., Flutterwave Init Transaction) and insert your actual Flutterwave Secret Key.
Webhook Activation
Double-click the Flutterwave Webhook node.
Copy the βProduction URLβ provided by n8n.
Log into your Flutterwave Dashboard, navigate to Settings > Webhooks, and paste the URL. This ensures your bot receives real-time payment confirmations.
π‘ Use Cases
Digital Creators: Sell e-books, courses, templates, or software directly to your Telegram audience with instant file delivery. Local Businesses: Automate orders for physical goods, food delivery, or merchandise without needing a dedicated website. Dropshipping: Seamlessly collect orders and addresses before forwarding them to suppliers.
π Apps Integrated
Telegram Flutterwave Google Sheets Google Drive (Optional)
You can also test the workflow live on Telegram: @flutterwave_sell_bot or http://t.me/flutterwave_sell_bot) π Need help or want to customize this workflow?
πΊ Contact: Fiverr π© Consultation: Book Apoointment
Related Templates
Track Demo Bookings with Google Calendar to Meta Conversions API Integration
Who is this workflow for? If you're using Meta Ads to generate new leads to your sales pipeline, this workflow is for yo...
Transcribe & Summarize Audio with Whisper and GPT, from Google Drive to Notion
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Overview This work...
Build a PDF-Based RAG System with OpenAI, Pinecone and Cohere Reranking
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. This workflow prov...
π Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments