{"product_id":"ai-telegram-shopping-assistant-n8n-paystack-google-sheets","title":"AI Telegram Shopping Assistant (n8n) + Paystack + Google Sheets","description":"\u003ch3\u003eTurn Telegram shopping into a fully automated checkout flow (AI + Paystack + Google Sheets)\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003eAI Telegram Shopping Assistant\u003c\/strong\u003e for \u003cstrong\u003en8n\u003c\/strong\u003e lets customers shop via your Telegram bot, builds a cart in \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e, generates \u003cstrong\u003ePaystack\u003c\/strong\u003e payment links, verifies Paystack webhooks with HMAC-SHA512, and confirms successful orders back to Telegram—end to end.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives customer messages\u003c\/strong\u003e from your Telegram bot (Telegram Trigger).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLoads user context\u003c\/strong\u003e by extracting chat\/user details and retrieving the customer record from the n8n Data Table (\u003ccode\u003eecom_users\u003c\/code\u003e).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUses AWS Bedrock AI\u003c\/strong\u003e (with chat model + memory) to understand the conversation and drive shopping decisions.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBrowses and manages a catalog\/cart in Google Sheets\u003c\/strong\u003e via an AI agent that can locate products and update cart rows.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGenerates Paystack checkout links\u003c\/strong\u003e using the Paystack Transaction Initialize API when checkout details are ready.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReturns AI responses to Telegram\u003c\/strong\u003e so customers see product choices, cart updates, and the payment link.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHandles Paystack webhooks securely\u003c\/strong\u003e: normalizes the payload, validates authenticity by computing an \u003cstrong\u003eHMAC-SHA512\u003c\/strong\u003e hash, and compares it to the \u003cstrong\u003ex-paystack-signature\u003c\/strong\u003e header.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMarks orders as paid\u003c\/strong\u003e by verifying the transaction with Paystack, updating the \u003cstrong\u003eOrders\u003c\/strong\u003e sheet, clearing the matched cart rows, and sending a single payment confirmation message in Telegram.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eLaunch a \u003cstrong\u003eTelegram-based storefront\u003c\/strong\u003e without building a full web app.\u003c\/li\u003e\n  \u003cli\u003eAutomate \u003cstrong\u003ecart + checkout\u003c\/strong\u003e using \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e as your product source of truth.\u003c\/li\u003e\n  \u003cli\u003eFor SaaS operators: streamline \u003cstrong\u003eorder lifecycle automation\u003c\/strong\u003e with secure Paystack webhook verification.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e Telegram Bot API, \u003cstrong\u003eAWS Bedrock\u003c\/strong\u003e, Google Sheets, Paystack\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNode types mentioned:\u003c\/strong\u003e \u003ccode\u003eif\u003c\/code\u003e, \u003ccode\u003eset\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003ccode\u003eno op\u003c\/code\u003e, \u003ccode\u003ecrypto\u003c\/code\u003e, \u003ccode\u003ewebhook\u003c\/code\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSecurity:\u003c\/strong\u003e webhook authenticity validation using \u003cstrong\u003eHMAC-SHA512\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003e\u003cstrong\u003eSetup:\u003c\/strong\u003e Add Telegram Bot credentials, configure your bot webhook so the Telegram Trigger can receive messages, then connect AWS Bedrock, Google Sheets, and Paystack so the workflow can initialize payments and process webhook confirmations.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45931005903027,"sku":"N8N-18987","price":64.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/s1hR1omoXs4YDpskFb_DO_6RqkNznJ.png?v=1788253442","url":"https:\/\/buyflowscripts.com\/products\/ai-telegram-shopping-assistant-n8n-paystack-google-sheets","provider":"N8N Commerce","version":"1.0","type":"link"}