Sell products in Telegram with Paystack and Google Sheets
Ready for 3.0What this workflow does
This workflow has 98 nodes and runs on Telegram events (message, callback query) (plus 1 other trigger). Along the way it connects Telegram and Google Sheets. It also calls api.telegram.org and api.paystack.co over HTTP.
How it runs
Trigger: On Telegram events (message, callback query) (plus 1 other trigger).
- 🔄 Extract Telegram Data (Code): runs custom JavaScript code
- 🔐 Verify Paystack Signature (Code): runs custom JavaScript code
- 📋 Get User Session (Google Sheets): uses Google Sheets
- ✅ Valid Charge Event? (If): checks a condition and branches into true / false
- ✅ Session Exists? (If): checks a condition and branches into true / false
- 📋 Find Order by Reference (Google Sheets): uses Google Sheets
- Merge: merges the data from its input branches
- 🆕 Create New Session (Google Sheets): append
- ✅ Update Order Status: Paid (Google Sheets): update
- 🗺️ Route by Session State (Switch): routes items into 6 branches
…plus 86 more steps. See the full node list below.
Services it uses
HTTP calls to: api.telegram.org, api.paystack.co
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (9)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Merge
n8n-nodes-base.merge - Switch
n8n-nodes-base.switch - Telegram
n8n-nodes-base.telegram - HTTP Request
n8n-nodes-base.httpRequest
From the author
🚀 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…