Skip to main content

Sell products in Telegram with Flutterwave and Google Sheets

Workflow preview

Workflow preview
100%
Sell products in Telegram with Flutterwave and Google Sheets preview
Open on n8n.io

1. Workflow Overview

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 T...

Best for

  • CRM automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, n8n-nodes-base.webhook, n8n-nodes-base.code, n8n-nodes-base.googlesheets, n8n-nodes-base.if, n8n-nodes-base.merge, n8n-nodes-base.switch, n8n-nodes-base.telegram

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Afigo Sam.

Original n8n.io source

1.1 Workflow description

Title
Sell products in Telegram with Flutterwave and Google Sheets
Workflow name
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:

  1. Telegram: A free Telegram Bot Token (obtained via BotFather).
  2. Flutterwave: A Flutterwave account to receive payments (you will need your Secret Key and hash/Encryption Key).
  3. Google Workspace: A Google account to host the Google Sheets database and Google Drive (if selling digital files).

πŸ“ Setup Instructions

  1. 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.
  1. 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.
  1. 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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - πŸ“± Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.1

Block 2 - πŸ’³ Flutterwave Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 3 - πŸ”„ Extract Telegram Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - πŸ“‹ Get User Session

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.4

Block 5 - βœ… Session Exists?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 6 - πŸ†• Create New Session

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.4

Block 7 - πŸ”— Merge Session Paths

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3

Block 8 - πŸ—ΊοΈ Route by Session State

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3

Block 9 - πŸ’¬ Route by Update Type

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3

Block 10 - πŸ‘‹ Send Welcome Menu

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 11 - πŸ›οΈ Fetch All Products

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.4

Block 12 - πŸ“ Format Products List

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 13 - πŸ“€ Send Products List

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 14 - πŸ”€ Route Callback Data

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3

Block 15 - πŸ“¦ Get Product Detail

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.4

Block 16 - πŸ“Š Product In Stock?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 17 - πŸ’Ύ Set State: Selecting Qty

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.4

Block 18 - ❓ Ask Quantity

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 19 - ❌ Out of Stock Message

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 20 - πŸ”’ Validate Quantity Input

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 21 - βœ… Quantity Valid?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 22 - πŸ“Š Check Stock for Qty

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.4

Block 23 - βœ… Enough Stock?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 24 - πŸ›’ Add Item to Cart

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Showing the first 24 of 112 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Sell products in Telegram with Flutterwave and Google Sheets
Complexity advanced
Nodes 112
Categories CRM, AI Chatbot
Author Afigo Sam
Published 04 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15470/15470.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Sell products in Telegram with Flutterwave and Google Sheets do?

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 T...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your CRM, AI Chatbot use case.