🀝 Sell products in Telegram with Paystack and Google Sheets

⚑ 235 views · 🀝 CRM & Sales Operations

Description

πŸš€ 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 Telegram, utilizing Paystack 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

πŸ›  Prerequisites

To run this template, you will need the following accounts:

  1. Telegram: A free Telegram Bot Token (obtained via BotFather).
  2. Paystack: A Paystack account to receive payments (you will need your Secret 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

  1. 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.
  2. Products Tab Headers: id, name, price, type (physical/digital), stock, description, file_url (optional, for digital goods).
  3. Orders Tab Headers: order_id, reference, user_id, email, address, items_json, total, status, payment_link, tracking, created_at.
  4. 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.

2. n8n Node Configuration

  1. Import this template into your n8n workspace.
  2. Update the Google Sheets credentials and replace the Document ID in all sheet nodes with your specific spreadsheet ID.
  3. Add your Telegram Bot Token via n8n’s credential manager to activate the Telegram Trigger and messaging nodes.
  4. Locate the nodes containing the YOUR_PAYSTACK_SECRET_KEY placeholder (e.g., Paystack Init Transaction) and insert your actual Paystack Secret Key.

3. Webhook Activation

  1. Double-click the Paystack Webhook node.
  2. Copy the β€œProduction URL” provided by n8n.
  3. Log into your Paystack Dashboard, navigate to Settings > Webhooks, and paste the URL. This ensures your bot receives real-time payment confirmations.

πŸ’‘ Use Cases

πŸ”— Apps Integrated

You can also test the workflow live on Telegram: @sellvia_paystack_bot or https://t.me/sellvia_paystack_bot)

πŸ‘‹ Need help or want to customize this workflow?

πŸ“Ί Contact: Fiverr πŸ“© Consultation: Book Appointment

πŸ”— Nodes Used

Google Sheets, HTTP Request, Webhook, Telegram, Telegram Trigger

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

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